Re: svn commit: r569926 - in /struts/struts1/trunk/core/src: main/java/org/apache/struts/validator/validwhen/ test/java/org/apache/struts/validator/

2007-09-11 Thread Antonio Petrelli
2007/9/11, Paul Benedict <[EMAIL PROTECTED]>: > > Oh, the .g file is pure human. :-) In this case I agree with Niall :-) Antonio

Re: svn commit: r569926 - in /struts/struts1/trunk/core/src: main/java/org/apache/struts/validator/validwhen/ test/java/org/apache/struts/validator/

2007-09-11 Thread Paul Benedict
Oh, the .g file is pure human. :-) On 9/11/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > 2007/9/11, Niall Pemberton <[EMAIL PROTECTED]>: > > > > I really dislike changes where as well as the bug/enhancement > > modifications there are also a mass of style/formatting changes - > > makes it re

Re: svn commit: r569926 - in /struts/struts1/trunk/core/src: main/java/org/apache/struts/validator/validwhen/ test/java/org/apache/struts/validator/

2007-09-11 Thread Antonio Petrelli
2007/9/11, Niall Pemberton <[EMAIL PROTECTED]>: > > I really dislike changes where as well as the bug/enhancement > modifications there are also a mass of style/formatting changes - > makes it really difficult to pick out the actual changes from the > noise in ValidWhenParser.g I suppose that th

Re: svn commit: r552390 - in /struts/struts1/trunk/core/src/main/java/org/apache/struts/validator: FieldChecks.java LocalStrings.properties

2007-07-06 Thread Paul Benedict
Niall Pemberton wrote: I agree that hiding the errors (e.g. someone mis-typing a field name in their XML) was/is bad and I'm sure causes alot of grief - and with the Validator changes, no reason to not do this - which is why when I commented I didn't object to the change. What is important is tha

Re: svn commit: r552390 - in /struts/struts1/trunk/core/src/main/java/org/apache/struts/validator: FieldChecks.java LocalStrings.properties

2007-07-06 Thread Niall Pemberton
On 7/6/07, Paul Benedict <[EMAIL PROTECTED]> wrote: Can you give me more direction on this point? You said people might rely on this functionality, but while that may be true, it's also highly unlikely anyone is because a log error entry was always emitted. To allow the validation to then succeed

Re: svn commit: r552390 - in /struts/struts1/trunk/core/src/main/java/org/apache/struts/validator: FieldChecks.java LocalStrings.properties

2007-07-05 Thread Paul Benedict
Can you give me more direction on this point? You said people might rely on this functionality, but while that may be true, it's also highly unlikely anyone is because a log error entry was always emitted. To allow the validation to then succeed opens up an unpredictable situation for the appli

Re: svn commit: r552390 - in /struts/struts1/trunk/core/src/main/java/org/apache/struts/validator: FieldChecks.java LocalStrings.properties

2007-07-05 Thread Paul Benedict
552390 Log: STR-2611: Log form name and field when accessing property fails Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/LocalStrings.properties Modified: struts/str

Re: svn commit: r552390 - in /struts/struts1/trunk/core/src/main/java/org/apache/struts/validator: FieldChecks.java LocalStrings.properties

2007-07-05 Thread Niall Pemberton
and field when accessing property fails Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/LocalStrings.properties Modified: struts/struts1/trunk/core/src/main/java/org/apache/s

Using Struts Validator framework

2007-03-18 Thread Kaushal, Anubhav
Hi, I am using Struts Validator framework and DynaActionForm for performing form data validations. The user input is taken and then corresponding record is fetched from the database. Depending on the query result, I need to display appropriate message to the user. How can I achieve this ? It

Re: Struts Validator - Generating Illegal HTML

