Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

If the key is not found in the resource bundle in jsf ?

822526Feb 23 2011 — edited Feb 23 2011
Hello all,

I m new to JSF, i worked in struts. In struts when we declare resource bundle in struts config file like bellow
" <message-resources
key="LoginMsg"
null="false"
parameter="com.mycompany.struts.LoginMsgResources" />"

Here we have attribute "null" which is used when we try to get some key which is not available in property file so it return that key, in this case we are not getting any type of exception.

I want same thing in JSF, can anybody tell me how can i do this in JSF framework

Thanx in advace
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2011
Added on Feb 23 2011
4 comments
491 views