Wiki source code of WOText
Version 10.1 by Pascal Robert on 2012/01/30 22:33
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{toc/}} | ||
2 | |||
3 | = Introduction = | ||
4 | |||
5 | WOText generates a multi-line field for text input and display. It corresponds to the HTML element <TEXTAREA>. | ||
6 | |||
7 | = Usage = | ||
8 | |||
9 | {{code}} | ||
10 | |||
11 | WOText { | ||
12 | value=defaultValue; | ||
13 | [name=fieldName;] | ||
14 | [disabled=aBoolean;] | ||
15 | ... | ||
16 | } | ||
17 | |||
18 | {{/code}} | ||
19 | |||
20 | = Bindings = | ||
21 | |||
22 | |((( | ||
23 | value | ||
24 | )))|((( | ||
25 | 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. | ||
26 | ))) | ||
27 | |((( | ||
28 | name | ||
29 | )))|((( | ||
30 | The name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime. | ||
31 | ))) | ||
32 | |((( | ||
33 | disabled | ||
34 | )))|((( | ||
35 | 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. | ||
36 | ))) | ||
37 | |||
38 | = Examples = | ||
39 | |||
40 | == Java methods == | ||
41 | |||
42 | == WOD-style == | ||
43 | |||
44 | {{code/}} | ||
45 | |||
46 | == Inline bindings (WOOGNL) == | ||
47 | |||
48 | {{code/}} | ||
49 | |||
50 | = Related documents = | ||
51 | |||
52 | [[ERXWOText>>url:http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/_private/ERXWOText.html||shape="rect"]] |