Hi folks,

I contributed a couple of trivial fixes as 
diff -u's and emailed them on Sunday 
with [PATCH] subjects as described in
Jakarta's 'how to contribute' pages...
Is this how it is done for the Struts project?
Can I have details of how best to contribute
and the process. The 2 bugs are:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12905
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12908

The two diff's are attached.

Thanks,
Jon Harvey
===================================================================
RCS file: 
/home/cvspublic/jakarta-struts/src/example/org/apache/struts/webapp/example/ApplicationResources.properties,v
retrieving revision 1.8
diff -u -r1.8 ApplicationResources.properties
--- ApplicationResources.properties     21 Jul 2002 18:45:00 -0000      1.8
+++ ApplicationResources.properties     22 Sep 2002 20:56:06 -0000
@@ -72,7 +72,7 @@
 # Standard error messages for validator framework checks
 errors.required={0} is required.
 errors.minlength={0} cannot be less than {1} characters.
-errors.maxlength={0} cannot be greater than {1} characters.
+errors.maxlength={0} cannot be greater than {2} characters.
 errors.invalid={0} is invalid.
 errors.byte={0} must be an byte.
 errors.short={0} must be an short.
===================================================================
RCS file: /home/cvspublic/jakarta-struts/conf/share/validator-rules.xml,v
retrieving revision 1.8
diff -u -r1.8 validator-rules.xml
--- validator-rules.xml 16 Jul 2002 02:37:55 -0000      1.8
+++ validator-rules.xml 22 Sep 2002 21:35:39 -0000
@@ -102,6 +102,7 @@
                 oMinLength = new minlength();
                 for (x in oMinLength) {
                     if (form[oMinLength[x][0]].type == 'text' ||
+                        form[oMinLength[x][0]].type == 'password' ||
                         form[oMinLength[x][0]].type == 'textarea') {
                         var iMin = parseInt(oMinLength[x][2]("minlength"));
                         if (!(form[oMinLength[x][0]].value.length >= iMin)) {
@@ -144,6 +145,7 @@
                 oMaxLength = new maxlength();
                 for (x in oMaxLength) {
                     if (form[oMaxLength[x][0]].type == 'text' ||
+                        form[oMaxLength[x][0]].type == 'password' ||
                         form[oMaxLength[x][0]].type == 'textarea') {
                         var iMax = parseInt(oMaxLength[x][2]("maxlength"));
                         if (!(form[oMaxLength[x][0]].value.length <= iMax)) {


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to