Portlet Factory, Version 6.1.2
Displaying data
In WebSphere Portlet Factory applications, you can display data using one of several techniques, some of which are targeted to the intended deployment environment and employ varying amounts of automation.
- Using the Data Page and Data Field Modifier builders
- The Data Page builder displays the data stored in a variable in a page. The Data Field Modifier builder as well as the associated schema for the data contribute to the appearance and behavior of this "view-only" form. When using the Data Page and Data Field Modifier, you need to add the service call, SQL statement, or other builder call that populates a variable with the data you want to display.
- Using individual builders to implement the display and appearance of the data
- You can use individual builders such as Repeated Region, Text, Dynamic Table, and so on. to display data if you want to retain tight control over the display of the data. Implementing your own display framework requires much more work than using the Data Page and Data Field Modifier builders for most cases. However, for displaying a small amount of static data or for extensive fine-tuning of the appearance and behavior of form fields, using individual builders may be more efficient.
As a general rule, try using the Data Page and Data Field Modifier builders. If they seem to unwieldy for the data or if you find that you need to add many Data Field Modifier builder calls to implement the display and behavior you want, then use the lower-level builder calls.
Parent topic: Overview: creating pages and forms
Library | Support |