File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use one resource bundle in another bundle?

 
gopal kishan
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I have a my module resource bundle and common application resource bundle,

i want to use application resource bundle in my module resource bundle.

i dont want to copy those contents from application resource bundle.

so how can i use application resource bundle in my module resource bundle.

is there is any way that i can import ???

please let me know

thanks
Kishan
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link explains how to define more than one resource bundle within a single module. There's no reason you can't define a common resource bundle in each of your modules along with one unique to that module.

There's one problem, though: You can only define one default resource bundle, and only the default resource bundle can be used for validation and error messages.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic