A state that ends a flow when entered. More specifically, this state ends the
active flow session of the active flow execution associated with the current
request context.
If the ended session is the "root flow session" the entire flow execution
ends, signaling the end of a logical conversation.
If the terminated session was acting as a subflow the flow execution
continues and control is returned to the parent flow session. In that case,
this state returns an ending result event the resuming parent flow is
expected to respond to.
An end state may optionally be configured with the name of a view to render
when entered. This view will be rendered if the end state terminates the
entire flow execution as a kind of flow ending "confirmation page".
Note: if no viewName property is specified and this
end state terminates the entire flow execution it is expected that some
action has already written the response (or else a blank response will
result). On the other hand, if no viewName is specified and
this end state relinquishes control back to a parent flow, view selection
responsibility falls on the parent flow.
See Also: org.springframework.webflow.engine.ViewSelector See Also: org.springframework.webflow.engine.SubflowState author: Keith Donald author: Colin Sampaleanu author: Erwin Vervaet |