This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes  message-resources null attribute of STRUTS in JSF config file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark " message-resources null attribute of STRUTS in JSF config file " Watch " message-resources null attribute of STRUTS in JSF config file " New topic
Author

message-resources null attribute of STRUTS in JSF config file

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: message-resources null attribute of STRUTS in JSF config file
 
Similar Threads
aboout struts-config and properties file in struts application
Message Resourses Error
If the key is not found in the resource bundle in jsf ?
Issues adding i18n Chinese support to existing Struts based code
struts error