Sorry for the last post as the code isn't displayed properly.

Here it is submit2.jpdl.xml


  | 
  | <pageflow-definition xmlns="http://jboss.com/products/seam/pageflow";
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |     xsi:schemaLocation=
  |         "http://jboss.com/products/seam/pageflow 
http://jboss.com/products/seam/pageflow-1.2.xsd";
  |     name="submit2">
  |    
  |    <start-page name="page2" view-id="/page2.jspx" >
  |       <transition name="yes" to="page3">       
  |       </transition>    
  |  
  |      <transition  name="back"  to="start"></transition>
  |    </start-page>  
  |    
  |    <page name="page3" view-id="/page3.jspx" back="enabled">  
  |       <redirect/>   
  |       <transition name="back" to="page2"></transition>  
  |       <transition   name="yes" to="page4"/>
  |    </page>
  |    
  |      <page name="page4" view-id="/page4.jspx" back="enabled">
  |       <redirect/>   
  |       <transition to="start"  name="yes"></transition>
  |       <transition  name="back" to="page3"></transition>   
  |    </page>
  |    
  |    <page view-id="/login.jspx" name="start" >
  |    </page>
  |    
  | </pageflow-definition>
  | 
  | 

Can you tell me how to read this xml . Is it read internally by the seam?

I had made the entry in pages.xml


  | 
  | <!DOCTYPE pages PUBLIC
  |   "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
  |   "http://jboss.com/products/seam/pages-1.2.dtd";>
  | 
  | <pages>
  |   <page view-id="/numberGuess.jspx">
  |     <begin-conversation join="true" pageflow="numberGuess"/>
  |   </page>
  |   <page view-id="/confirm.jspx">
  |     <begin-conversation nested="true" pageflow="cheat"/>
  |   </page>
  |    <page view-id="/page2.jspx">  
  |     <begin-conversation  nested="true" pageflow="submit2"/>
  |   </page>
  | </pages>
  | 
  | 

Can you provide the sample test code for this submit2.jpdl.xml

Here i need to find out the current page,current node and the next page.
I tried like the jbpm way to read the submit2.jpdl.xml but with no result.


  | 
  | ProcessDefinition pageflowDefinition 
=Jbpm.instance().getPageflowProcessDefinition("submit2");
  | 
  | 

Can anybody provide the sample test code for that. i m in urgency..

thanks,

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057550
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to