Wiki source code of WOText

Version 9.1 by Pascal Robert on 2012/01/30 22:33

Hide last authors
Pascal Robert 3.1 1 {{toc}}{{/toc}}
2
3 = Introduction =
4
Pascal Robert 9.1 5 WOText generates a multi-line field for text input and display. It corresponds to the HTML element <TEXTAREA>.
6
Pascal Robert 3.1 7 = Usage =
8
9 {{code}}
10
Pascal Robert 9.1 11 WOText {
12 value=defaultValue;
13 [name=fieldName;]
14 [disabled=aBoolean;]
15 ...
16 }
Pascal Robert 3.1 17
18 {{/code}}
19
20 = Bindings =
21
Pascal Robert 9.1 22 | value | During page generation, value specifies the text that is displayed in the text field. During request handling, value contains the text as the user left it.
23 | name | The name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.
24 | disabled | If disabled evaluates to true, the text area appears in the page but is not active. That is, value does not contain the user's input when the page is submitted.
25
Pascal Robert 3.1 26 = Examples =
27
28 == Java methods ==
29
30 == WOD-style ==
31
32 {{code}}
33
34
35 {{/code}}
36
37 == Inline bindings (WOOGNL) ==
38
39 {{code}}
40
41
42 {{/code}}
43
44 = Related documents =
Pascal Robert 9.1 45
46 [[ERXWOText>>http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/_private/ERXWOText.html]]