Simple Webflow Configuration


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <flow xmlns="http://www.springframework.org/schema/webflow"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://www.springframework.org/schema/webflow
  5. http://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd">
  6. <start-state idref="enterVoterInfo"/>
  7.  
  8. <view-state id="enterVoterInfo" view="webflows/voting/enterVoterInfo">
  9. <transition on="next" to="enterPartyInfo"/>
  10. </view-state>
  11.  
  12. <view-state id="enterPartyInfo" view="webflows/voting/enterPartyInfo">
  13. <transition on="previous" to="enterVoterInfo"/>
  14. <transition on="next" to="enterVote"/>
  15. </view-state>
  16.  
  17. <view-state id="enterVote" view="webflows/voting/enterVoteInfo">
  18. <transition on="previous" to="enterPartyInfo"/>
  19. <transition on="next" to="confirmState"/>
  20. </view-state>
  21.  
  22. <end-state id="confirmState" view="webflows/voting/confirmVote"></end-state>
  23. </flow>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.