|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.custom.util.ComponentUtils
public final class ComponentUtils
User: treeder Date: Nov 21, 2005 Time: 9:20:14 PM
| Method Summary | |
|---|---|
static void |
decorateEventAttribute(javax.faces.component.UIComponent component,
java.lang.String attribute,
java.lang.String value)
Changes the event attributes like onclick by appending the given value |
static javax.faces.component.UIComponent |
findComponentByClientId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent root,
java.lang.String clientId)
TR- This was moved from AjaxPhaseListenere on checkin 344383 |
static javax.faces.component.UIComponent |
findComponentById(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent root,
java.lang.String id)
Useful if you don't know the clientId TR- This was moved from AjaxPhaseListenere on checkin 344383 Seems like this could be made more efficient |
static javax.faces.component.UIComponent |
findFirstMessagesComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent base)
|
static java.util.List |
getHTMLDataTableColumns(javax.faces.component.html.HtmlDataTable table)
This method is used for getting the columns of a specific HTMLDataTable. |
static java.lang.String |
getLifecycleId(javax.servlet.ServletContext context)
The getLifecycleId() is used for getting the id of the Lifecycle from the ServletContext. |
static java.util.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 javax.faces.component.UIComponent findComponentByClientId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent root,
java.lang.String clientId)
context - root - clientId -
public static javax.faces.component.UIComponent findComponentById(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent root,
java.lang.String id)
context - root - id -
public static javax.faces.component.UIComponent findFirstMessagesComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent base)
public static void decorateEventAttribute(javax.faces.component.UIComponent component,
java.lang.String attribute,
java.lang.String value)
component - UIComponent instance that the attribute belongs toattribute - Attribute to be changedvalue - Value to be appendedpublic static java.util.Map getParameterMap(javax.faces.component.UIComponent component)
component -
public static java.lang.String getLifecycleId(javax.servlet.ServletContext context)
context -
public static java.util.List getHTMLDataTableColumns(javax.faces.component.html.HtmlDataTable table)
table -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||