Wiki source code of WOHiddenField
Version 3.1 by Pascal Robert on 2011/05/08 01:43
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | {{toc}}{{/toc}} |
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 | |||
![]() |
3.1 | 21 | | value | Value for the hidden text field. |
22 | | name | Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime. | ||
23 | | disabled | If disabled evaluates to true, the element appears in the page but is not active. | ||
24 | |||
![]() |
1.1 | 25 | = Examples = |
26 | |||
27 | == Java methods == | ||
28 | |||
29 | == WOD-style == | ||
30 | |||
31 | {{code}} | ||
32 | |||
33 | |||
34 | {{/code}} | ||
35 | |||
36 | == Inline bindings (WOOGNL) == | ||
37 | |||
38 | {{code}} | ||
39 | |||
40 | |||
41 | {{/code}} | ||
42 | |||
43 | = Related documents = |