InstallationForm Builder is distributed as a Java WAR file. You install it into a Servlet container, preferably Tomcat 5.5 or later.Installation notes are availabe online as part of the Orbeon Forms tutorial: We recommend, for testing, that:
Once the WAR file is deployed, restart your container and access the following URL, assuming a default port of 8080 for your container: This is the Summary page of Form Builder. The page should look like the following (most likely without any content in the summary table): Then select "New Form". This takes you to a new empty form, in which you can enter an application and form name: If you get to this point, the installation has succeeded and you can proceed to edit your form: Form types and form data
Form data is identified by a three-level hierarchy which includes:
Overall architectureForm Builder actually consists of two parts:
Form Builder/Runner are implemented on top of the open source Orbeon Forms platform. They are implemented entirely with the following technologies:
Form Builder is written essentially in XForms, but it also produces, for each form type edited, an XForms file which Form Runner can load and run. In short, Form Builder is an XForms application which is able to produce other XForms applications. Both Form Builder and Form Runner share a persistence layer, which in turn allows them to talk to databases or external services. Form Builder/Runner comes with a built-in XML database called eXist, which by provides persistence out of the box. However, you can also access an external eXist instance, or implement your entirely custom persistence layer in your own system. The following figure illustrates the overall architecture: Integration pointsForm Builder/Form Runner integrate with other systems through two main means:
The persistence API can be implemented either within Orbeon Forms (like for example the built-in eXist persistence layer), or within an external system. Form Runner and Form Builder URLs Form Runner/Form builder attempt to use friendly URLs.The following URL patterns are followed:
NOTE: As of May 2009, the paths have been changed to not include a trailing slash so as to help working around a Firefox bug related to file downloads. Persistence APIThis content has moved to: Form Runner/Form Builder Persistence API. XML representation of form dataBasicsAs you create a form definition with Form Builder, an XML representation for the data to capture is automatically created. It is organized as follows:
<form> <details> <title/> <author/> <language/> <link/> <rating/> <publication-year/> <review/> <image filename="" mediatype="" size=""/> </details> <notes> <note/> </notes></form>AttachmentsFor attachments, the control element is slightly different:
|


