Portlet Factory, Version 6.1.2
Data Page builder
Use the Data Page builder to create forms that either display data, prompt the user to enter data, or are a combination of the two operations.
Use this builder when you want to add some structured data to a page for input or viewing and have fields automatically generated based on the schema of the data.
The Data Page builder creates a structure based on the XML data in a variable and renders this structure as a form (both input and display) on a page. The structure created by the Data Page builder describes the data to be displayed and how to render the data on the form. A schema associated with the data on which the Data Page builder operates and the HTML page associated with the Data Page can determine how the data gets displayed.
To alter the form display and behavior further, use a Data Field Modifier builder to control how the form handles specific elements in the data.
Use Data Page builder to display the results of a service call or SQL statement; or to create input forms based on an element type defined by a schema and an associated variable.
Use of Java beans
If the supplied variable is typed as Object, the Bean Settings input group is displayed. The Object handling input allows you to specify that the runtime object is a Java object that has attributes retrievable and settable with Bean-style get and set methods. Another option on Object handling lets you specify that a Collection of beans are in the variable at runtime.
When working with Java beans, use the Java class name input to identify the actual class name of the bean. The builder uses this class name to introspect the bean and construct a UI for the Bean or Collection of Beans, much as it would for schema-typed XML variables.
Parent topic: Builder help
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Data Page builder inputs
This topic describes the inputs for the Data Page builder.
- Techniques for data entry validation
You can manage the validation of user input on a data entry page created by Data Page builder or builders that use the Data Page builder.
- Data Field Modifier builder
Use the Data Field Modifier builder to modify one or more fields created by a Data Page builder call.
- Overview: creating forms
You can create forms in IBM® WebSphere Portlet Factory applications in several ways.
- Page Automation HTML templates
The Data Page builder, along with the other builders that use Data Page, can automatically generate HTML for displayed pages. You can control the look and feel of the generated HTML by using Page Automation HTML Templates.
Library | Support |