Prettyfaces seems to break f:viewparam in GF 3.1

Splash Forums PrettyFaces Users Prettyfaces seems to break f:viewparam in GF 3.1

This topic contains 3 replies, has 2 voices, and was last updated by  Christian Kaltepoth 7 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #17880



    my company is developing a JEE webapp which runs on Glassfish 3.0.1 with PrettyFaces 3.2.0 just fine.

    After a testdeployment in GF 3.1 (b43) the


    <f:viewParam id=”someId” name=”someName” value=”#{aBean.someName}”/>


    stopped working in every single xhtml meaning that values which a transmitted via


    are not injected into aBean.someName.

    Then I removed






    from the corresponding pom and the value of viewParam ‘someName’ is injected into aBean as it should be. So it seems to be that the very existence of the pretty faces libs in my war-file prevents params to be injected in my beans.

    Again, everything works as supposed to be in Glassfish 3.0.1.

    Is there any Issue known for PF 3.2.0 in Glassfish 3.1 which causes the f:viewParam to stop working?

    Thanks for your help,



    Hey Sebastian,

    thank you for reporting this. The only known issue with PrettyFaces 3.2.0 in Glassfish 3.1 is a NullPointerException caused by Mojarra 2.1.0. See this thread of details:

    Could you perhaps open a ticket for this in the PrettyFaces issue tracker? It would be great if you could also attach a minimal webapp reproducing the issue. This way we could debug this much faster.

    Thank you.




    Hi Christian,

    thank you for your reply. I issued a report

    and attached a minimal project to reproduce this behavior.

    Just remove the pf-lib from pom the return to the expected and correct behavior.




    Hey Sebastian,

    thank you very much. I’ll have a look at this as soon as possible.


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

You must be logged in to reply to this topic.

Comments are closed.