|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.component.html.util.HtmlComponentUtils
public final class HtmlComponentUtils
Utility class for providing basic functionality to the HTML faces extended components.
| Method Summary | |
|---|---|
static javax.faces.component.UIComponent |
findParentNamingContainer(javax.faces.component.UIComponent component,
boolean returnRootIfNotFound)
Locates the NamingContainer associated with the givem
UIComponent. |
static String |
getClientId(javax.faces.component.UIComponent component,
javax.faces.render.Renderer renderer,
javax.faces.context.FacesContext context)
Gets the client id associated with the component. |
static String |
getLifecycleId(javax.servlet.ServletContext context)
The getLifecycleId() is used for getting the id of the Lifecycle from the ServletContext. |
static Map |
getParameterMap(javax.faces.component.UIComponent component)
The getParameterMap() is used for getting the parameters of a specific component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getClientId(javax.faces.component.UIComponent component,
javax.faces.render.Renderer renderer,
javax.faces.context.FacesContext context)
convertClientId on the Renderer argument.
component - The component for which the client id is needed.renderer - The renderer associated with the component.context - Additional context information to help in the request.
public static javax.faces.component.UIComponent findParentNamingContainer(javax.faces.component.UIComponent component,
boolean returnRootIfNotFound)
NamingContainer associated with the givem
UIComponent.
component - The component whose naming locator needs to be found.returnRootIfNotFound - Whether or not the root should be returned
if no naming container is found.
public static Map getParameterMap(javax.faces.component.UIComponent component)
component -
public static String getLifecycleId(javax.servlet.ServletContext context)
context -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||