public class FocusRendererBase extends RendererBase implements FocusRendererInterface
Modifier and Type | Field and Description |
---|---|
static String |
RENDERER_TYPE |
Constructor and Description |
---|
FocusRendererBase() |
Modifier and Type | Method and Description |
---|---|
String |
getFocusCandidatesAsString(javax.faces.context.FacesContext context,
AbstractFocus component)
Get space-separated list of clientIds as component candidates to be focused on client.
|
void |
postAddToView(javax.faces.context.FacesContext context,
AbstractFocus component) |
void |
renderOncompleteScript(javax.faces.context.FacesContext context,
String script)
This method ensures that component which should be focused will be present in the page in the time of running script (oncomplete).
|
boolean |
shouldApply(javax.faces.context.FacesContext context,
AbstractFocus component)
Determines whether the currently rendered Focus should be rendered or not based on if request is postback and if Focus
belongs to form which has been submitted.
|
concatClasses, concatStyles, decode, doDecode, doEncodeBegin, doEncodeChildren, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getResourcePath, getSkin, getUtils, isAlreadyRendered, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren
public static final String RENDERER_TYPE
public boolean shouldApply(javax.faces.context.FacesContext context, AbstractFocus component)
public String getFocusCandidatesAsString(javax.faces.context.FacesContext context, AbstractFocus component)
public void postAddToView(javax.faces.context.FacesContext context, AbstractFocus component)
postAddToView
in interface FocusRendererInterface
public void renderOncompleteScript(javax.faces.context.FacesContext context, String script)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.