David Qain wrote:

Hello,

Before the Required="true" validation is added to the
input component, the jsf page is rendered correctly
without error.

After the Required="true" validation is added to the
input component, the jsf page throw the resource
bundle missing exception as following:

exception

javax.servlet.ServletException: Can't find bundle for
base name com.test.Message.properties, locale en_US


David,

I suppose you just have to change the basename to com.test.Message, the .properties extension is not part of the basename.

Oliver

javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
com.epcera.config.common.SecurityFilter.doFilter(SecurityFilter.java:100)
org.springframework.web.jsf.RequestHandledFilter.doFilter(RequestHandledFilter.
java:116)


root cause


java.util.MissingResourceException: Can't find bundle
for base name com.test.Message.properties, locale
en_US
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
java.util.ResourceBundle.getBundle(ResourceBundle.java:661)

Please help. Thanks !

David




__________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com







--
Oliver Rossmueller
Software Engineer and IT-Consultant
Hamburg, Germany
http://www.rossmueller.com



Reply via email to