After you have added data access to task portlets, the business
process message schema is available in the Page Data view, and can be bound
to portlet user interface components.
With the target portlet mode's JSP file open, perform the following
steps:
- Insert user interface controls from either the Page Data view or
the Palette (from the Faces Components drawer, for
example) into the JSP file. If you drop a message from the Page Data view,
the UI controls are created with a binding.
- If you used the Palette to insert user interface controls, you
must drag input or output message properties from the Page Data view, and
drop them onto the controls that you have added to the page to bind them.
- Finally, you must bind the task completion or process initiation
action to a command control.
- Add a Command UI control to the JSP file.
Note: If you drop a Page Data node onto the JSF page, a Command
- Button for the task completion or process initiation action
will be created by the wizard. If you choose to create the control from the
Palette, you can also insert a Command - Hyperlink control.
- If necessary, drag a task completion or process initiation action
(processTask() in the sample Page Data view below)
from the Page Data view onto the Command UI control.
