Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Dynamic support for multiple resource bundle

 
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
 
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic