|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.render.RenderUtils
public class RenderUtils
Generic utilities for rendering.
Method Summary | |
---|---|
static void |
encodeRecursive(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Encodes a component and all of its children. |
static java.lang.String |
getFormId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Retrieves id of the form the component is contained in. |
static java.lang.String |
getRelativeId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent from,
java.lang.String relativeId)
Returns a relative ID for use at rendering time, e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void encodeRecursive(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
public static java.lang.String getFormId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
context
- the faces context objectcomponent
- UIComponent whose container form id is to be retuirned
public static java.lang.String getRelativeId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent from, java.lang.String relativeId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |