Pb with MaterialListValueBox

瀏覽次數:24 次
跳到第一則未讀訊息

Guillen Antonio

未讀,
2021年10月26日 下午1:14:362021/10/26
收件者: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:
@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



回覆所有人
回覆作者
轉寄
0 則新訊息