• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
roby george
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic