Hi,
Sorry about the confusion. what I meant was if we can swap one resource bundle with another and this seems to be possible with <f:loadBundle>.
I don't think so, but there is a way to create customize load bundle tag. And I should mention one more thing. ResourceBundle caches when it is loaded, so dynamically change may not work. Solution is you need to create bundle class like ResourceBundle. 2006/9/28, a k <[EMAIL PROTECTED]>:
Sorry about the confusion. what I meant was if we can swap one resource bundle with another and this seems to be possible with <f:loadBundle>. Another question: Is there a way to load property files that are heirarchical in nature? For example, I have a base.properties and custom.properties. When I load base.properties I need only the properties from that file. When I load custom.properties, I need the properties from base.properties and also properties from custom.properties and the if there is a common property the one from custom overrides the one from the base. Thanks a lot for your help! On 9/27/06, Gerald Müllan <[EMAIL PROTECTED]> wrote: > Hi, > > resource bundles are normally loaded during tomcat startup - which > should be changed in future versions. So I am not convinced if > dynamically loading is possible at all. > > What only comes to my mind is that you can try giving the basename a > binding to the model, but I am more or less sure, that this will not > work. > > cheers, > > Gerald > > On 9/27/06, a k <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I am wondering if there are any tags available in MyFaces so that I could > > dynamically load a resource bundle. > > I cannot use rtexpressions for basename in the <f:loadBundle> tag. > > > > Any help/ideas/work arounds would be greatly appreciated. > > > > Thanks! > > > > > -- > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces >
-- ============================= Shinpei Ohtani [EMAIL PROTECTED] =============================

