Documentation

Search 

Contents

  1. Introduction
  2. Getting Started
  3. Trinidad Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Server Behaviors
  8. Property Inspectors
Selected 9. Trinidad Tag Reference

10. Trinidad Core Tag Reference

Contents > Trinidad Core Tag Reference > tr:inputHidden

tr:inputHidden

The tr:inputHidden tag creates a value that will be submitted, but not rendered on the page.

Example

<tr:inputHidden></tr:inputHidden>

HTML Output

<form id="_id2" name="_id2" method="POST" onkeypress="return _submitOnEnter(event,'_id2');" action="/TrinidadTestWeb/tags/jsf/inputHidden.jsf"><input type="hidden" id="_id2:_id3" name="_id2:_id3"><input type="hidden" name="org.apache.myfaces.trinidad.faces.FORM" value="_id2"><span id="__id2_Postscript"><input type="hidden" name="org.apache.myfaces.trinidad.faces.STATE" value="!9f84c53"><script>function __id2Validator(){return true;}var _id2_SF={};</script></span><script>_submitFormCheck();</script></form>

Tag Attributes

attributeChangeListener Text
 
The attributeChangeListener attribute contains the reference to a method that is invoked when the renderer changes a property without the application’s request.
binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
converter Text
 
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 Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
immediate Boolean
 
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 Boolean
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
required Boolean
 
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.
requiredMessageDetail Text
 
The requiredMessageDetail attribute sets the custom error message with the parameters {0} for a label to identify the component when the value for the component is required (the required attribute is set to “true”) and validation fails.
validator Text
 
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 Text
 
The value attribute sets the current value for this component.
valueChangeListener Text
 
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.