Package com.sun.faces.ext.render
Class FocusHTMLRenderer
java.lang.Object
jakarta.faces.render.Renderer
com.sun.faces.ext.render.FocusHTMLRenderer
public class FocusHTMLRenderer extends Renderer
Renderer class that emits HTML and JavaScript to set the focus to a given field.
- Author:
- driscoll
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FocusHTMLRenderer()
-
Method Summary
Modifier and Type Method Description void
encodeEnd(FacesContext context, UIComponent component)
Render the ending of the current state of the specifiedUIComponent
, following the rules described forencodeBegin()
to acquire the appropriate value to be rendered.Methods inherited from class jakarta.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren
-
Constructor Details
-
FocusHTMLRenderer
public FocusHTMLRenderer()
-
-
Method Details
-
encodeEnd
Description copied from class:Renderer
Render the ending of the current state of the specified
UIComponent
, following the rules described forencodeBegin()
to acquire the appropriate value to be rendered.- Overrides:
encodeEnd
in classRenderer
- Parameters:
context
-FacesContext
for the response we are creatingcomponent
-UIComponent
to be rendered- Throws:
IOException
- if an input/output error occurs while rendering
-