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 6 years, 7 months ago.

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

    xberg_fk
    Participant

    Hi,

    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:metadata>

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

    </f:metadata>

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

    somePage.jsf?someName=bar

    are not injected into aBean.someName.

    Then I removed

    <dependency>

    <groupId>com.ocpsoft</groupId>

    <artifactId>prettyfaces-jsf2</artifactId>

    <version>3.2.0</version>

    </dependency>

    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,

    Sebastian

    #20748

    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:

    http://ocpsoft.com/support/topic/null-pointer-exception

    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.

    Christian

    #20749

    xberg_fk
    Participant

    Hi Christian,

    thank you for your reply. I issued a report http://code.google.com/p/prettyfaces/issues/detail?id=92

    and attached a minimal project to reproduce this behavior.

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

    Cheers

    Sebastian

    #20750

    Hey Sebastian,

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

    Christian

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

You must be logged in to reply to this topic.

Comments are closed.