This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic