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


Library | Support |