• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic support for multiple resource bundle  RSS feed

amitesh kumar
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

In my application there is a requirement wherein same instance of deployed application can be accessed by multiple users having different roles. For each role there can be sub-roles as well. But for each role the look & feel and the filed labels may differ. To support this we planned to have multiple resource bundles, one per role and each resource bundle will have same keys but there values may differ as per the role. As far server-side action messages & field labels are concerned, I have no problem. But for the validation keys there is an issue. The system picks up the validation keys from the default resource bundle.

I'm using Xdoclet for generating validation.xml. I tried bundle attribute but later observed that this way any field is bound to a single resource bundle. system demands resource bundle selection as per the role.

It is very urgent. We are running out of time. Please suggest some feasible solution to this problem. We can even change our approach to incorporate the desired feature.

Any help would be highly appreciated.

~ Amitesh
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!