• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamic support for multiple resource bundle

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic