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>


Reply With Quote