Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BD3D10959 for ; Thu, 2 May 2013 01:01:28 +0000 (UTC) Received: (qmail 6564 invoked by uid 500); 2 May 2013 01:01:28 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 6425 invoked by uid 500); 2 May 2013 01:01:27 -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 6411 invoked by uid 99); 2 May 2013 01:01:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 01:01:27 +0000 Date: Thu, 2 May 2013 01:01:27 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MYFACES-1892) validator element in faces-config should support nested attribute and property definitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647147#comment-13647147 ] Leonardo Uribe commented on MYFACES-1892: ----------------------------------------- I know it could be a good idea to do it, but if the reference implementation (in this case mojarra) does not provide the feature, it is probably because that was not the idea. In that case, the best thing to do is ask to the expert group first, filling an issue in: https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC and just put a reference to this issue to remind where it came from. > validator element in faces-config should support nested attribute and property definitions > ------------------------------------------------------------------------------------------ > > Key: MYFACES-1892 > URL: https://issues.apache.org/jira/browse/MYFACES-1892 > Project: MyFaces Core > Issue Type: Bug > Components: General > Affects Versions: 1.2.3 > Reporter: Simon Kitching > Attachments: MYFACES-1892.patch > > > As shown in this dtd: > http://java.sun.com/dtd/web-facesconfig_1_1.dtd > the validator element in a faces-config.xml file should support nested attribute and property elements: > > xyValidtor > com.xy.XyValidator > > length > java.lang.Integer > 40 > > > However this appears to never have been implemented in either 1.1.x or 1.2.x of core; only validator-id and validator-class are supported. Note that the equivalent feature exists for converters, and does appear to have been implemented. > See the digester rules registered in the constructor for class > org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl > Reported by Joerg (superjoerch at gmx.de) on the myfaces user list, -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira