Pb with MaterialListValueBox

Skip to first unread message

Guillen Antonio

Oct 26, 2021, 1:14:36 PM10/26/21
to google-we...@googlegroups.com
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:
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.


Reply all
Reply to author
0 new messages