WOSubmitButton

Last modified by Pascal Robert on 2012/02/11 07:54

Introduction

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

Usage


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

Inline bindings (WOOGNL)

Related documents

ERXSubmitButton
AjaxSubmitButton