Hi all
I want to build a system with I18N where the texts in key/value pairs
wich I want to load from a webservice and cached in the server part of
GWT. I have done this before in JSF applications with hashmaps and now
I'm about to implement it in GWT. Which I18N construct would be best
to use for this purpose? I have looked at the Dictionary, but I'm not
sure if it would be the best option. The Dictionary can be created
like this:
Dictionary theme = Dictionary.getDictionary("CurrentTheme");
the getDictionary method takes a String as input, I'm thinking to
return a String representation of a hashmap from the server part of
GWT and create the Dictionary with it. I will have an admin interface
where admins can manually refresh cache and set cache timeouts.
Thoughts/comments on this?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.