public class ViewFocusRenderStrategy extends AbstractFocusRenderStrategy
AbstractFocus.Mode#VIEW
RENDERER_UTILS
Constructor and Description |
---|
ViewFocusRenderStrategy() |
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)
This method will be called once the component is placed into view
|
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.
|
getFocusCandidatesAsString
public void postAddToView(javax.faces.context.FacesContext context, AbstractFocus component)
FocusRenderStrategy
public boolean shouldApply(javax.faces.context.FacesContext context, AbstractFocus component)
FocusRenderStrategy
public String getFocusCandidatesAsString(javax.faces.context.FacesContext context, AbstractFocus component)
FocusRenderStrategy
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.