Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Table of Contents

Introduction

A WOSubmitButton element generates a submit button in an HTML page. This element is used within HTML forms.

Usage

Code Block
WOSubmitButton {
  action=submitForm; | directActionName=anActionName; actionClass=className;
  value=aString;
  [disabled=aBoolean;]
  [name=aName;] ...
}

Bindings

action

Action method to invoke when the form is submitted.

actionClass

The name of the class in which the method designated in directActionName can be found. Defaults to DirectAction.

value

Title of the button.

directActionName

The name of the direct action method (minus the "Action" suffix) to invoke when this element is activated. Defaults to "default".

disabled

If disabled evaluates to true, the element appears in the page but is not active. That is, clicking the button does not actually submit the form.

name

Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.

Examples

Java methods

WOD-style

Code Block

Inline bindings (WOOGNL)

Code Block

Related documents

ERXSubmitButton
AjaxSubmitButton