|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.view.facelets.TagHandlerDelegate
org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate
public class ComponentTagHandlerDelegate
Implementation of the tag logic used in the JSF specification.
ComponentHandler| Constructor Summary | |
|---|---|
ComponentTagHandlerDelegate(javax.faces.view.facelets.ComponentHandler delegate)
|
|
| Method Summary | |
|---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Method handles UIComponent tree creation in accordance with the JSF 1.2 spec. |
protected javax.faces.component.UIComponent |
createComponent(javax.faces.view.facelets.FaceletContext ctx)
If the binding attribute was specified, use that in conjuction with our componentType String variable to call createComponent on the Application, otherwise just pass the componentType String. |
javax.faces.view.facelets.MetaRuleset |
createMetaRuleset(java.lang.Class type)
|
protected java.lang.String |
getFacetName(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Return the Facet name we are scoped in, otherwise null |
protected java.lang.String |
getId(javax.faces.view.facelets.FaceletContext ctx)
If the id TagAttribute was specified, get it's value, otherwise generate a unique id from our tagId. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentTagHandlerDelegate(javax.faces.view.facelets.ComponentHandler delegate)
| Method Detail |
|---|
public void apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException
getId(FaceletContext).mark its children for deletion.createComponent.
attributesfinalize
for deletion.
apply in class javax.faces.view.facelets.TagHandlerDelegatejavax.faces.view.facelets.TagException - if the UIComponent parent is null
java.io.IOExceptionFaceletHandler.apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)
protected final java.lang.String getFacetName(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
ctx -
protected javax.faces.component.UIComponent createComponent(javax.faces.view.facelets.FaceletContext ctx)
ctx - FaceletContext to use in creating a component
Application.createComponent(javax.faces.el.ValueBinding, javax.faces.context.FacesContext, java.lang.String),
Application.createComponent(java.lang.String)protected java.lang.String getId(javax.faces.view.facelets.FaceletContext ctx)
ctx - FaceletContext to use
TagAttribute.getValue(FaceletContext)public javax.faces.view.facelets.MetaRuleset createMetaRuleset(java.lang.Class type)
createMetaRuleset in class javax.faces.view.facelets.TagHandlerDelegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||