|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.view.facelets.tag.jsf.ComponentSupport
public final class ComponentSupport
| Field Summary | |
|---|---|
static java.lang.String |
FACET_CREATED_UIPANEL_MARKER
The UIPanel components, which are dynamically generated to serve as a container for facets with multiple non panel children, are marked with this attribute. |
static java.lang.String |
MARK_CREATED
|
| Constructor Summary | |
|---|---|
ComponentSupport()
|
|
| Method Summary | |
|---|---|
static void |
addFacet(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
javax.faces.component.UIComponent c,
java.lang.String facetName)
|
static void |
encodeRecursive(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent toRender)
|
static void |
finalizeForDeletion(javax.faces.component.UIComponent component)
Deprecated. use FaceletCompositionContext.finalizeForDeletion |
static javax.faces.component.UIComponent |
findChild(javax.faces.component.UIComponent parent,
java.lang.String id)
A lighter-weight version of UIComponent's findChild. |
static javax.faces.component.UIComponent |
findChildByTagId(javax.faces.component.UIComponent parent,
java.lang.String id)
By TagId, find Child |
static java.util.Locale |
getLocale(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.view.facelets.TagAttribute attr)
According to JSF 1.2 tag specs, this helper method will use the TagAttribute passed in determining the Locale intended. |
static javax.faces.component.UIViewRoot |
getViewRoot(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Tries to walk up the parent to find the UIViewRoot, if not found, then go to FaceletContext's FacesContext for the view root. |
static boolean |
isNew(javax.faces.component.UIComponent component)
Deprecated. use ComponentHandler.isNew |
static void |
markComponentToRestoreFully(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static void |
markForDeletion(javax.faces.component.UIComponent component)
Deprecated. use FaceletCompositionContext.markForDeletion |
static void |
removeFacet(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
javax.faces.component.UIComponent c,
java.lang.String facetName)
|
static void |
removeTransient(javax.faces.component.UIComponent component)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MARK_CREATED
public static final java.lang.String FACET_CREATED_UIPANEL_MARKER
| Constructor Detail |
|---|
public ComponentSupport()
| Method Detail |
|---|
@Deprecated public static void finalizeForDeletion(javax.faces.component.UIComponent component)
component - UIComponent to finalize
public static javax.faces.component.UIComponent findChild(javax.faces.component.UIComponent parent,
java.lang.String id)
parent - parent to start searching fromid - to match to
public static javax.faces.component.UIComponent findChildByTagId(javax.faces.component.UIComponent parent,
java.lang.String id)
parent - id -
public static java.util.Locale getLocale(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.view.facelets.TagAttribute attr)
throws javax.faces.view.facelets.TagAttributeException
ctx - FaceletContext to evaluate fromattr - TagAttribute representing a Locale
javax.faces.view.facelets.TagAttributeException - if the Locale cannot be determined
public static javax.faces.component.UIViewRoot getViewRoot(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
ctx - FaceletContextparent - UIComponent to search from
@Deprecated public static void markForDeletion(javax.faces.component.UIComponent component)
component - UIComponent to markfinalizeForDeletion(UIComponent)
public static void encodeRecursive(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent toRender)
throws java.io.IOException,
javax.faces.FacesException
java.io.IOException
javax.faces.FacesExceptionpublic static void removeTransient(javax.faces.component.UIComponent component)
@Deprecated public static boolean isNew(javax.faces.component.UIComponent component)
component - the component you wish to modify
public static void addFacet(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
javax.faces.component.UIComponent c,
java.lang.String facetName)
public static void removeFacet(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
javax.faces.component.UIComponent c,
java.lang.String facetName)
public static void markComponentToRestoreFully(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||