2006-11-22 Thread Niall Pemberton
t;[EMAIL PROTECTED]> wrote: Hi All, I am currently using the struts validator (Struts 1.2.9) to create some client side validation code for one of my JSP pages. The problem I have is that some of the JavaScript it creates includes some JavaDoc comments such as: /*$RCSfile: validateMaxLength.

Struts Validator - Generating Illegal HTML

2006-11-22 Thread Neil Sherman/Trapsoft Inc
Hi All, I am currently using the struts validator (Struts 1.2.9) to create some client side validation code for one of my JSP pages. The problem I have is that some of the JavaScript it creates includes some JavaDoc comments such as: /*$RCSfile: validateMaxLength.js,v $ $Rev: 376673

Re: change the presentation of struts validator framework errors on jsp page?

2006-11-02 Thread Laurie Harper
This is really a discussion for the Struts Users list, rather than the dev list; please follow up with any further questions there. However, in brief, there is currently no support for displaying client-side validation errors as in-line HTML like you show server-side validation errors. Simply

RE: change the presentation of struts validator framework errors on jsp page?

2006-11-02 Thread Sarry
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/change-the-presentation-of-struts-validator-framework-errors-on-jsp-page--tf2563096.html#a7145082 Se

RE: change the presentation of struts validator framework errors on jsp page?

2006-11-02 Thread Dave Newton
User list. > I would like to know if there is any way to change the presentation of > struts validators framework errors. http://struts.apache.org/1.2.x/userGuide/struts-html.html#errors Dave - To unsubscribe, e-mail: [EMAIL PR

change the presentation of struts validator framework errors on jsp page?

2006-11-02 Thread Sarry
. Regards, Sarry http://www.jguru.com/forums/view.jsp?EID=1318059 http://www.jguru.com/forums/view.jsp?EID=1318059 -- View this message in context: http://www.nabble.com/change-the-presentation-of-struts-validator-framework-errors-on-jsp-page--tf2563096.html#a7143718 Sent from the Struts - Dev mailing

Re: [jira] Created: (STR-2964) Struts automatic Validator issue ( Cannot load a validator resource from '/org/apache/struts/validator/validator-rules.xml, /WEB-INF/validation.xml')

2006-11-02 Thread Marcos
Hi, I'm having the same bug in Tomcat 5.5 (run inside Eclipse 3.2.1 with wtp 1.5 and java2SDK 1.5) Only '/org/apache/struts/validator/validator-rules.xml' - OK, pass Only '/WEB-INF/validation.xml' - Error, not pass ===Tomcat log 01/11/2006 14:27:32 org.apache.coyote

Problem in Mask Rule of Struts Validator for Different Languages

2006-08-03 Thread Mahesh More
Hi , I am using Struts validator and mask rule for Validating my Fields like : mask ^\w+$ minlength

Re: Question about Struts validator

2006-06-26 Thread Wendy Smoak
On 6/26/06, mosho <[EMAIL PROTECTED]> wrote: I want to validate a form ... Please post your question on the user list. See: http://struts.apache.org/mail.html Or, since your message footer indicates that you're using Nabble: http://www.nabble.com/Struts---User-f206.html -- Wendy ---

Question about Struts validator

2006-06-26 Thread mosho
Hi All, I want to validate a form by using struts validator, it is working fine. It validates the form if click submit button, and it also validates the form if I pass it as a url for example: http://111.22.80.244:8989/eNOI/test.do I want to validate the form only if I hit submit button not by

svn commit: r397767 - /struts/action/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java

2006-04-27 Thread mrdon
Author: mrdon Date: Thu Apr 27 22:34:08 2006 New Revision: 397767 URL: http://svn.apache.org/viewcvs?rev=397767&view=rev Log: Adding better string length handling STR-2724 Modified: struts/action/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java Modified: struts/ac

[jira] Closed: (STR-1758) In struts-validator example, formset lacks some form definitions.

2006-04-25 Thread David Evans (JIRA)
[ http://issues.apache.org/struts/browse/STR-1758?page=all ] David Evans closed STR-1758: Resolution: Fixed > In struts-validator example, formset lacks some form definiti

[jira] Reopened: (STR-1758) In struts-validator example, formset lacks some form definitions.

2006-04-25 Thread David Evans (JIRA)
[ http://issues.apache.org/struts/browse/STR-1758?page=all ] David Evans reopened STR-1758: -- Assign To: David Evans (was: Struts Developer Mailing List) > In struts-validator example, formset lacks some form definiti

Re: svn commit: r377460 - in /struts/action/trunk/src/java/org/apache/struts/validator: DynaValidatorActionForm.java ValidatorActionForm.java

2006-02-13 Thread Paul Benedict
Ted, >> By default, when an Action is cancelled, validation is bypassed >>and the Action should not execute the business operation. I think you wording is confusing. When I read "should not execute the business operation" I strongly inferred "should not execute the execute

svn commit: r377460 - in /struts/action/trunk/src/java/org/apache/struts/validator: DynaValidatorActionForm.java ValidatorActionForm.java

2006-02-13 Thread husted
Removed: struts/action/trunk/src/java/org/apache/struts/validator/DynaValidatorActionForm.java struts/action/trunk/src/java/org/apache/struts/validator/ValidatorActionForm.java - To unsubscribe, e-mail: [EMAIL PROTE

svn commit: r376984 - in /struts/extras/trunk/src/java/org/apache/struts/validator: DynaValidatorActionForm.java ValidatorActionForm.java

2006-02-11 Thread husted
e. Added: struts/extras/trunk/src/java/org/apache/struts/validator/DynaValidatorActionForm.java - copied unchanged from r376981, struts/action/trunk/src/java/org/apache/struts/validator/DynaValidatorActionForm.java struts/extras/trunk/src/java/org/apache/struts/

svn commit: r376982 - /struts/extras/trunk/src/java/org/apache/struts/validator/

2006-02-11 Thread husted
Author: husted Date: Sat Feb 11 06:25:36 2006 New Revision: 376982 URL: http://svn.apache.org/viewcvs?rev=376982&view=rev Log: Extras * Create validator package in Extras subproject Added: struts/extras/trunk/src/java/org/apache/struts/valid

svn commit: r376718 - /struts/action/trunk/src/test/org/apache/struts/validator/TestValidWhen.java

2006-02-10 Thread husted
ruts/validator/TestValidWhen.java Modified: struts/action/trunk/src/test/org/apache/struts/validator/TestValidWhen.java URL: http://svn.apache.org/viewcvs/struts/action/trunk/src/test/org/apache/struts/validator/TestValidWhen.java?rev=376718&r1=376717&r2=3767

DO NOT REPLY [Bug 8446] - Struts Validator: zero values are not validated as byte, integer, etc.

2005-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug

DO NOT REPLY [Bug 8446] - Struts Validator: zero values are not validated as byte, integer, etc.

2005-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug

svn commit: r289694 - in /struts: core/trunk/src/java/org/apache/struts/validator/ core/trunk/src/java/org/apache/struts/validator/validwhen/ taglib/trunk/src/java/org/apache/struts/taglib/html/

2005-09-16 Thread niallp
own to the user and details of the problem logged. Previously validation just passed with no indication there was any kind of problem. Added: struts/core/trunk/src/java/org/apache/struts/validator/LocalStrings.properties (with props) Modified: struts/core/trunk/src/java/org/apache

svn commit: r279861 - in /struts/core/trunk: conf/java/validator-rules.xml src/java/org/apache/struts/validator/FieldChecks.java

2005-09-09 Thread mrdon
fied: struts/core/trunk/conf/java/validator-rules.xml struts/core/trunk/src/java/org/apache/struts/validator/FieldChecks.java Modified: struts/core/trunk/conf/java/validator-rules.xml URL: http://svn.apache.org/viewcvs/struts/core/trunk/conf/java/validator-rules.xml?rev=279861&r1=279860&a

svn commit: r264700 - /struts/core/trunk/src/share/org/apache/struts/validator/ValidatorPlugIn.java

2005-08-29 Thread mrdon
create a path from Modified: struts/core/trunk/src/share/org/apache/struts/validator/ValidatorPlugIn.java Modified: struts/core/trunk/src/share/org/apache/struts/validator/ValidatorPlugIn.java URL: http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/

svn commit: r209996 - /struts/core/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java

2005-07-09 Thread hrabago
Author: hrabago Date: Sat Jul 9 22:35:24 2005 New Revision: 209996 URL: http://svn.apache.org/viewcvs?rev=209996&view=rev Log: Document the non-serializable limitation of WrapDynaBean. Modified: struts/core/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java Modi

svn commit: r191349 - in /struts/core/trunk: conf/share/validator-rules.xml doc/userGuide/dev_validator.xml src/share/org/apache/struts/validator/FieldChecks.java

2005-06-19 Thread mrdon
ruts/core/trunk/src/share/org/apache/struts/validator/FieldChecks.java Modified: struts/core/trunk/conf/share/validator-rules.xml URL: http://svn.apache.org/viewcvs/struts/core/trunk/conf/share/validator-rules.xml?rev=191349&r1=191348&r2=1913

svn commit: r164862 - /struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/DynaValidatorForm.java

2005-04-26 Thread niallp
ANCH/src/share/org/apache/struts/validator/DynaValidatorForm.java Modified: struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/DynaValidatorForm.java URL: http://svn.apache.org/viewcvs/struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/valid

svn commit: r164831 - /struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/BeanValidatorForm.java

2005-04-26 Thread niallp
ruts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/BeanValidatorForm.java Modified: struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/BeanValidatorForm.java URL: http://svn.apache.org/viewcvs/struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/ap

svn commit: r164825 - /struts/core/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java

2005-04-26 Thread niallp
Author: niallp Date: Tue Apr 26 09:45:31 2005 New Revision: 164825 URL: http://svn.apache.org/viewcvs?rev=164825&view=rev Log: Update copright notice - add 2005 Modified: struts/core/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java Modified: struts/core/trunk/src/s

svn commit: r164814 - /struts/core/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java

2005-04-26 Thread niallp
/org/apache/struts/validator/BeanValidatorForm.java Modified: struts/core/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java URL: http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java?rev=164814&r1=164813&r2=1648

svn commit: r164729 - /struts/core/trunk/src/share/org/apache/struts/validator/DynaValidatorForm.java

2005-04-25 Thread mrdon
Author: mrdon Date: Mon Apr 25 20:29:31 2005 New Revision: 164729 URL: http://svn.apache.org/viewcvs?rev=164729&view=rev Log: Adding check for null page value and throwing more informative exception PR: 19901 Modified: struts/core/trunk/src/share/org/apache/struts/valid

Re: Struts Validator Illegal Argument Exception - Digester problem?

2005-04-20 Thread Niall Pemberton
Can you ask this type of question on the user list please. Niall - Original Message - From: "Liu, Benson" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 20, 2005 9:44 PM Subject: Struts Validator Illegal Argument Exception - Digester problem? Hi, I'm working

Struts Validator Illegal Argument Exception - Digester problem?

2005-04-20 Thread Liu, Benson
Hi, I'm working on a Struts/Tiles web app with Websphere 5.1.2 and Struts 1.2.4 I'm getting exceptions when trying to use the Validator framework. After debugging, it almost seems as if the strut-config.xml is not being properly digested. The property maps of the Plug-Ins are always null. Thu

svn commit: r160728 - struts/core/trunk/src/share/org/apache/struts/validator/FieldChecks.java

2005-04-09 Thread jmitchell
Author: jmitchell Date: Sat Apr 9 19:13:05 2005 New Revision: 160728 URL: http://svn.apache.org/viewcvs?view=rev&rev=160728 Log: Extract method for better code reuse - as described by Simion Report Modified: struts/core/trunk/src/share/org/apache/struts/validator/FieldChecks.java Modi

svn commit: r159609 - struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/validwhen/ValidWhen.java

2005-03-31 Thread niallp
validation to fail - for validation to fail and error message also needs to be added. This causes alot of confusion for users, since if they mess up the 'test' expression, then validation passes! This change rectifys that. Modified: struts/core/branches/STRUTS_1_2_BRANC

svn commit: r159608 - struts/core/trunk/src/share/org/apache/struts/validator/validwhen/ValidWhen.java

2005-03-31 Thread niallp
ge also needs to be added. This causes alot of confusion for users, since if they mess up the 'test' expression, then validation passes! This change rectifys that. Modified: struts/core/trunk/src/share/org/apache/struts/validator/validwhen/ValidWhen.java Modified: struts

svn commit: r159291 - in struts/core/branches/STRUTS_1_2_BRANCH: conf/share/ doc/userGuide/ src/share/org/apache/struts/action/ src/share/org/apache/struts/taglib/ src/share/org/apache/struts/taglib/html/ src/share/org/apache/struts/validator/ src/share/org/apache/struts/validator/validwhen/

2005-03-28 Thread niallp
/org/apache/struts/validator/FieldChecks.java struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/Resources.java struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/validwhen/ValidWhen.java Modified: struts/core/branches/STRUTS_1_2_BRANCH/

svn commit: r159268 - in struts/core/trunk: conf/share/validator-rules.xml src/share/org/apache/struts/action/ActionMessage.java src/share/org/apache/struts/validator/FieldChecks.java src/share/org/apache/struts/validator/Resources.java src/share/org/apache/struts/validator/validwhen/ValidWhen.java

2005-03-28 Thread niallp
core/trunk/src/share/org/apache/struts/action/ActionMessage.java struts/core/trunk/src/share/org/apache/struts/validator/FieldChecks.java struts/core/trunk/src/share/org/apache/struts/validator/Resources.java struts/core/trunk/src/share/org/apache/struts/validator/validwhen/ValidWhen.

svn commit: r151103 - in struts/taglib/trunk/src: java/org/apache/struts/taglib/ java/org/apache/struts/taglib/html/ test/org/apache/struts/taglib/html/ test/org/apache/struts/taglib/logic/ webapp/test/java/org/apache/struts/action/ webapp/test/java/org/apache/struts/util/ webapp/test/java/org/apache/struts/validator/

2005-02-02 Thread jmitchell
/src/webapp/test/java/org/apache/struts/action/TestDynaActionFormClass.java struts/taglib/trunk/src/webapp/test/java/org/apache/struts/util/TestRequestUtils.java struts/taglib/trunk/src/webapp/test/java/org/apache/struts/validator/PojoBean.java Modified: struts/taglib/trunk/src/java/org/ap

svn commit: r151074 - in struts/core/trunk/src: share/org/apache/struts/action/ share/org/apache/struts/chain/commands/ share/org/apache/struts/util/ share/org/apache/struts/validator/ share/org/apache/struts/validator/validwhen/ test/org/apache/struts/action/ test/org/apache/struts/util/

2005-02-02 Thread jmitchell
ruts/validator/FieldChecks.java struts/core/trunk/src/share/org/apache/struts/validator/LazyValidatorForm.java struts/core/trunk/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java struts/core/trunk/src/test/org/apache/struts/action/TestDynaActionFormClass.java struts/

svn commit: r125668 - in struts/core/trunk/src: share/org/apache/struts/action share/org/apache/struts/util share/org/apache/struts/validator/validwhen test/org/apache/struts/mock test/org/apache/struts/validator

2005-01-19 Thread jmitchell
ruts/core/trunk/src/share/org/apache/struts/util/ImageButtonBean.java struts/core/trunk/src/share/org/apache/struts/util/RequestUtils.java struts/core/trunk/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java struts/core/trunk/src/test/org/apache/struts/mock/MockAction.

svn commit: rev 56532 - struts/trunk/src/share/org/apache/struts/validator

2004-11-03 Thread niallp
Author: niallp Date: Wed Nov 3 14:34:19 2004 New Revision: 56532 Added: struts/trunk/src/share/org/apache/struts/validator/LazyValidatorForm.java Log: add LazyValidatorForm Added: struts/trunk/src/share/org/apache/struts/validator/LazyValidatorForm.java

svn commit: rev 56531 - struts/trunk/src/share/org/apache/struts/validator

2004-11-03 Thread niallp
Author: niallp Date: Wed Nov 3 14:23:58 2004 New Revision: 56531 Modified: struts/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java Log: Update for BeanUtils 1.7.0 Modified: struts/trunk/src/share/org/apache/struts/validator/BeanValidatorForm.java

svn commit: rev 51824 - struts/trunk/src/test/org/apache/struts/validator

2004-10-02 Thread niallp
Author: niallp Date: Sat Oct 2 22:49:55 2004 New Revision: 51824 Modified: struts/trunk/src/test/org/apache/struts/validator/TestValidWhen.java Log: Add validwhen test to compare two Strings containing numbers Modified: struts/trunk/src/test/org/apache/struts/validator/TestValidWhen.java

svn commit: rev 51823 - struts/trunk/src/share/org/apache/struts/validator/validwhen

2004-10-02 Thread niallp
Author: niallp Date: Sat Oct 2 22:42:01 2004 New Revision: 51823 Modified: struts/trunk/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.g struts/trunk/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java Log: Bug 31514 Do numeric compare when both items

Re: Bug in Struts Validator

2004-09-13 Thread David Graham
--- Martin Cooper <[EMAIL PROTECTED]> wrote: > I just figured out the same thing. ;-} While I think this is OK for > now, I really think this is a Validator bug. You shouldn't have to > specify the position explicitly; it would be perfectly logical for the > lack of the 'position' attribute to m

Re: Bug in Struts Validator

2004-09-12 Thread Martin Cooper
On Sun, 12 Sep 2004 18:45:31 -0500, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 1:41 PM -0700 9/12/04, Martin Cooper wrote: > >There appears to be a bug in the way that the error messages are put > >together in the validator code. The problem shows up in both the > >server side and client side mes

Re: Bug in Struts Validator

2004-09-12 Thread Joe Germuska
At 1:41 PM -0700 9/12/04, Martin Cooper wrote: There appears to be a bug in the way that the error messages are put together in the validator code. The problem shows up in both the server side and client side messages, and I suspect appears only for messages that have more than one argument. Th

Bug in Struts Validator

2004-09-12 Thread Martin Cooper
There appears to be a bug in the way that the error messages are put together in the validator code. The problem shows up in both the server side and client side messages, and I suspect appears only for messages that have more than one argument. The easiest way to see the problem is in the regi

cvs commit: jakarta-struts/src/share/org/apache/struts/validator FieldChecks.java

2004-09-03 Thread niallp
niallp 2004/09/03 13:11:19 Modified:src/share/org/apache/struts/validator FieldChecks.java Log: Fix empty Validator results map caused by Bug 26413 patch - reported by Casey Forbes Revision ChangesPath 1.20 +36 -35 jakarta-struts/src/share/org/apache/struts

cvs commit: jakarta-struts/src/test/org/apache/struts/validator PojoBean.java TestValidWhen.java

2004-09-03 Thread niallp
niallp 2004/09/03 11:12:26 Modified:.build-tests.xml Added: src/test/org/apache/struts/validator PojoBean.java TestValidWhen.java Log: Add Test Cases for ValidWhen parser Revision ChangesPath 1.26 +4 -0 jakarta-struts

cvs commit: jakarta-struts/src/share/org/apache/struts/validator/validwhen ValidWhenLexer.java ValidWhenParser.g ValidWhenParser.java

2004-09-03 Thread niallp
niallp 2004/09/03 11:06:58 Modified:src/share/org/apache/struts/validator/validwhen ValidWhenLexer.java ValidWhenParser.g ValidWhenParser.java Log: Fixed ValidWhen Bugs 31025 and 31026 reported by Gisella Saavedra Revision

cvs commit: jakarta-struts/src/test/org/apache/struts/validator - New directory

2004-09-03 Thread niallp
niallp 2004/09/03 11:04:53 jakarta-struts/src/test/org/apache/struts/validator - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: jakarta-struts/src/share/org/apache/struts/validator ValidatorPlugIn.java

2004-08-31 Thread jmitchell
jmitchell2004/08/31 11:39:04 Modified:src/share/org/apache/struts/validator ValidatorPlugIn.java Log: fix for a method missing in 1.3.1 Revision ChangesPath 1.27 +5 -5 jakarta-struts/src/share/org/apache/struts/validator/ValidatorPlugIn.java Index

cvs commit: jakarta-struts/src/share/org/apache/struts/validator/validwhen readme.txt ValidWhenLexer.java

2004-08-19 Thread niallp
niallp 2004/08/19 10:37:53 Modified:src/share/org/apache/struts/validator/validwhen ValidWhenLexer.java Added: src/share/org/apache/struts/validator/validwhen readme.txt Log: Re-generated ValidWhenLexer.java for Bug 29429 Revision Changes

cvs commit: jakarta-struts/src/share/org/apache/struts/validator BeanValidatorForm.java

2004-08-09 Thread niallp
niallp 2004/08/09 09:48:27 Modified:src/share/org/apache/struts/validator BeanValidatorForm.java Log: Change "pathValidation" methods to protected to prevent possible security hole Revision ChangesPath 1.3 +6 -3 jakarta-struts/src/share/org/apa

cvs commit: jakarta-struts/src/share/org/apache/struts/validator ValidatorPlugIn.java

2004-08-06 Thread martinc
/apache/struts/validator ValidatorPlugIn.java Log: Fix a couple of things that FindBugs found: * Use Boolean.valueOf() instead of creating new instances. * Use StringBuffer instead of concatenating Strings in a loop. Revision ChangesPath 1.52 +24 -24 jakarta-struts/src/share

cvs commit: jakarta-struts/src/share/org/apache/struts/validator BeanValidatorForm.java

2004-07-31 Thread niallp
niallp 2004/07/31 13:09:59 Modified:src/share/org/apache/struts/validator BeanValidatorForm.java Log: javadoc corrections Revision ChangesPath 1.2 +45 -16 jakarta-struts/src/share/org/apache/struts/validator/BeanValidatorForm.java Index

cvs commit: jakarta-struts/src/share/org/apache/struts/validator BeanValidatorForm.java

2004-07-30 Thread niallp
niallp 2004/07/30 22:52:43 Modified:src/share/org/apache/struts/config FormBeanConfig.java src/share/org/apache/struts/util RequestUtils.java Added: src/share/org/apache/struts/validator BeanValidatorForm.java Log: Changes to make "lazy" dynabea

Nightly Struts Validator Issues

2004-07-13 Thread Danny Mui
If you run the examples from the nightly, the javascript validation doesn't work too well. Haven't had a chance to look at server side messages but I'm assuming it's the same deal. ie. maxlength 30 The res

cvs commit: jakarta-struts/src/share/org/apache/struts/validator/validwhen ValidWhenParser.g

2004-06-24 Thread husted
husted 2004/06/24 16:51:52 Modified:src/share/org/apache/struts/validator/validwhen ValidWhenParser.g Log: Apply #29429 "allow '_' (underscore) in validwhen identifier" submitted by rv Revision ChangesPath 1.6 +4 -4

Need Help: Validating array of textboxes using Struts Validator Framework

2004-04-28 Thread Pandurang
Hello there, (B (BI need a help for using struts validator framework. I am retriving records (Bfrom DB and displaying these records (Bas an list page format of which JSP page is as below (B (B+-+ (B| No

Struts-Validator

2004-04-26 Thread Matthias Wessendorf
Hi folks, a question: the struts"handbook" (webpage...) tells, that requiredIf is deprecated, but javadoc (FieldChecks.java also) doesn't have deprecated inside ? am i missing something ? cheers, Matthias -- Matthias Weßendorf Aechterhoek 18 D-48282 Emsdetten Email: mailto:[EMAIL PROTECTED] URL

cvs commit: jakarta-struts/src/share/org/apache/struts/validator FieldChecks.java

2004-04-15 Thread husted
husted 2004/04/15 17:08:17 Modified:src/share/org/apache/struts/validator FieldChecks.java Log: Apply #28148 "Url Validation Configuration Options" submitted by Nial Pemberton. Revision ChangesPath 1.19 +69 -7 jakarta-struts/src/share/org/apa

cvs commit: jakarta-struts/src/share/org/apache/struts/validator DynaValidatorActionForm.java DynaValidatorForm.java ValidatorActionForm.java ValidatorForm.java

2004-04-02 Thread germuska
germuska2004/04/02 06:30:58 Modified:src/share/org/apache/struts/validator DynaValidatorActionForm.java DynaValidatorForm.java ValidatorActionForm.java ValidatorForm.java Log: Push validate code up into ValidatorForm and add a

cvs commit: jakarta-struts/src/share/org/apache/struts/validator ValidatorPlugIn.java

2004-04-02 Thread rleland
rleland 2004/04/02 16:06:55 Modified:src/share/org/apache/struts/validator ValidatorPlugIn.java Log: Modify Validator PlugIn to validate XML file. Failure no loner just logs failure and disables that skips that validation file. Errors now result in an exception being thrown to