Portlet Factory, Version 6.1.2
HTML template files and example models available
The HTML template files and their matching style sheets are located in the directory, factory\html_templates. Available HTML templates include the following.
- columnar.html
- Creates a basic, 4-column display and is intended to go with the style sheet template_compatible.css
- horizontal4columnar.html
- Used in conjunction with columnar.html. Allows you to take a few values and display them across the page on a single line. The technique is to use a Data Hierarchy Modifier to put these values in a separate group, and assign the correct horizontal template at the same time. A classic place to use this technique is with the values City, State, and Zip, which can usually fit across in the same space as a line of address. The example uses this technique.
- prompt_above_input.html
- This is useful when you have a narrow space on the screen in which to put your form, the labels are immediately above the input fields or the text elements. It works well with the style sheet template_compatible2.css.
- horizontal4prompt_above.html
- Used in conjunction with prompt_above_input.html. Allows you to take a few values and display them across the page on a single line. The technique is to use a Data Hierarchy Modifier to put these values in a separate group, and assign the correct horizontal template at the same time. A classic place to use this technique is with the values City, State, and Zip, which can usually fit across in the same space as a line of address. The example uses this technique.
The example HTML Template models are available in a project when the "Tutorials and Samples - Applications" feature set is installed in the project. These sample models are located in the project's WEB-INF/models/samples/datapage directory. HTML Template example models include:
- LabelAbove.model
- Uses the prompt_above_input.html template for input and output pages
- LabelOnLeft.model
- Uses the columnar.html template for input and output pages
These models are based on the HTML templates listed above. Each model uses a different template, and respective horizontal template, to group the City, State, and Zip inputs on to a single row. Each model has a link to the other model, so you can compare the different looks that are created.
Parent topic: Page Automation HTML templates
Library | Support |