Class: Hidden

jala.Form.Component.Hidden(name)

Subclass of jala.Form.Component.Input which renders and validates a hidden input tag.

Constructor

new Hidden(name)

Constructs a newly created Hidden component instance
Parameters:
Name Type Description
name String Name of the component, used as name of the html controls.
Source:
Returns:
A newly created Hidden component instance

Methods

render()

Renders this component directly to response. For a hidden tag, this is just an input element, no div tag or anything.
Source:

renderControls(attr, value, reqData)

Renders a hidden input tag to the response.
Parameters:
Name Type Description
attr Object Basic attributes for this element.
value Object Value to be used for rendering this element.
reqData Object Request data for the whole form. This argument is passed only if the form is re-rendered after an error occured.
Source: