Skip to main content

skip to main content

developerWorks  >  WebSphere  >

Building a process task portlet application using the Portlet Generator in WebSphere Integration Developer 6.2

developerWorks
Go to the previous pagePage 7 of 12 Go to the next page

Document options
PDF format - Fits A4 and Letter

PDF - Fits A4 and Letter
587 KB (24 pages)

Get Adobe® Reader®

Sample code


My developerWorks needs you!

Connect to your technical community


Rate this tutorial

Help us improve this content


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
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
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}"



Back to top


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
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.



Back to top



Go to the previous pagePage 7 of 12 Go to the next page