Customizing the portlet
GUI
You can customize the portlet GUI to have a professional look and feel
when you need a quick demo.
Displaying the task
message
The sample task portlet contains a user-defined business object
"Customer"(Figure 20) to let you see how the wizard handles
the layered business objects.
Figure 20. Custom business
object
When viewed from the Business Process Choreographer (BPC) Explorer, the
task input message shows the container-style layout as shown in Figure
21.
Figure 21. Task input
message container view
By comparison, in the task portlet generated from the wizard, the
layered business objects are displayed following the dot
notation, which allows complete freedom of portlet view
layout. Here is a dot notation example:
Value="#{pc_CustomerServicePortletView.negotiateRequestMsg.Customer.Phone}"
|
Customizing the portlet's look
and feel
Because the portlet view is fully customizable, you can change the GUI.
Figure 22 shows a sample customized GUI layout for the generated task
portlet.
Figure 22. Customized
portlet look and feel
Note: The Portlet Generator produces portlet control type based
on its corresponding data type. For example, the checkbox in the
generated portlet, as seen in Figure 22, is converted from its Boolean
data type.
Hint: You can specify a business object's properties in
WebSphere Integration Developer with constraints, such as a minimum
field length and permitted value.
|