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,
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
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
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:
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,
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
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
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!!
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
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
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
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
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
13 matches
Mail list logo