Announcement Announcement Module
Collapse
No announcement yet.
SWF Model Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SWF Model

    Hello,

    I have a question to the model in a SWF. I have the web flow XML at the bottom and in each state I will store pieces of information in each state, this means in the first state the firstname should be stored in the model, in the next state the surname should be stored and so on.

    Is this the only possibility to define a Bean in the first state and store the information in the other states or is there another possibility?

    Code:
    <jsp:useBean id="query" scope="request" class="com.ervacon.springframework.samples.phonebook.domain.PhoneBookQuery"/>
    Code:
    <web-flow name="Participant registration Flow">
    
    	<start-state state="registration"/>     <!-- start des flows -->
    
    	<view-state id="registration" view="registration">
                <transition name="registrateEvent" to="registrationPayment"/>
    	</view-state>
    
            <view-state id="registrationPayment" view="registrationPayment">
                <transition name="registrationPaymentEvent" to="registrationConfirmationData"/>
    	</view-state>
    
            <view-state id="registrationConfirmationData" view="registrationConfirmationData">
                <transition name="registrationConfirmEvent" to="registrationClose"/>
    	</view-state>
    
            <view-state id="registrationClose" view="registrationClose">
                <transition name="registrationCloseEvent" to="registrationEnd"/>
                <transition name="registrationNewEvent" to="registration"/>
    	</view-state>
    
            <end-state id="registrationEnd" view="nachEndeSeite"/>
    	
    </web-flow>

  • #2
    Does this mean, that it is the only possibility to store data during the web flow states?
    Thanks a lot,
    Generic1

    Comment

    Working...
    X