Each action in the action definitions file defines a partial page renderer (PPR) action with the following attributes:
Attribute | Description |
---|---|
| The form handler bean to instantiate when the action is submitted |
| Enables debugging (set to either none or verbose) |
| The forwarding URL when an error occurs |
| The form handler method to invoke on the form handler bean when the action is submitted |
| The forwarding URL |
| The standard HTML form action |
There are two kinds of action: panel internal actions and framework actions. A panel internal action is invoked by a panel to render parts of itself. A framework action should be invoked for any action that performs any of the following tasks:
changes tabs
renders a panel external to the initiating panel
renders a panel stack
renders multiple individual panels
A framework action has the following property values:
bean
: references a form handler bean that implements theframeworkFormHandler
interface or extends the defaultframeworkBaseFormHandler
successUrl
: the URL of theframework.jsp
page to which all framework requests are forwarded
In addition, a framework action contains property definitions through caf:inputElement
that specify which aspects of the framework are updated for the request. The following is an example:
<caf:inputElement property="nextStepsMenuId"
value="reportsNextSteps"/>
<caf:inputElement property="panelIds"
value="nextStepsPanel"/>
<caf:inputElement property="panelStackIds"
value="${reportPanelStackId}"/>
<caf:inputElement accessScript="FrameworkChangeTab('reportTab');"
property="tabId"/>
<caf:inputElement property="treeTableIds"
value="reportsViewReportsTreeTable"/>