![]() |
![]() |
![]() |
![]() |
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.
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.
Enter any JSP 2.0 expression into the Expression field.
A new @Jpf.ConditionalForward annotation will be added to the action.
Sun JSP documentation: JSP 2.0 expression language
Beehive documentation: @Jpf.ConditionalForward
![]() ![]() |