You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2009/04/02 17:16:12 UTC

[jira] Commented: (TRINIDAD-1441) Facelets: Need Custom Validator and Converter handlers

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