Tag placeholder

Adds placeholder capability to HTML input and textarea elements. A placeholder typically appears as light gray text within an input or textarea element whenever the element is empty and does not have focus. This provides a hint to the user as to what the input or textarea element is used for, or the type of input that is required.

Tag Information
Component type org.richfaces.Placeholder
Tag Name rich:placeholder
Renderer Type org.richfaces.PlaceholderRenderer
Handler Class None

Name Required Type Description
binding false javax.faces.component.UIComponent The value binding expression used to wire up this component to a component property of a JavaBean class
converter false javax.faces.convert.Converter Converter instance registered with this component.
id false java.lang.String The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
rendered false boolean Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
selector false java.lang.String The jQuery selector used to filter which child DOM elements will be a placeholder attached to.
styleClass false java.lang.String Space-separated list of CSS style class(es) which will be applied to the target input component when placeholder is active.
value true java.lang.Object The current value of this component.

Output Generated by Tag Library Documentation Generator.