myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yee-Wah Lee (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-60) When used with facelets tr:validateDateTimeRange can't take "yyyy-MM-dd" arguments
Date Tue, 01 Dec 2009 17:32:20 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784299#action_12784299
] 

Yee-Wah Lee commented on TRINIDAD-60:
-------------------------------------

Related to TRINIDAD-1441? That is fixed on 1.2.12-core

> When used with facelets tr:validateDateTimeRange can't take "yyyy-MM-dd" arguments
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-60
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-60
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components, Facelets
>    Affects Versions: 1.0.1-core
>            Reporter: Thorsten Guenther
>
> java.lang.IllegalArgumentException: Cannot convert 2007-09-20 of type class java.lang.String
to class java.util.Date
> 	at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:367)
> 	at com.sun.el.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:52)
> 	at com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:45)
> 	at com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36)
> 	at com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:62)
> 	at com.sun.facelets.tag.jsf.ValidateHandler.apply(ValidateHandler.java:98)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message