Top Description Fields Constructors Methods
com.sun.faces.ext.render

public Class FocusHTMLRenderer

extends Renderer
Class Inheritance
Imports
java.io.IOException, javax.faces.component.UIComponent, javax.faces.context.FacesContext, .ResponseWriter, javax.faces.render.Renderer

Renderer class that emits HTML and JavaScript to set the focus to a given field.
Author
driscoll

Field Summary

Inherited from javax.faces.render.Renderer:
PASSTHROUGH_RENDERER_LOCALNAME_KEY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
encodeEnd(FacesContext
FacesContext for the response we are creating
context
,
UIComponent
UIComponent to be rendered
component
)

Overrides javax.faces.render.Renderer.encodeEnd.

Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.

Inherited from javax.faces.render.Renderer:
convertClientIddecodeencodeBeginencodeChildrengetConvertedValuegetRendersChildren

Constructor Detail

FocusHTMLRendererback to summary
public FocusHTMLRenderer()

Method Detail

encodeEndback to summary
public void encodeEnd(FacesContext context, UIComponent component) throws IOException

Overrides javax.faces.render.Renderer.encodeEnd.

Doc from javax.faces.render.Renderer.encodeEnd.

Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.

Parameters
context:FacesContext

FacesContext for the response we are creating

component:UIComponent

UIComponent to be rendered

Annotations
@Override
Exceptions
IOException:
if an input/output error occurs while rendering