FW: Insert arguments into Validator error messages?

2004-03-15 Thread Brendan Richards
e for lots of people -- From: Andreas Lundgren <[EMAIL PROTECTED]> Subject: SV: Insert arguments into Validator error messages? Date: Tue, 19 Aug 2003 08:06:03 +0100 Content-Type: text/plain; charset="iso-8859-1" When I removed the key = "resource" attrib

Validator error (Struts nightly build)

2003-10-19 Thread Marc Dugger
I'm receiving the following exception: line 1:30: unexpected char: '0' at org.apache.struts.validator.validwhen.ValidWhenLexer.nextToken(ValidWhenLexe r.java:236) at antlr.TokenBuffer.fill(TokenBuffer.java:69) at antlr.TokenBuffer.LA(TokenBuffer.java:80) at antlr.LL

SV: Insert arguments into Validator error messages?

2003-08-19 Thread Andreas Lundgren
EMAIL PROTECTED] Ämne: Insert arguments into Validator error messages? Hi, I trying to insert an argument into a error message using the Validator framework and I just can't make it work. The validation itself works and it shows a nice display of my (TEST) error message also, but the argument i

Insert arguments into Validator error messages?

2003-08-19 Thread Andreas Lundgren
Hi, I trying to insert an argument into a error message using the Validator framework and I just can't make it work. The validation itself works and it shows a nice display of my (TEST) error message also, but the argument is somehow lost. If I use the resource="false" attribute it works... What

Re: Resource problem displaying validator error arguments

2003-07-03 Thread Adam Hardy
Hi Dusty, I have a similar problem as well. I'll be interested in any replies. Out of curiosity, what are you using BigInteger for? Adam Dustin Sallings wrote: Hello *, Summary: My arguments are always showing up as null (even when its' not a resource), but the message itself is comin

Resource problem displaying validator error arguments

2003-07-02 Thread Dustin Sallings
Hello *, Summary: My arguments are always showing up as null (even when its' not a resource), but the message itself is coming out of the resources just fine. I'm having a problem I'm presently unable to figure out. I've got the following validator rules:

Re: Odd Validator Error Message with 1.1RC2

2003-06-11 Thread David Graham
This is a bug in commons-validator 1.1-dev. Struts 1.1 final will ship with validator 1.0.2 but I will fix this ASAP. David I upgraded to Struts 1.1 RC2 from RC1, and have began seeing the error below when Tomcat starts up. Any ideas as to how to fix this? Validation seems to work just fine

Odd Validator Error Message with 1.1RC2

2003-06-11 Thread Brown, Melonie S. - Contractor
I upgraded to Struts 1.1 RC2 from RC1, and have began seeing the error below when Tomcat starts up. Any ideas as to how to fix this? Validation seems to work just fine, but I don't like seeing messages like this. INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml' Jun 11, 200

Can't get validator to work -- getting Resources not defined for Validator error

2003-03-13 Thread Feder, Helen
I am using Struts 1.1.3b I am using modules (sub-application) I am getting the following error message: error message in jboss console - 10:37:48,706 ERROR [ValidatorForm] Resources not defined for Validator org.apache.commons.validator.ValidatorException: Resources not defined f

Best place to wrap validator error messages in css class selectors?

2003-02-28 Thread Jeff Kyser
Hello, Is there a better way to wrap up the error messages returned from the validator framework in a css class selector? It works 'ok' to use: directly in my jsp, but that seems to junk up the jsp page a bit. I don't really want to put it directly in the val

Q: Struts 1.1 Validator - Error in ORO with what should be a valid regexpr.....

2003-02-10 Thread Mark Wald
Folks, I am getting an error using the Validator which implies a malformed reguolar expression, however the regular expression should be ok and the validation actually works correctly except for the error message which appears any ideas on eliminating the error message or fixing the validat

Validator error...

2003-01-06 Thread Damm, Gary
Can anyone explain this error? The action I'm mapping the validation to has a form with a "name" attribute which is what I'm validating so I'm not sure why I'm getting the "no input attribute" error. HTTP Status 500 - No input attribute for mapping path /CreateGroup --

RE: Validator Error

2003-01-01 Thread James Turner
[EMAIL PROTECTED] > Subject: Validator Error > > > Validator (structs 1.1 B3) gives me an error with the this > configuration in validator.xml > > > > > > depends="required,mask,minlength,maxlenght"> >

Validator Error

2003-01-01 Thread Nuno Maia
Validator (structs 1.1 B3) gives me an error with the this configuration in validator.xml mask ^\w+$ minlength

Re: Validator error

2002-07-11 Thread David Winterfeldt
I think you may have upgraded the Commons Validator jar, but not Struts. The SERVLET_CONTEXT_KEY was removed from this class to try to completely separate it from Struts and the web layer. Try using the Commons Validator that comes in the nightly download for the version you are using. David -

Validator error

2002-07-10 Thread Chilukuri, Pratap N Mr USAREC
I am getting "500 Servlet action:unable to service request: Servlet action threw the exception:java.lang.NoSuchFieldError:org.apache.commons.validator.Validatior :field SERVLET_CONTEXT_KEY not found" if I validate my screen againt 2 date fields. The names match on the validation.xmlfile and the

Re: Struts Validator error messages

2002-04-18 Thread Christian Bouessay
I'm not using Struts Validator, but have the same pb with alert('') ... To solve it, I use a javascript regexp expression : function message(text) { alert(text.replace(//, "")); } But, this is not generic ... -- C. Bouessay [EMAIL PROTECTED] wrote: > Hello, > > > > How do I set up

Re: Struts Validator error messages

2002-04-18 Thread Raffy_Lata
That's a good question...I also have the same problem...hope someone has the solution [EMAIL PROTECTED] on 04/18/2002 08:31:47 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: Struts Validator error mes

Struts Validator error messages

2002-04-18 Thread David . A . Ventimiglia
Hello, How do I set up Struts Validator (from David Winterfeldt) for both server-side and client-side validation, yet not have HTML tags in the JavaScript popup boxes? In order to get the error messages to show up properly on the page, I need to include a formatting element like in the resou

validator error in weblogic6.1

2002-03-03 Thread John Mammen - (ITD)
Hello Struts Users; I am trying out the validator written by David Winterfeldt on Weblogic 6.1sp2. I just copied the example war file to my weblogic application directory to run it. But I get the below error. Is there any configuration for BEA Weblogic 6.1 sp2. Is there any help documentation yo