Wiki source code of WOSubmitButton

Version 5.1 by Pascal Robert on 2011/05/08 02:15

Show last authors
1 {{toc}}{{/toc}}
2
3 = Introduction =
4
5 A WOSubmitButton element generates a submit button in an HTML page. This element is used within HTML forms.
6
7 = Usage =
8
9 {{code}}
10
11 WOSubmitButton {
12 action=submitForm; | directActionName=anActionName; actionClass=className;
13 value=aString;
14 [disabled=aBoolean;]
15 [name=aName;] ...
16 }
17
18 {{/code}}
19
20 = Bindings =
21
22 | action | Action method to invoke when the form is submitted.
23 | actionClass | The name of the class in which the method designated in directActionName can be found. Defaults to DirectAction.
24 | value | Title of the button.
25 | directActionName | The name of the direct action method (minus the "Action" suffix) to invoke when this element is activated. Defaults to "default".
26 | 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.
27 | name | Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.
28
29 = Examples =
30
31 == Java methods ==
32
33 == WOD-style ==
34
35 {{code}}
36
37
38 {{/code}}
39
40 == Inline bindings (WOOGNL) ==
41
42 {{code}}
43
44
45 {{/code}}
46
47 = Related documents =
48
49 [[ERXSubmitButton>>http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/extensions/components/_private/ERXSubmitButton.html]]
50 [[AjaxSubmitButton>>http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/ajax/AjaxSubmitButton.html]]