Click to See Complete Forum and Search --> : jsf and loadbundle


jrthor2
10-21-2004, 11:51 AM
I have a login page that I am trying to load a resource bundle in. Here is my code:



<f:loadBundle basename="us.xxx.jsf_app.resources.ApplicationResources" var="jsfloginBundle"/>


I have a directory in my JavaSources folder called us.xxx.jsf_app.resources with 3 ApplicationResource.properties files (for internationalization). these files are:

ApplicationResources.properties
ApplicationResources_es.propeties
ApplicationResources_es_mx.properties

I get an error when the page loads that says:

Can't find bundle for base name us.xxx.jsf.app.resources.ApplicationResources, locale en_US

Any suggestions on how to fix this?

Thanks!!

jrthor2
10-21-2004, 03:57 PM
got this working