org.apache.myfaces.view.facelets.tag.jsf.core
Class ConvertDateTimeHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by javax.faces.view.facelets.MetaTagHandler
          extended by javax.faces.view.facelets.DelegatingMetaTagHandler
              extended by javax.faces.view.facelets.FaceletsAttachedObjectHandler
                  extended by javax.faces.view.facelets.ConverterHandler
                      extended by org.apache.myfaces.view.facelets.tag.jsf.core.ConvertDateTimeHandler
All Implemented Interfaces:
AttachedObjectHandler, FaceletHandler, ValueHolderAttachedObjectHandler

Deprecated. use

@JSFFaceletTag(name="f:convertDateTime",
               bodyContent="empty",
               converterClass="javax.faces.convert.DateTimeConverter")
public final class ConvertDateTimeHandler
extends ConverterHandler

Register a DateTimeConverter instance on the UIComponent associated with the closest parent UIComponent custom action.

See tag documentation.

Version:
$Id: ConvertDateTimeHandler.java 1194861 2011-10-29 10:02:34Z struberg $
Author:
Jacob Hookom

Field Summary
 
Fields inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
ConvertDateTimeHandler(ConverterConfig config)
          Deprecated.  
 
Method Summary
protected  Converter createConverter(FaceletContext ctx)
          Deprecated. Returns a new DateTimeConverter
protected  MetaRuleset createMetaRuleset(Class type)
          Deprecated.  
 void setAttributes(FaceletContext ctx, Object obj)
          Deprecated. Implements tag spec, see taglib documentation.
 
Methods inherited from class javax.faces.view.facelets.ConverterHandler
getConverterId, getTagHandlerDelegate
 
Methods inherited from class javax.faces.view.facelets.FaceletsAttachedObjectHandler
applyAttachedObject, getAttachedObjectHandlerHelper, getFor
 
Methods inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, getBinding, getTag, getTagAttribute, getTagId, isDisabled
 
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
 
Methods inherited from interface javax.faces.view.AttachedObjectHandler
applyAttachedObject, getFor
 

Constructor Detail

ConvertDateTimeHandler

public ConvertDateTimeHandler(ConverterConfig config)
Deprecated. 
Parameters:
config -
Method Detail

createConverter

protected Converter createConverter(FaceletContext ctx)
                             throws FacesException,
                                    javax.el.ELException,
                                    FaceletException
Deprecated. 
Returns a new DateTimeConverter

Throws:
FacesException
javax.el.ELException
FaceletException
See Also:
DateTimeConverter, javax.faces.view.facelets.ConverterHandler#createConverter(javax.faces.view.facelets.FaceletContext)

setAttributes

public void setAttributes(FaceletContext ctx,
                          Object obj)
Deprecated. 
Implements tag spec, see taglib documentation.

Overrides:
setAttributes in class DelegatingMetaTagHandler
See Also:
org.apache.myfaces.view.facelets.tag.ObjectHandler#setAttributes(javax.faces.view.facelets.FaceletContext, java.lang.Object)

createMetaRuleset

protected MetaRuleset createMetaRuleset(Class type)
Deprecated. 
Overrides:
createMetaRuleset in class DelegatingMetaTagHandler


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.