Hi
Is it possible to use ui:msg with a Dictionary or a custom HashMap in GWT? If so how?
Thanks A
Hi
Is it possible to use ui:msg with a Dictionary or a custom HashMap in GWT? If so how?
Thanks A
Dont know if that is possible, but what you can do is using POJO's.
like:
<ui:with type="org.mypackage.MyMessages"
field="messages" />
<g:Label text="{messages.hello}" />
Where MyMessages is a class containing a method getHello() which returns a string. So you will be wrapping the dictionary inside the class MyMessages