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/01 21:00:19 UTC

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

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


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.


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

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated TRINIDAD-1441:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.12-core
         Assignee: Matthias Weßendorf
           Status: Resolved  (was: Patch Available)

> 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
>            Assignee: Matthias Weßendorf
>             Fix For:  1.2.12-core
>
>         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.


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

Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
    [ 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.


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

Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Starets updated TRINIDAD-1441:
----------------------------------

    Status: Patch Available  (was: Open)

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