Results 1 to 2 of 2

Thread: SWF Model

  1. #1

    Default 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. #2

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •