Wiki source code of WOText
Version 10.1 by Pascal Robert on 2012/01/30 22:33
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
10.1 | 1 | {{toc/}} |
![]() |
3.1 | 2 | |
3 | = Introduction = | ||
4 | |||
![]() |
9.1 | 5 | WOText generates a multi-line field for text input and display. It corresponds to the HTML element <TEXTAREA>. |
6 | |||
![]() |
3.1 | 7 | = Usage = |
8 | |||
9 | {{code}} | ||
10 | |||
![]() |
9.1 | 11 | WOText { |
12 | value=defaultValue; | ||
13 | [name=fieldName;] | ||
14 | [disabled=aBoolean;] | ||
15 | ... | ||
16 | } | ||
![]() |
3.1 | 17 | |
18 | {{/code}} | ||
19 | |||
20 | = Bindings = | ||
21 | |||
![]() |
10.1 | 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 | ))) | ||
![]() |
9.1 | 37 | |
![]() |
3.1 | 38 | = Examples = |
39 | |||
40 | == Java methods == | ||
41 | |||
42 | == WOD-style == | ||
43 | |||
![]() |
10.1 | 44 | {{code/}} |
![]() |
3.1 | 45 | |
46 | == Inline bindings (WOOGNL) == | ||
47 | |||
![]() |
10.1 | 48 | {{code/}} |
![]() |
3.1 | 49 | |
50 | = Related documents = | ||
![]() |
9.1 | 51 | |
![]() |
10.1 | 52 | [[ERXWOText>>url:http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/_private/ERXWOText.html||shape="rect"]] |