Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 11647 invoked from network); 2 Apr 2009 15:16:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 15:16:39 -0000 Received: (qmail 24160 invoked by uid 500); 2 Apr 2009 15:16:36 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 24078 invoked by uid 500); 2 Apr 2009 15:16:36 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 24062 invoked by uid 99); 2 Apr 2009 15:16:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 15:16:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 15:16:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EDC43234C003 for ; Thu, 2 Apr 2009 08:16:12 -0700 (PDT) Message-ID: <365167372.1238685372960.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 08:16:12 -0700 (PDT) From: "Max Starets (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (TRINIDAD-1441) Facelets: Need Custom Validator and Converter handlers In-Reply-To: <2003123225.1238612419509.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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.