RichFaces Core API 4.3.0.CR2

org.richfaces.focus
Interface FocusManager


public interface FocusManager

Service for managing Focus of components on the page.


Field Summary
static String FOCUS_CONTEXT_ATTRIBUTE
           
 
Method Summary
 void focus(String componentId)
           Enforces to focus given component.
 

Field Detail

FOCUS_CONTEXT_ATTRIBUTE

static final String FOCUS_CONTEXT_ATTRIBUTE
Method Detail

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

RichFaces Core API 4.3.0.CR2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.