Hi all,
I have followed the example in struts documentation (validwhen validaton
section). I have an email address field that needs to be validated when one
other field's value is set to "true". But I can't get it to work at all.
This is the example I cut and paste from str
I have a form that I'm using map-backed properties
with. There is nothing all that unusual about it, but
I'm trying to do validation using the validWhen
built-in validation. I can't seem to figure out if I
can access a map-backed property in the conditional
statement for the valid
Is it possisble to use validwhen for date fields like comparing dates?
Brendan Richards <[EMAIL PROTECTED]> wrote:
I'm looking at using validwhen for a complex validation.
I've got a value that can either be ignored when another parameter is
set or is valid when it's a
I'm looking at using validwhen for a complex validation.
I've got a value that can either be ignored when another parameter is
set or is valid when it's a date.
A simple date validation would be something like this:
datePatterndd-MM-yyyy
Can a validwh
Anyone has any idea? I haven't seen anyone's reply. Thanks.
-Betty
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 8:07 PM
To: [EMAIL PROTECTED]
Subject: validator validwhen error
Hi,
I got the following validator error, but no
Hi,
I got the following validator error, but not sure why.
here is my validator.xml and the exception:
test
((actionType != 'x') or (*this* !=
null))
test
((editAction != 'false') or (*th
great)
I have looked at validWhen (and am not aversed to going to the nightly-build), but
can't see the solution there either.
Any help would be appreciated,
Ivan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
I did what I wanted, but had to code it like this:
test
((field1 == 'A') or ((field1 == 'B') or (field1 == 'C')))
rather difficult to read!
Regards, Fabio.
-Messaggio originale-
Da: Grassi Fabio
Inviato: giovedì 19 febbraio 2004 17:43
A: '[E
The validwhen documentation suggests that "only two items may be joined
with and or or". Does this mean that I could not write a condition like:
test
((field1 == 'A') or (field1 == 'B') or (field1 ==
'C'))
Is it this limited? Anyone having successful exp
Hi.
I have the next question related with validwhen validator.
I have the validwhen validator like
test
((*this* != null) or ((actionName == "Action") and (*this* ==
null)))
This works fine, but when I replace the "Action" string literal with unicode
characters (
Hi.
Can I use global constants from constant element in validwhen validator? If
I can, how can I do that?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Is there a stable Struts release after 1.1 ? If Yes, what is the version and does it
have ValidWhen Validator support ?
regards
Deepak
..
Which I am trying to avoid for bussiness logic .
Thanx
cheers,
Sumeet
On Thu, 13 Nov 2003 Vara Prasad Reddy wrote :
>As I understood, validwhen is only on server side. there will not be any
>javascript validations.
>
>-Original Message-
> From: sumeet sharma [mailto:[
As I understood, validwhen is only on server side. there will not be any
javascript validations.
-Original Message-
From: sumeet sharma [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 1:08 PM
To: [EMAIL PROTECTED]
Subject: validwhen
Hi,
Has any one used validwhen
Hi,
Has any one used validwhen validator rule ? when I am using it is not doing
anything its making empty validate javascript methods and no validations are being
called .
Thanks in advance.
cheers,
Sumeet
Blank"validwhen" is in CVS right now. Check out nightly build if it's worth
it to you.
-Original Message-
From: Vara Prasad Reddy [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 5:32 AM
To: struts
Subject: validwhen + struts 1.1
Importance: High
I am currently using struts 1.1. Is there a
way I can use the "validwhen" functionality of future coming struts
1.2.
Something like I can take only the class
files of validwhen and use it along with struts 1.1
can someone detail me on this?
Thanks in advance
Vara Prasad
I don't believe that requiredif or validwhen generate client-side
(JavaScript) validation.
Matt
-Original Message-
From: Ruben Orta Magan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 10:56 AM
To: Struts Users Mailing List
Subject: code generate by validwhen doesn
Hello again. I'm fighting with validwhen againi've got the lastest nightly
build(jakarta-struts-20031027.zip) and it looks like when you use validwhen validation
no javascript code is generated and inserted in the jsp file. If i use this validation
Sorry I've got and error...change
this line
(act == 'alta')
with this
(act == 'insert')
Thanks
- Original Message -
From: "Ruben Orta Magan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tues
Hello.I've got a problem with validwhen. I've got a form with two buttons.one
makes and insert in the database, and the other makes a searchI want to make a
validation only when the insert button is pushed and i don't know if i understand
correctly how validwhen w
Has validWhen been released yet?? Does anyone know?
Thanks for the information,
Natalie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
David Graham wrote:
I suspect that not too much has changed since the version that shipped
with
Struts 1.1.
A great deal of internal cleanup has happened in commons-validator since
its 1.0.2 release as well as new features and a more extensible
definition. I think Rob Leland is planning on
It's not in Struts 1.1 but it's available in the nightly build and will be
in the next release.
Steve
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: August 14, 2003 8:32 AM
> To: [EMAIL PROTECTED]
> Subject: Struts Validator-va
ychi.org/bof/struts
>
> > -Original Message-
> > From: Steve Raeburn [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 14, 2003 8:41 AM
> > To: Struts Users Mailing List
> > Subject: RE: Struts Validator-validwhen
> >
> >
> > It's not
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 14, 2003 11:01 AM
> To: Struts Users Mailing List
> Subject: RE: Struts Validator-nextreleasewhen (was validwhen)
>
>
> > I suspect that not too much has changed since
> To: Struts Users Mailing List
> Subject: RE: Struts Validator-validwhen
>
>
> It's not in Struts 1.1 but it's available in the nightly
> build and will be
> in the next release.
>
> Steve
>
> > -Original Message-
> > From: [EMAIL PR
Hi,
The struts Validator
'validwhen' I could not find anywhere in struts,even though it was
mensioned
in documentation.
If it is available Could anybody please help me where exactly it is
available?
Thanks,
Shailaja
-- A . S . C . A . P.--
Th
ld have run into, or would at least know
how to handle...
Thanks in advance!
- Keith
-Original Message-
From: Imran Bohoran [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 12:00 AM
To: Struts Users Mailing List
Subject: RE: validwhen Alternative
We had a requirement of this soug
- I
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:02 PM
To: Struts (E-mail)
Subject: validwhen Alternative
Hey everyone,
>From what I hear, it seems like the validwhen validation is not supported in
the final release of St
with internal reorganization of the code and removal of
deprecations.
Keep monitoring the struts-dev list for activity.
Steve
> -Original Message-
> From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
> Sent: July 31, 2003 8:00 AM
> To: 'Struts Users
Hey everyone,
>From what I hear, it seems like the validwhen validation is not supported in
the final release of Struts 1.1. Is there an alternative to this?
I have a form where 2 of the fields are start range and end range. I want a
validation that does the following:
1) If start range
2003 10:59 AM
To: Struts Users Mailing List
Subject: RE: Validator: Is validwhen available ?
The nightly builds are not working for now because of a problem with the
build machine.
ValidWhen has been added to the source but, for now, you'll need to check it
out from CVS and do your own buil
The nightly builds are not working for now because of a problem with the
build machine.
ValidWhen has been added to the source but, for now, you'll need to check it
out from CVS and do your own build.
It will be included in the 1.2 release which will come along a lot sooner
than the 1.1 re
So it's not available in the initial Struts 1.1 final release?
Is there an alternative to validwhen that can do the same job?
- Keith
-Original Message-
From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 4:49 AM
To: [EMAIL PROTECTED]
Subjec
hi,
'validwhen' is available in the nightly builds...
-- nagi
---Original Message---
From: Struts Users Mailing
List
Date: Thursday, July
31, 2003 02:08:30 PM
To: [EMAIL PROTECTED]
Hi
In the Struts Validator User Guide
(http://jakarta.apache.org/struts/userGuide/dev_validator.html)
I read under "Designing Complex Validations with validwhen" the following
sentence:
...
The new validwhen validation rule, which will be included into the Struts
release immediately
- www.soujava.org.br
- Original Message -
From: "Lukas Bradley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 23, 2003 6:35 PM
Subject: Validator validwhen
> A quote from http://jakarta.apache.org/struts/userGuide/dev_validator.html
>
> &qu
Lukas Bradley wrote:
A quote from http://jakarta.apache.org/struts/userGuide/dev_validator.html
"The new validwhen validation rule, which will be included into the Struts
release immediately after the 1.1 release, is designed to handle these
cases."
Does this mean validwhen is
A quote from http://jakarta.apache.org/struts/userGuide/dev_validator.html
"The new validwhen validation rule, which will be included into the Struts
release immediately after the 1.1 release, is designed to handle these
cases."
Does this mean validwhen is or is not supported in 1
David Graham wrote:
The validwhen validation is in the nightly builds after 1.1 and will be
released with Struts 1.2.
So when will Struts 1.2 be released?
:)
(For the humor-impaired, that *was* a smiley up there...)
Bruce
--- otisg <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to use validwhen validation rule, but I am unsure
> whether the recently released Struts 1.1 includes this. I heard
> that it does, but according to
> http://jakarta.apache.org/struts/userGuide/dev_validator.h
No this is not in 1.1 at all.
-Tim
-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 10:27 AM
To: [EMAIL PROTECTED]
Subject: validwhen released?
Hello,
I would like to use validwhen validation rule, but I am unsure
whether the recently released
Hello,
I would like to use validwhen validation rule, but I am unsure
whether the recently released Struts 1.1 includes this. I heard
that it does, but according to
http://jakarta.apache.org/struts/userGuide/dev_validator.html,
validwhen will be released in a release after the 1.1 release.
I
David,
I'm using jakarta-struts-1.1-rc2. Is that what you considered a 1.1 final?
How can I find out whether if validwhen is in my struts?
I also tried to install the nightly builds jakarta-struts-20030605.zip, it
is still not working. Any other clue?
Thanks in advance!
JP
-Ori
Are you using a nightly build after 1.1 final? ValidWhen was not included
with 1.1.
David
--- "Poon, Johnny" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to use validwhen, so that it's only valid when either all
> three
> related fields are empty
Hi,
I'm trying to use validwhen, so that it's only valid when either all three
related fields are empty or are filled, it's valid; otherwise not. ssn_1,
ssn_2, and ssn_3 are the field names. For some reason, when I put this in,
none of the validation takes place, not even requ
Validwhen is not available yet.
It will be available in 1.2 (see other posts in archives regarding this).
-Tim
-Original Message-
From: Eugen Bushuev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 10:31 AM
To: [EMAIL PROTECTED]
Subject: validwhen
Hi.
I can't make "val
Hi.
I can't make "validwhen" to work with a DynaForm. My validation.xml
looks like
test
(1==-1)
But it always validates successfully (when "depends" is set to
"required" everything works as it should, but not as i need t
--- Mick Knutson <[EMAIL PROTECTED]> wrote:
> I can't find any examples of validwhen in the validation rules. Does
> anyone
> have a working example for me to use?
validwhen is not included with Struts 1.1. It will be released with 1.2.
David
>
> ---
I can't find any examples of validwhen in the validation rules. Does anyone
have a working example for me to use?
---
Thanks...
Mick Knutson
---
_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.ms
51 matches
Mail list logo