alloy:inputHidden

InputHidden is a UIInput component that renders an <input> element with type=hidden. Since it extends HtmlInputHidden, it supports all the features of h:inputHidden.

Validation Usage

The value attribute can be validated via the validator attribute or by specifying a f:validator type of child tag. In addition, custom user feedback can be specified via the validatorMessage attribute.
This is a div that contains a hidden input

This is a div that contains a hidden input

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20