Wednesday, September 24, 2014

Re: only type string and int properties can been inserted to the class?

On Wednesday, September 24, 2014 9:31:36 AM UTC+2, wahaha wrote:
Enum values?
how to pass a enum value from a ui.xml file?

IIRC, by name: enumProperty="ENUM_VALUE".
If that doesn't work, <ui:import> the enum value(s) and then use an expression:
<ui:import field="com.example.myapp.client.MyEnum.ENUM_VALUE"/> <!-- or MyEnum.* -->

On Sunday, September 14, 2014 2:02:38 AM UTC+8, Jens wrote:
I am not entirely sure but I think UiBinder only allows String, int, boolean and Enum values as method/constructor parameters.

-- J.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment