Announcement Announcement Module
Collapse
No announcement yet.
how to execute web flows 1.0 version from jsp Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to execute web flows 1.0 version from jsp

    When i click proceed link it will check the id(letterPrinting) mentioned in flow-config.xml and executed the flows(execute the first flow i.e.enterPersonalDetails) in printLetter.xml.

    its working fine in spring web flow 2.0;

    In spring web flow 1.0 id attribute was not there in printLetter.xml then how to execute the flows in 1.0 version when i click proceed link in jsp?



    Code:
    index.jsp
    *********
     
     <body>
        <a href="app/letterPrinting">Proceed.</a> <br>
      </body>
    
      flow-config.xml
      ****************
    
      <webflow:flow-registry id="flowRegistry" base-path="/WEB-INF">
    		<webflow:flow-location path="/flows/letterPrinting/printLetter.xml" id="letterPrinting" />
    	</webflow:flow-registry>
    
    
    printLetter.xml
    ***************
    
    	<?xml version="1.0" encoding="UTF-8"?>
    <flow xmlns="http://www.springframework.org/schema/webflow"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    	xsi:schemaLocation="http://www.springframework.org/schema/webflow
    
    http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd">
    
    
    
    	<view-state id="enterPersonalDetails">
    		<transition on="next" to="enterCustomMessage"/>
    	</view-state>
    
    	</flow>
Working...
X