myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Starets (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1441) Facelets: Need Custom Validator and Converter handlers
Date Thu, 02 Apr 2009 15:16:12 GMT

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

Max Starets commented on TRINIDAD-1441:
---------------------------------------

One more problem - tr:chooseDate fails when min/maxValue are specified, and tr:validateDateTimeRange
fails when minimum/maximum are specified. We need a new metarule for converting String to
Date.
Updating the patch.

> Facelets: Need Custom Validator and Converter handlers
> ------------------------------------------------------
>
>                 Key: TRINIDAD-1441
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1441
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions:  1.2.11-core
>            Reporter: Max Starets
>         Attachments: plugins.patch, trinidad-new.zip, trinidad.patch
>
>
> There are two problems that have been reported for our Converter and Validator tags:
> 1) Users are getting an exception with the convertColor because the "patterns" property
value cannot be
> converted from String to String [].
> 2) The default base implementation of the ConvertHandler and ValidateHandler does not
call setValueExpression()
> on our converters/validators like it does for components, so all EL gets resolved during
tag execution (our JSP tags acll
> setValueExpression()).
> We need to create our custom Validator and Converter tag handlers and add meta rules
for String arrays and ValueExpression.

-- 
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