facebook

[Closed]JSFLogin demo and message bundle

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #254675 Reply

    irosteng
    Member

    I have just worked my way through the JSFLogin demo
    When I run it in the browser, the labels and the button text are not
    replaced by the values in the MessageBundle.properties file.
    The bundle.<keynames> are displayed just as they appear in the .jsp
    source. The MessageBundle.properties file is deployed on the server
    (WEB-INF/classes/com/jsfdemo/MessagBundle.properties)
    Apart from this, the demo seems to work fine.

    I am using eclipse3.2/myeclipse5.0M2/tomcat 5.5.17/WinXPSP2

    #254687

    Greg
    Member

    Is the file called MessagBundle.properties or what that just a typo in the forum?

    Your environment looks fine. If you want, you can download the JSFLoginDemo from the documentation and load that project into MyEclipse and compare with yours to see what the difference may be.

    #254697

    irosteng
    Member

    Found the bug. There were some missing #{}’s
    If I also add a <h:message/> at the end of the form,
    the validation messages are displayed. I think this
    was mentioned in another topic.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed]JSFLogin demo and message bundle

You must be logged in to post in the forum log in