Wiki source code of WOText
Version 4.1 by Pascal Robert on 2011/05/08 02:18
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{toc}}{{/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 | | 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 | |||
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 = | ||
45 | |||
46 | [[ERXWOText>>http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/extensions/components/_private/ERXWOText.html]] |