Re: URL Parameters get lost when switching to new jsf Page

Splash Forums PrettyFaces Users URL Parameters get lost when switching to new jsf Page Re: URL Parameters get lost when switching to new jsf Page

#20175

jens-it
Participant

The following code works as espected but points to the same jsf page as the link is placed on:

<h:commandLink action="pretty:startPage" value="Go home">
<f:param name="param1" value="#{testBean.param1}" />
</h:commandLink>

<url-mapping id="startPage">
<pattern value="/start" />
<query-param name="param1">#{testBean2.result}</query-param>
<view-id>/mainPage.jsf</view-id>
</url-mapping>

The link is located on the page mainPage.jsf.

JSF-Version: 1.2 (Mojarra)

PrettyFaces: 3.1.0