Platform-specific widgets are used to specify HTML templates. Currently, the only HTML template type supported are FreeMarker templates. There are two types of FreeMarker templates supported: HTML and XSL Formatting Objects (or XSL-FO) templates with markup to generate PDFs.
HTML platform-specific templates can be specified by following these steps:
1. Open a Screen widget definition file.
2. Locate a screen definition within the Screen widget definition file.
3. Create a
platform-specific
element within thewidgets
element. If awidgets
element does not exist, create one.4. To add an HTML FreeMarker file, create an
html
element.5. To specify a FreeMarker template with XSL-FO markup, add an
xsl-fo
element beneath theplatform-specific
element.6. Close all elements with end tags.
7. Save and close the file.
8. Test as appropriate.