Previous Next vertical dots separating previous/next from contents/index/pdf

Conditional Forward Dialog

Use this dialog to specify the condition for a conditional forward.

A conditional forward is executed only if its condition is true. For example, in an online store, the shopping cart page is shown to users on the condition that they are logged in.

The condition should resolve to a boolean value and be expressed in the JSP 2.0 expression language.

How To Open this Dialog

In the Page Flow Editor view, right-click downstream of any simple action and select New JSP. If the simple action already has a forward associated with it, then the Conditional Forward Dialog will appear.

How To Use This Dialog

Enter any JSP 2.0 expression into the Expression field.

A new @Jpf.ConditionalForward annotation will be added to the action.

Related Topics

Sun JSP documentation: JSP 2.0 expression language

Beehive documentation: @Jpf.ConditionalForward


Skip navigation bar   Back to Top