HTML_BASIC render-kit
component-family: javax.faces.Input renderer-type: javax.faces.markup.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.

This renderer is not responsible for rendering its children.

This renderer-type has no attributes


Copyright (c) 2003-2010 Oracle America, Inc. All Rights Reserved.