I modified the numberGuess sample to simulate the senario of a wizard, that is, click a button to display a new page, but the there is no conversationId parameter displayed in the new page's url.
I add a button in the numberGuess form:
<h:commandButton type="submit" value="Interval" action="interval" />
when I click the Interval button, I am confused that:
(1)No concerrsationId is displayed in the url. I wonder if the conversation is still active.
(2)I expect the url of the new page to be:
http://localhost:8080/seam-numberguess/interval.seam?conversationId=2
but it is not. The url displayed is:
http://localhost:8080/seam-numberguess/numberGuess.seam
The application seems work well.
When I click the guess button, the displayed url is
http://localhost:8080/seam-numberguess/numberGuess.seam?conversationId=2
The following is the part of the jPDL file:
<start-page name="displayGuess" view-id="/numberGuess.jsp">
....
<transition name="interval" to="toInterval" />
</start-page>
...
<page name="toInterval" view-id="/interval.jsp">
<transition name="back" to="displayGuess"/>
</page>
Do I misunderstand something? What wrong with my modification?
I use Seam 1.0.1 GA.
Your advice is appreciated. Thanks.