Documentation
JSFToolbox

Search 

Contents

  1. Introduction
  2. Getting Started
  3. Developing Web Sites
  4. Using Components
  5. Internationalization
  6. Code View Support
  7. Design View Support
  8. Keyboard Shortcuts
  9. Tag Object Toolbars
  10. JSF Server Behaviors
  11. Property Inspectors
Selected 12. JSF Tag Reference

12. JSF Tag Reference

Contents > JSF Tag Reference > JSF HTML Tags

10. JSF HTML Tag Reference

Contents > JSF HTML Tag Reference > h:inputHidden

h:inputHidden

The inputHidden tag renders an HTML input element of the type "hidden".

Example:

<h:inputHidden id="hidden1" value="#{myBean.hiddenValue}" />

HTML Output

<input id="form:hidden1" name="form:hidden1" type="hidden" value="Hidden Value"/>

Tag Attributes

binding String
 
The value-binding expression linking this component tag to a backing bean property.
converter String
 
The converter attribute sets the converter instance to be registered for this component. It must match the converter-id value of a converter element defined in your Faces configuration file.
id String
 
The unique identifier value for this component. The value must be unique within the closest naming container.
immediate String
 
The immediate attribute is a boolean flag indicating that component events should be sent to registered event listeners immediately rather than after the validation phase of the JSF request processing lifecycle. The immediate flag allows you bypass JSF validation for a particular component.
rendered String
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
required String
 
The required attribute is a boolean flag that indicates whether or not the user is required to provide a value for this field before the form can be submitted to the server.
validator String
 
The validator attribute accepts a method-binding expression representing a validator method that will be called when the JSF framework validates this component. A validator method must be a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.
value String
 
The value attribute sets the current value for this component.
valueChangeListener String
 
The valueChangeListener attribute accepts a method-binding expression representing a value change listener method to be notified when a new value has been set for this input component. A value change listener method must be a public method that takes a ValueChangeEvent parameter, with a return type of void.