Re: Validator question

2004-01-26 Thread Markus
Hi. I have a sum field that can have different values (money or percent), depending on the other field isPercent. I want to validate money and percent type through the mask validator. I am not sure , whether I can set two mask validators with different masks on the same field. Maybe,

RE: Validator question

2004-01-26 Thread Andriy Ruzhevych
Thanks Markus Did you write your custom validator? I always use DynaValidatorForm and don't want to write custom java beans for this. -Original Message- From: Markus [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 4:04 PM To: Struts Users Mailing List Subject: Re: Validator

RE: Validator question

2004-01-26 Thread Markus
Thanks Markus Did you write your custom validator? I always use DynaValidatorForm and don't want to write custom java beans for this. Hi, No, for this solution you can't use DynaForms. You have to write an ActionForm. Kind regards, Markus

RE: Validator question for radio buttons.

2003-10-16 Thread Saul Q Yuan
Well, some thoughts, do you have a page parameter in your jsp? Something like: input type=hidden name=page value=2 / and did you set validate=true in your action mapping? Saul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: validator question: show value of a field in error

2003-09-17 Thread Jean-Michel Garnier
We want to do exaclty the same. After many attempts, it seems that Struts 1.1 Validator does not provide this functionality. It seems that there will be an evolution in Struts 1.2 with the validwhen validator, see : Designing Complex Validations with validwhen,

Re: Validator Question

2003-02-24 Thread richardtandoh [EMAIL PROTECTED]
K Pullin Upgrading from 1.1 beta 2 to beta 3 got rid of this problem for me. However upgrading to RC1 introduced a further problem - see my message to the group of a few minutes ago. rt. --- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: I've got 3 fields on a form and in the validation.xml

RE: Validator Question

2003-02-08 Thread James Turner
From: Swish [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 08, 2003 3:51 PM To: Struts Users Mailing List Subject: Validator Question I was wondering, is there a way to configure the validator to perform a validation on a field only if value of another field is equal to a

Re: Validator question

2003-02-07 Thread Rob Leland
Did you 'new HashMap()' all your HashMap's in you ActionForm ? Any ideas why I am getting this error? I will really appreciate the help. It looks like I am not defining the error properly and the MessageTag is throwing excetpion. I will really appreciate any help I can get. Thanks!!

Re: Validator question

2003-02-07 Thread Jamal Najmi
I found the error - I had not copied the basic error resources from validator_rules.xml into my application resource file. Thanks for looking into it though!! Jamal Rob Leland [EMAIL PROTECTED] wrote: Did you 'new HashMap()' all your HashMap's in you ActionForm ? Any ideas why I am

RE: Validator Question

2003-01-10 Thread Siggelkow, Bill
Doesn't the 'required' validation rule do this? -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 12:37 AM To: [EMAIL PROTECTED] Subject: Validator Question Hi, I need to validate that the user does not enter only spaces in a

Re: Validator Question

2003-01-10 Thread Dan Tran
I have not done this but I do believe you can write your own masking rule to check for this condition. -Dan - Original Message - From: Siggelkow, Bill [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, January 10, 2003 5:49 AM Subject: RE: Validator

RE: Validator question

2003-01-09 Thread James Childers
I haven't worked much with validator yet, but from my experience with Vim's regular expressions getting the negation of a regexp is a hard problem. You can do it with character classes (e.g.: [^ABC]), but this isn't very elegant. But AFAIK there is no not operator for regexps similar to the one

RE: Validator question

2002-12-04 Thread ROSSEL Olivier
Hello, I am new to using Struts' Validator framework and am trying to write a sample application based on the example distributed with Validator download from D. Winterfeldt's site. In the file jsRegistration.jsp, there are the following lines: html:form action=registration