www.webdeveloper.com
Results 1 to 2 of 2

Thread: jsf and loadbundle

  1. #1
    Join Date
    Jan 2003
    Location
    PA
    Posts
    1,898

    jsf and loadbundle

    I have a login page that I am trying to load a resource bundle in. Here is my code:


    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!!

  2. #2
    Join Date
    Jan 2003
    Location
    PA
    Posts
    1,898
    got this working

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles