Wiki source code of WOHiddenField
Last modified by Pascal Robert on 2011/09/23 14:40
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{toc/}} | ||
2 | |||
3 | = Introduction = | ||
4 | |||
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 | |||
7 | = Usage = | ||
8 | |||
9 | {{code}} | ||
10 | |||
11 | WOHiddenField { | ||
12 | value=defaultValue; | ||
13 | [ name=fieldName;] | ||
14 | [disabled=aBoolean;] ... | ||
15 | } | ||
16 | |||
17 | {{/code}} | ||
18 | |||
19 | = Bindings = | ||
20 | |||
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 | ))) | ||
36 | |||
37 | = Examples = | ||
38 | |||
39 | == Java methods == | ||
40 | |||
41 | == WOD-style == | ||
42 | |||
43 | {{code/}} | ||
44 | |||
45 | == Inline bindings (WOOGNL) == | ||
46 | |||
47 | {{code/}} | ||
48 | |||
49 | = Related documents = |