|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.view.facelets.TagHandler
javax.faces.view.facelets.MetaTagHandler
org.apache.myfaces.view.facelets.tag.jsf.ComponentHandler
@Deprecated public class ComponentHandler
Implementation of the tag logic used in the JSF specification. This is your golden hammer for wiring UIComponents to Facelets.
Field Summary |
---|
Fields inherited from class javax.faces.view.facelets.TagHandler |
---|
nextHandler, tag, tagId |
Constructor Summary | |
---|---|
ComponentHandler(javax.faces.view.facelets.ComponentConfig config)
Deprecated. |
Method Summary | |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Deprecated. Method handles UIComponent tree creation in accordance with the JSF 1.2 spec. |
protected void |
applyNextHandler(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent c)
Deprecated. |
protected javax.faces.component.UIComponent |
createComponent(javax.faces.view.facelets.FaceletContext ctx)
Deprecated. 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. |
protected javax.faces.view.facelets.MetaRuleset |
createMetaRuleset(java.lang.Class type)
Deprecated. |
protected java.lang.String |
getFacetName(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Deprecated. Return the Facet name we are scoped in, otherwise null |
protected java.lang.String |
getId(javax.faces.view.facelets.FaceletContext ctx)
Deprecated. If the id TagAttribute was specified, get it's value, otherwise generate a unique id from our tagId. |
protected void |
onComponentCreated(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent c,
javax.faces.component.UIComponent parent)
Deprecated. A hook method for allowing developers to do additional processing once Facelets creates the component. |
protected void |
onComponentPopulated(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent c,
javax.faces.component.UIComponent parent)
Deprecated. |
Methods inherited from class javax.faces.view.facelets.MetaTagHandler |
---|
setAttributes |
Methods inherited from class javax.faces.view.facelets.TagHandler |
---|
getAttribute, getRequiredAttribute, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComponentHandler(javax.faces.view.facelets.ComponentConfig config)
Method Detail |
---|
public final void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws java.io.IOException, javax.faces.FacesException, javax.el.ELException
getId(FaceletContext)
.mark
its children for deletion.createComponent
.
attributes
finalize
for deletion.
javax.faces.view.facelets.TagException
- if the UIComponent parent is null
java.io.IOException
javax.faces.FacesException
javax.el.ELException
FaceletHandler.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)
protected javax.faces.view.facelets.MetaRuleset createMetaRuleset(java.lang.Class type)
createMetaRuleset
in class javax.faces.view.facelets.MetaTagHandler
protected void onComponentCreated(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent c, javax.faces.component.UIComponent parent)
ctx
- c
- parent
- protected void onComponentPopulated(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent c, javax.faces.component.UIComponent parent)
protected void applyNextHandler(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent c) throws java.io.IOException, javax.faces.FacesException, javax.el.ELException
java.io.IOException
javax.faces.FacesException
javax.el.ELException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |