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 |
shouldRender(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, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildrenpublic static final String RENDERER_TYPE
public boolean shouldRender(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 FocusRendererInterfacepublic void renderOncompleteScript(javax.faces.context.FacesContext context,
String script)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.