org.richfaces.focus
Interface FocusManager
public interface FocusManager
Service for managing Focus of components on the page.
Method Summary |
void |
focus(String componentId)
Enforces to focus given component. |
FOCUS_CONTEXT_ATTRIBUTE
static final String FOCUS_CONTEXT_ATTRIBUTE
focus
void focus(String componentId)
Enforces to focus given component.
In order to ensure the focus will be given to component, this method must be used before PhaseId.RENDER_RESPONSE
phase takes place.
- Parameters:
componentId
- ID of the component to be focused; or null if focus should not be enforced
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.