Hi all,
I need to create an Editor for an object. This object contains an attribute
List<Stakeholder> canBeUsedBy. I have the method getCanBeUsedBywhich return the list.
In my Editor java side,I set:
@UIField
MaterialListValueBox<List<Stakeholder>> canBeUsedBy;
in my Editor UIBinder side:
<m:MaterialListValueBox ui:field="
canBeUsedBy
" placeholder="
canBeUsedBy
" />
How can I do to have the String value in the list, because the Stakeholder class just have a method returning a String ans it's that string that I want in my list: The method is getName().
Thanks for your help.
Antonio