Announcement Announcement Module
Collapse
No announcement yet.
Spring Web Flow Action-State what should controller return Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Web Flow Action-State what should controller return

    Spring Web Flow Action-State what should controller return? Look at my flow below I have a action-state that based on the call to the controller i can be going to 4 diff paths..

    I dont know what changes I have to make in my controller to pass back where to go.

    below is my flow:

    Code:
    <action-state id="checkStatus">
        		<evaluate expression="flowControllerActions.checkStatus(member)" />
        		<transition on="NoSSN" to="NoSSN"/>
        		<transition on="MemberExists" to="endStateMemberExists" />
        		<transition on="IsDeceased" to="endStateMemberDeceased" />
        		<transition on="OK" to="address" />
        	</action-state>
    and here is my method in the controller. can someone please tell me what to do to make the tranistions work:

    Code:
     public String checkStatus(Member member) {
        		LOGGER.debug("[" + member.toString() + "]");
        		
        		//
        		// HOW DO I RETURN??
        		//
        
        	}
Working...
X