Changes for page WOSubmitButton

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

From version 11.1
edited by Pascal Robert
on 2011/04/26 23:03
Change comment: There is no comment for this version
To version 12.1
edited by Pascal Robert
on 2012/02/11 07:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,15 +2,30 @@
2 2  
3 3  = Introduction =
4 4  
5 +A WOSubmitButton element generates a submit button in an HTML page. This element is used within HTML forms.
6 +
5 5  = Usage =
6 6  
7 7  {{code}}
8 8  
11 +WOSubmitButton {
12 + action=submitForm; | directActionName=anActionName; actionClass=className;
13 + value=aString;
14 + [disabled=aBoolean;]
15 + [name=aName;] ...
16 +}
9 9  
10 10  {{/code}}
11 11  
12 12  = Bindings =
13 13  
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 +
14 14  = Examples =
15 15  
16 16  == Java methods ==
... ... @@ -30,3 +30,6 @@
30 30  {{/code}}
31 31  
32 32  = Related documents =
48 +
49 +[[ERXSubmitButton>>http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/_private/ERXSubmitButton.html]]
50 +[[AjaxSubmitButton>>http://wocommunity.org/documents/javadoc/wonder/latest/er/ajax/AjaxSubmitButton.html]]