Class HtmlHidden
This widget represents the HTML hidden element. The hidden elements
are supposed to be added only into HtmlForm components.
When rendered into HTML this widget produces the following output.
constructor key value
Initializes the object.
|
getValue
Fetches the value stored by the widget.
|
render
Outputs the HTML representation of the widget.
|
setValue value
Changes the value stored by the widget.
|
|
constructor
HtmlHidden constructor key value
Initializes the object.
- Parameters:
- key -
String representing the name attribute of the tag.
- value -
String representing the value attribute of the tag.
-
getValue
HtmlHidden getValue
Fetches the value stored by the widget.
- Returns:
-
The string representing the value stored by the widget.
-
render
HtmlHidden render
Outputs the HTML representation of the widget.
-
setValue
HtmlHidden setValue value
Changes the value stored by the widget.
- Parameters:
- value -
String representing the new value attribute of the tag.
- Returns:
-
A reference to the object for which the method was called.
-
Report a bug or request new features
© 2013