[jira] [Updated] (MYFACES-1892) validator element in faces-config should support nested attribute and property definitions

2015-08-31 Thread Thomas Andraschko (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYFACES-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Andraschko updated MYFACES-1892:
---
Status: Open  (was: Patch Available)

> 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: 1892api1_attribute.patch, 1892api2_attribute.patch, 
> 1892impl1_attribute.patch, 1892impl2_attribute.patch, 
> 1892impl3_attribute.patch, 1892impl4_attribute.patch, 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 was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MYFACES-1892) validator element in faces-config should support nested attribute and property definitions

2013-04-13 Thread Dora Rajappan (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYFACES-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dora Rajappan updated MYFACES-1892:
---

Status: Patch Available  (was: Open)

 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

 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-idxyValidtor/validator-name
validator-classcom.xy.XyValidator/validator-class
property
   property-namelength/property-name
   property-classjava.lang.Integer/property
   default-value40/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