|
||||||||||
| 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(ConverterConfig config)
Deprecated. |
|
ConvertHandler(TagConfig config)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Deprecated. Set Converter instance on parent ValueHolder if it's not being restored. |
protected Converter |
createConverter(FaceletContext ctx)
Deprecated. Create a Converter instance |
protected MetaRuleset |
createMetaRuleset(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(TagConfig config)
config - public ConvertHandler(ConverterConfig config)
| Method Detail |
|---|
public final void apply(FaceletContext ctx,
UIComponent parent)
throws IOException,
FacesException,
FaceletException,
javax.el.ELException
createConverter.setAttributes on Converter instance.
IOException
FacesException
FaceletException
javax.el.ELExceptionValueHolder,
Converter,
createConverter(FaceletContext),
FaceletHandler.apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)protected Converter createConverter(FaceletContext ctx)
ctx - FaceletContext to use
protected MetaRuleset createMetaRuleset(Class type)
MetaTagHandlerImpl
createMetaRuleset in class MetaTagHandlerImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||