Wiki source code of WOHiddenField
Last modified by Pascal Robert on 2011/09/23 14:40
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
4.1 | 1 | {{toc/}} |
![]() |
1.1 | 2 | |
3 | = Introduction = | ||
4 | |||
![]() |
3.1 | 5 | A WOHiddenField adds hidden text to the HTML page. It corresponds to the HTML element <INPUT TYPE="HIDDEN"...>. Hidden fields are sometimes used to store application state data in the HTML page. |
6 | |||
![]() |
1.1 | 7 | = Usage = |
8 | |||
9 | {{code}} | ||
10 | |||
![]() |
3.1 | 11 | WOHiddenField { |
12 | value=defaultValue; | ||
13 | [ name=fieldName;] | ||
14 | [disabled=aBoolean;] ... | ||
15 | } | ||
![]() |
1.1 | 16 | |
17 | {{/code}} | ||
18 | |||
19 | = Bindings = | ||
20 | |||
![]() |
4.1 | 21 | |((( |
22 | value | ||
23 | )))|((( | ||
24 | Value for the hidden text field. | ||
25 | ))) | ||
26 | |((( | ||
27 | name | ||
28 | )))|((( | ||
29 | Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime. | ||
30 | ))) | ||
31 | |((( | ||
32 | disabled | ||
33 | )))|((( | ||
34 | If disabled evaluates to true, the element appears in the page but is not active. | ||
35 | ))) | ||
![]() |
3.1 | 36 | |
![]() |
1.1 | 37 | = Examples = |
38 | |||
39 | == Java methods == | ||
40 | |||
41 | == WOD-style == | ||
42 | |||
![]() |
4.1 | 43 | {{code/}} |
![]() |
1.1 | 44 | |
45 | == Inline bindings (WOOGNL) == | ||
46 | |||
![]() |
4.1 | 47 | {{code/}} |
![]() |
1.1 | 48 | |
49 | = Related documents = |