Managing the layout of pages built with PageAutomation
PageAutomation is the technology of the Factory that builds both JSP pages and Java code based on a schema or other data definition. The core access to this technology is the Data Page builder, which can also be accessed through high level builders such as View and Form or Input Form. Part of the power of PageAutomation is that it starts by creating an internal model of how the data will be laid out on the page, and then you can use assorted modifier builders, such as Data Field Modifier or Data Column Modifier, to change the internal representation before the actual work of creating the JSP and Java occurs. This document is focused only on the different techniques you can use to manage the layout of the JSP pages to get the eventual HTML result that is desired.
There are a number of different techniques for laying out the JSP, with different advantages and disadvantages to each.
- Data Column Modifier for re- ordering (plus!)
- Export of the HTML base page and hand-editing
- Data Hierarchy Modifier for grouping and re-ordering
- Forms Layout Builder
You should have a basic familiarity with Portlet Factory and be able to create and run Portlet Factory models.
You should also have installed in your project the Feature Set “Building Models” from the “Tutorials and Samples” group. All of the samples are variations of the OrdersServiceConsumer model from that set, and they all depend on the OrdersServiceProvider model.