Portlet Factory, Version 6.1.2
Allowing the Data Page builder to construct the table
This technique uses an empty <table name="ContainerElement "/> node in your HTML page on which the Data Page constructs the table for you.
- In the Data Page builder call editor, enable the Make UI From Data input for the container node. The Data Page Builder will analyze the children of <customer /> to create a row of Table headers and a row (which is repeated) of the table data. Look at the following sample data:
... <customers> <customer> <name>Joe</name> <id>111</id> <phone_number>555-1234</phone_number> </customer> <customer> <name>Jane</name> <id>222</id> <phone_number>555-2345</phone_number> </customer> <customer> <name>Jill</name> <id>333</id> <phone_number>555-3456</phone_number> </customer> </customers ...- To prompt the Data Page builder to construct the table to display the customer elements:
- Use the following HTML in your page to define the table: <table name="customers" />
- In a Data Page builder call, enable the Make UI from Data input.
Parent topic: Using tables in forms
Library | Support |