validwhen (please help)

2004-03-25 Thread Betty Koon
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

Map-backed ActionForms, validating using validWhen

2004-03-23 Thread Mark Thill
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

Re: validwhen validation question

2004-03-19 Thread Mah R
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

validwhen validation question

2004-03-18 Thread Brendan Richards
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

RE: validator validwhen error (Repost)

2004-03-15 Thread Betty Koon
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

validator validwhen error

2004-03-08 Thread Betty Koon
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

Perform date validation only if field required (requiredIf/validWhen)

2004-02-20 Thread Ivan Jensen
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

validwhen - solved (more or less)

2004-02-19 Thread Grassi Fabio
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

validwhen

2004-02-19 Thread Grassi Fabio
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

RE: Validwhen validator question

2004-02-02 Thread Andriy Ruzhevych
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 (

Validwhen validator question

2004-02-02 Thread Andriy Ruzhevych
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]

ValidWhen validator

2003-11-27 Thread Deepak
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

Re: RE: validwhen

2003-11-13 Thread sumeet sharma
.. 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:[

RE: validwhen

2003-11-13 Thread Vara Prasad Reddy
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

validwhen

2003-11-13 Thread sumeet sharma
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

RE: validwhen + struts 1.1

2003-11-06 Thread Marc Dugger
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

validwhen + struts 1.1

2003-11-06 Thread Vara Prasad Reddy
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

RE: code generate by validwhen doesn't exists

2003-10-28 Thread Matt Raible
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

code generate by validwhen doesn't exists

2003-10-28 Thread Ruben Orta Magan
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

Re: validwhen kills me!

2003-10-28 Thread Ruben Orta Magan
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

validwhen kills me!

2003-10-28 Thread Ruben Orta Magan
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

validWhen

2003-09-22 Thread Natalie D Rassmann
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]

Re: Struts Validator-nextreleasewhen (was validwhen)

2003-08-14 Thread Robert Leland
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

RE: Struts Validator-validwhen

2003-08-14 Thread Steve Raeburn
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

RE: Struts Validator-nextreleasewhen (was validwhen)

2003-08-14 Thread David Graham
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

RE: Struts Validator-nextreleasewhen (was validwhen)

2003-08-14 Thread Van Riper, Mike
> -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

RE: Struts Validator-nextreleasewhen (was validwhen)

2003-08-14 Thread Van Riper, Mike
> 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

Struts Validator-validwhen

2003-08-14 Thread SKaringula
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

RE: validwhen Alternative

2003-08-01 Thread Kamholz, Keith (corp-staff) USX
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

RE: validwhen Alternative

2003-07-31 Thread Imran Bohoran
- 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

RE: Validator: Is validwhen available ?

2003-07-31 Thread Steve Raeburn
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

validwhen Alternative

2003-07-31 Thread Kamholz, Keith (corp-staff) USX
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

RE: Validator: Is validwhen available ?

2003-07-31 Thread Kamholz, Keith (corp-staff) USX
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

RE: Validator: Is validwhen available ?

2003-07-31 Thread Steve Raeburn
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

RE: Validator: Is validwhen available ?

2003-07-31 Thread Kamholz, Keith (corp-staff) USX
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

Re: Validator: Is validwhen available ?

2003-07-31 Thread Nagendra Kumar O V S
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]

Validator: Is validwhen available ?

2003-07-31 Thread Koni
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

Re: Validator validwhen

2003-07-24 Thread Michael Nascimento Santos
- 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

Re: Validator validwhen

2003-07-23 Thread Rob Leland
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

Validator validwhen

2003-07-23 Thread Lukas Bradley
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

Re: validwhen released?

2003-07-17 Thread Bruce Geerdes
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

Re: validwhen released?

2003-07-17 Thread David Graham
--- 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

RE: validwhen released?

2003-07-17 Thread Chen, Gin
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

validwhen released?

2003-07-17 Thread otisg
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

RE: validator validwhen not working?

2003-07-09 Thread Poon, Johnny
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

Re: validator validwhen not working?

2003-07-09 Thread David Graham
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

validator validwhen not working?

2003-07-09 Thread Poon, Johnny
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

RE: validwhen

2003-07-01 Thread Chen, Gin
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

validwhen

2003-07-01 Thread Eugen Bushuev
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

Re: validwhen in the validation-rules?

2003-06-25 Thread David Graham
--- 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 > > ---

validwhen in the validation-rules?

2003-06-25 Thread Mick Knutson
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