Instead of relying on special configuration files, Form Runner expects to gather as much information as possible from the XHTML+XForms to run. This is done in two ways:
All controls and sections have associated xforms:bind (NOTE: this was not the case in earlier versions). This allows easily controlling:
Localized Resources
TODO
Services and Actions
TODO
Form Runner Summary Page
Introduction
The Form Runner Summary page must obtain some information about the form to run in order to:
- Display form metadata such as form title
- Display column headers in the document list
- Display structured search fields
More metadata information may be needed in the future, so a generic approach is needed.
Column Headers and Structured Search
This is controlled through class annotations. See below.
Form Title and Form Description
The form title and description are obtained from the form metadata section.
CSS Classes
Some CSS classes are added by Form Builder to XForms elements as annotations:
A
form control (xforms:input, etc.) that needs to appear as a column in
the summary page is marked with the fr-summary class. E.g.:
<xforms:input class="fr-summary" ...>
A form control that must be part of the structured search is marked with the fr-search class. E.g.:
<xforms:input class="fr-summary fr-search" ...>
A form control that contains an email address to be used for sending confirmation emails is marked with the fr-email-recipient class. E.g.:
<xforms:select1 class="fr-email-recipient" ...>
Form Runner Detail Page
TODO