Download enterprise System Administration

Transcript
6.4. FORMS
type UTCdate can be used which allows to store and retrieve a calendar date independent
of server or client time zone. This kind of date is saved with timezone UTC.
After defining all form fields you can change to the next step by clicking the button Next.
Form-Wizard: Tab Layout
The form-wizard is very comfortable for creating and editing forms (see Fig. 6.10). The
form-wizard is available only, if the Template Type XFORMS is selected in Step 2.
Hint: Forms created in @enterprise 7.0 are XHTML-forms. If you want to adapt them
with form-wizard of @enterprise 8.0, you have to convert it to Template type XFORMS by
selecting the form and activating the toolbar-function Edit form type. If you do not convert
the form, you will not be able to edit it with form-wizard.
In the menu bar under the header (Form–Id, Name, Version) the standard functions are provided for processing the form fields. Furthermore you can change the order of a field by
clicking on the arrow-buttons. An other mentionable menu point is Properties, where you
can assign titles to the form. The toolbar-function Create new layout generates a standardlayout with the existing form fields.
For the creation of forms the form-wizard offers following elements:
• Text: Simple text without an input option.
• Line: Horizontal Line.
• Form fields: Contains all form fields, which will be described in the following.
• Table: It is possible to embedding subforms by entering a Class name and an Id.
If you have already created a subform, you can select it by clicking on the symbol
beside Class name. You can label the table by entering a text in the input field Label.
The Form fields consist of several elements, whereas the same following properties are
available in all form fields:
• Label: Free selectable identifier. By activating the I18n-link beside this field, the
translations of this key are displayed and can be edited directly by changing the values
and activating the button Save. The changes are stored in the resource file of this
application (see section 6.8). The link is visible only when the checkbox Localize is
activated and a resource has been entered in application mask - tab Properties.
• Localize: Activate this checkbox to localize the field label.
• CSS Class: CSS-class for style sheets.
• Database field: Unique identifier, which identifies the field - has been created in this
step (see 6.4.1)
Each form field has further specific properties, which will be explained in the following:
67