Exit Icon

The red Exit icon represents an action that will be raised by the current nested page flow on the nesting page flow, where control will return when this nested page flow is finished.  For example:

By default the Page Flow Wizard creates a done() method for nested page flows, as shown in the following code from a page flow *.jpf file:

    /**
     * @jpf:action
     * @jpf:forward name="done" return-action="newpageflow1Done"
     */
    public Forward done()
    {
        return new Forward( "done" );
    }

Typically the "done" action is raised on a JSP in this page flow. For example:

        <netui:form action="done">
            <netui:button type="submit" value="Done" />
        </netui:form>

In the code example notice that the attribute "return-action" on the @jpf:forward annotation. This annotation means that when this done() method in the JPF is executed, the page flow runtime:

After you have used the Page Flow Wizard to generate a nested page flow, or after dropping an Exit icon onto the Flow View canvas of a nested page flow, you can change the value of the return-action attribute to an actual action method that exists in the nesting page flow.

Related Topics

Action Icon

Begin Action Icon

JavaServer Page (JSP) Icon

Page Flow Icon

Return to Action Icon

Return to Page Icon

Guide to Building Page Flows

Page Flow and JSP Reference