Wednesday, April 23, 2008

Spring web flow SWF

Flow:










...




<-- your state definitions go here -->


...



...







...



States:

Action (Application logic):





Action class extend org.springframework.webflow.Action

Bean action

View (User interaction)










Action form bean definition:







Decision (What to do)





Subflow (Flow in flow)

Transitions:
Defines a transition between states.






Events:
When a state completes it fires an event, that tells the flow which transition to activate.

Exception handling:
Custom exception handler. Extend org.springframework.webflow.engine.FlowExecutionExceptionHandler





on-exception





No comments: