aspose file tools*
The moose likes JSF and the fly likes If the key is not found in the resource bundle in jsf ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "If the key is not found in the resource bundle in jsf ?" Watch "If the key is not found in the resource bundle in jsf ?" New topic
Author

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

roby george
Ranch Hand

Joined: Sep 08, 2010
Posts: 31
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

Thanks in advace
 
Consider Paul's rocket mass heater.
 
subject: If the key is not found in the resource bundle in jsf ?