|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.icefaces.util.CoreComponentUtils
public class CoreComponentUtils
Constructor Summary | |
---|---|
CoreComponentUtils()
|
Method Summary | |
---|---|
static javax.faces.component.UIComponent |
findComponent(java.lang.String clientId,
javax.faces.component.UIComponent base)
Find a component with an id specified in the following ways
:componetId - Absolute id, search starts at UIViewRoot
componentId - Relative id, search starts at nearest parent namingContainer or ViewRoot
:xN componentId - Numbered relative id, search starts at N'th parent naming container or ViewRoot
|
static javax.faces.component.UIComponent |
findComponentInView(javax.faces.component.UIComponent uiComponent,
java.lang.String componentId)
A version of findComponent() that attempts to locate a component by id (not clientId) and searches into NamingContainers. |
static java.lang.String |
getFocusId(javax.faces.context.FacesContext context)
Return the id of the Element that currently has focus in the browser. |
static void |
setFocusId(java.lang.String focusId)
ICE-4417 Migrate method for setting focus id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoreComponentUtils()
Method Detail |
---|
public static javax.faces.component.UIComponent findComponent(java.lang.String clientId, javax.faces.component.UIComponent base)
-
:componetId - Absolute id, search starts at UIViewRoot
-
componentId - Relative id, search starts at nearest parent namingContainer or ViewRoot
-
:xN componentId - Numbered relative id, search starts at N'th parent naming container or ViewRoot
clientId
- id of componentbase
- UIComponent base to start searching frompublic static javax.faces.component.UIComponent findComponentInView(javax.faces.component.UIComponent uiComponent, java.lang.String componentId)
uiComponent
- the base component to search fromcomponentId
- the id to search forpublic static void setFocusId(java.lang.String focusId)
focusId
- Id of component to get the focuspublic static java.lang.String getFocusId(javax.faces.context.FacesContext context)
|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |