Configuration

Throughout this reference, required attributes appear strong. Dynamic attributes (attributes, whose value may contains EL expressions) appear emphasized.

The elements described in the following sections are defined within namespace

http://calyxo.odysseus.de/xml/ns/forms

If the XML parser doesn't support XML Schema, DTD validation has to be used by declaring the Calyxo Forms document type as in:

<!DOCTYPE calyxo-forms-config
  PUBLIC "-//Odysseus Software GmbH//DTD Calyxo Forms 0.9//EN"
  "calyxo-forms-config.dtd">

Elements

NameDescription
calyxo-forms-config Root element of a Calyxo Forms configuration file.
validators Contains definitions of custom validators (i.e., matchers, checkers or converters) to be used in the <forms> section.
matcher Defines a custom matcher to be used in the <forms> section.
converter Defines a custom converter to be used in the <forms> section.
checker Defines a custom checker to be used in the <forms> section.
property Declares or sets a property value of a validator.
message Specifies an error message.
arg Sets an argument of an error message.
forms Contains a set of form definitions (optionally for a specified locale).
form Contains the validation rules concerning a single HTML input form.
field Defines the sequence of validators (and an optional error message) applied to a single HTML input field.
match Applies a matcher to an input field.
convert Applies a converter to an input field.
check Applies a checker to an input field.
input ...
assert Defines an assertion rule concerning one or more input fields of a form.