Can I use enum values as field values inside UiBinder template ? I'm using GWT 2.4
Something like this
<ui:with field="en" type="com.mine.courierApp.shared.PayerType" />
looks promising, where
public enum PayerType
{
Sender,
Recipient
}
but I can't refer to values of the enum by en.Sender
.
Is it even possible ?
ERROR: Returns class com.mine.courierApp.shared.PayerType, can't be used as class java.lang.String
– Lien