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.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956142#3956142

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956142

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to