|
||||||||||
| 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.MetaTagHandlerImpl
org.apache.myfaces.view.facelets.tag.jsf.ConvertHandler
@Deprecated public class ConvertHandler
Handles setting a Converter instance on a ValueHolder. Will wire all attributes set to the Converter instance created/fetched. Uses the "binding" attribute for grabbing instances to apply attributes to.
Will only set/create Converter is the passed UIComponent's parent is null, signifying that it wasn't restored from an existing tree.
ConverterELTag,
Converter,
ValueHolder| Field Summary |
|---|
| Fields inherited from class javax.faces.view.facelets.TagHandler |
|---|
nextHandler, tag, tagId |
| Constructor Summary | |
|---|---|
ConvertHandler(javax.faces.view.facelets.ConverterConfig config)
Deprecated. |
|
ConvertHandler(javax.faces.view.facelets.TagConfig config)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Deprecated. Set Converter instance on parent ValueHolder if it's not being restored. |
protected javax.faces.convert.Converter |
createConverter(javax.faces.view.facelets.FaceletContext ctx)
Deprecated. Create a Converter instance |
protected javax.faces.view.facelets.MetaRuleset |
createMetaRuleset(java.lang.Class type)
Deprecated. Extend this method in order to add your own rules. |
| 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 ConvertHandler(javax.faces.view.facelets.TagConfig config)
config - public ConvertHandler(javax.faces.view.facelets.ConverterConfig 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.faces.view.facelets.FaceletException,
javax.el.ELException
createConverter.setAttributes on Converter instance.
java.io.IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELExceptionValueHolder,
Converter,
createConverter(FaceletContext),
FaceletHandler.apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)protected javax.faces.convert.Converter createConverter(javax.faces.view.facelets.FaceletContext ctx)
ctx - FaceletContext to use
protected javax.faces.view.facelets.MetaRuleset createMetaRuleset(java.lang.Class type)
MetaTagHandlerImpl
createMetaRuleset in class MetaTagHandlerImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||