h
Tag inputmarkup.Input


This renderer is intended to be used with an arbitrary markup element that ultimately produces a name=value pair that will be sent to the server and decoded by the associated javax.faces.component.UIInput.

Decode Behavior

The decode behavior is identical to that of the javax.faces.Input javax.faces.Text renderer.

Encode Behavior

Look in the component's attribute map for an entry under the key given by the value of the constant Renderer.MARKUP_RENDERER_LOCALNAME_KEY. The value of this key is the element name to render. If the component has a manually declared, not auto-generated clientId, or if the component has behaviors attached to it, render the clientId as the value of the "id" attribute. Render the "name" attribute with the value coming from the clientId. Note that markup authors may set this value directly on the markup and the VDL processing must guarantee that the "name" attribute is set as the component's clientId. Render the current value of the component as the value of the "value" attribute.

According to the section "Rendering Pass Through Attributes" in the overview of this RenderKit, all of the pass throuh attributes will be rendered exactly as shown on the markup in the VDL page.



Tag Information
Tag Class.Inputmarkup.InputTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
converterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
Converter instance registered with this component.
converterMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter.
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
immediatefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to 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.
requiredfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating that the user is required to provide a submitted value for this input component.
requiredMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used.
validatorfalsefalsejavax.el.MethodExpression
(signature must match void validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object))
MethodExpression representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.
validatorMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator.
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The current value of this component.
valueChangeListenerfalsefalsejavax.el.MethodExpression
(signature must match void valueChange(javax.faces.event.ValueChangeEvent))

MethodExpression representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing what the new value is, but this can be useful in cases where a notification is needed that "this value changed".

bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The ValueExpression linking this component to a property in a backing bean

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator.