Does anyone have any experience with how to handle the following problem? My application has multiple user roles, all of which see the same screen with the same fields but depending on what role the user comes in with, the labels on the fields may differ. I'd like to use an approach similar to i18n (constants class backed by various property files) where in my use case the role is synonomous with a locale. Note that all labels are assigned in UiBinder ui.xml files so the goal is something like:
<ui:with field="const" type="com.sample.client.LabelConstants" /> Where the above declaration should use "LabelConstants_registered.properties" or "LabelConstants_anonymous.properties" similarly to how i18n would use "LabelConstants_en.properties" or "LabelConstants_fr.properties" depending on the locale. Any ideas or experiences? Thanks in advance. -- 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.
