Menu

FORM BUTTONS

http://dynamo.documill.com/schemas/taglib/form/buttons

Provides tags for configuring the buttons of a form.

button

Adds a new button to the form. This button is either a Submit or a Cancel button and pressing it has the exact same basic effect as pressing either of the standard buttons present in a form. However, additional or different logic may be tied to the pressing of this particular button by using the name attribute.

Attributes

Name Required Type Description
type false EL

Type of this additional button. The resolved value should be either submit or cancel.

name true EL

Defines the name of the button. When the button is pressed, the button's name is included in the form parameters with the key 'buttonName'.

label false EL

Defines the text displayed on the button.

If left undefined, the default label of the button type is used.

cancelButton

Configures the Cancel button present in a form. Pressing the Cancel button closes the form and ends the ongoing composing process.

If this tag is not present in a form, the Cancel button will be enabled and displayed with its default label Cancel.

Attributes

Name Required Type Description
enabled false EL

Defines if the button appears in the form or not. If the value of this attribute resolves to a boolean value of true, the button will be displayed, otherwise it is not displayed.

If left undefined, default value of true is used.

name false EL

Defines the name of the button. When the button is pressed, the button's name is included in the form parameters with the key 'buttonName'.

If left undefined, the name default is used.

label false EL

Defines the text displayed on the button.

If left undefined, the default label of the button is used.

submitButton

Configures the Submit button present in a form. Pressing the Submit button closes the form and continues the composing process.

If this tag is not present in a form, the Submit button will be enabled and displayed with its default label OK.

Attributes

Name Required Type Description
enabled false EL

Defines if the button appears in the form or not. If the value of this attribute resolves to a boolean value of true, the button will be displayed, otherwise it is not displayed.

If left undefined, default value of true is used.

name false EL

Defines the name of the button. When the button is pressed, the button's name is included in the form parameters with the key 'buttonName'.

If left undefined, the name default is used.

label false EL

Defines the text displayed on the button.

If left undefined, the default label of the button is used.

Comments

0 comments