struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Mawata (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-3074) Naming conventions for xml elements of *-validation.xml files are inconsistent
Date Sat, 04 Apr 2009 13:56:06 GMT
Naming conventions for xml elements of *-validation.xml files are inconsistent
------------------------------------------------------------------------------

                 Key: WW-3074
                 URL: https://issues.apache.org/struts/browse/WW-3074
             Project: Struts 2
          Issue Type: Improvement
            Reporter: Chris Mawata


Names of validators are all lower case but the names of their parameters are camel case
e.g.
<field-validator type="stringlength">
    <param name="maxLength">25</param>
	<message>...</message>
</field-validator>

Since they are literal strings you don't notice unless you have tests for your validations


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message