Components not rendering when url mapped

Splash Forums PrettyFaces Users Components not rendering when url mapped

This topic contains 2 replies, has 2 voices, and was last updated by  Kronen 4 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #27596


    I was trying an example with PrettyFaces, the steps I took were:

    – Added libraries to my project:

    – I added pretty-config.xml with a pattern binding to userPage.username and viewId of /user/user-view.xhtml:

    – I added UserPage bean with setter and getters for username

    But then user-view.xhtml doesn’t render jsf components, prettyfaces mapped the url to the template but the response is just literally the content of user-view.xhtml, I can’t output userPage.username
    Looks like prettyfaces doesn’t forwards the parameter (?)

    What am I doing wrong?

    • This topic was modified 4 years, 9 months ago by  Kronen.

    How did you map your FacesServlet? Maybe you have to create the mapping for /user/user-view.jsf or /faces /user/user-view.xhtml instead.

    Also, please update to 3.4.1 which has been released just after 3.4.0 to address a packaging issue with the JARs.



    That was it!, I forgot to map to the FacesServlet /faces/user/user-view.xhtml, my bad.
    Thank you very much!

    And I’ll update to 3.4.1.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.