myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dora Rajappan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-1892) validator element in faces-config should support nested attribute and property definitions
Date Thu, 25 Apr 2013 10:16:16 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641628#comment-13641628
] 

Dora Rajappan commented on MYFACES-1892:
----------------------------------------

Not tested with Mojarra. Can I know the version of mojarra and where can I download it? Oracles
reference implementation formerly Suns? Can I download the source to check that?
                
> 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-New.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:
> <validator>
>    <validator-id>xyValidtor</validator-name>
>    <validator-class>com.xy.XyValidator</validator-class>
>    <property>
>       <property-name>length</property-name>
>       <property-class>java.lang.Integer</property>
>       <default-value>40</default-value>
>    </property>
> </validator> 
> 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

Mime
View raw message