problem with requiredif and validwhen

2010-04-02 Thread vivek mahajan
HI, I have gone through User's Guide provided in your website for the use requiredif and validwhen in struts 1.3 but i m not getting the desired result. please help me. I am providing the code below. Date field is required when byDate is selected which is a radio b

Re: Requiredif validator

2007-09-07 Thread Pablo Vázquez Blázquez
n Scottish Bank plc 24 Mount Street Manchester M2 3LS -Original Message- From: Pablo Vázquez Blázquez [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 12:30 PM To: user@struts.apache.org Subject: Requiredif validator Hi all! I´m trying to validate two fields that depends on anothe

RE: Requiredif validator

2007-09-07 Thread Gundersen, Richard
18302398 Fax: 01618342536 London Scottish Bank plc 24 Mount Street Manchester M2 3LS -Original Message- From: Pablo Vázquez Blázquez [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 12:30 PM To: user@struts.apache.org Subject: Requiredif validator Hi all! I´m trying to validat

Requiredif validator

2007-09-07 Thread Pablo Vázquez Blázquez
ULL But now in S2, there is no "requiredif" validator :( Any idea about how can I do to get the same validation effect? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: requiredif help?

2006-10-10 Thread Strachan, Paul
ay, 10 October 2006 4:58 PM To: Struts Users Mailing List Subject: RE: requiredif help? try using validwhen - something like: test ((lunchBreak == 'N') or (*this* != null)) test ((lunchBreak == 'N') or (*this* != null)) -Original

RE: requiredif help?

2006-10-10 Thread Mallik
ny details for "lunchFrom" and "lunchTo", if not she should give let me know how to meet that need ur's Mallik -- View this message in context: http://www.nabble.com/requiredif-help--tf2414782.html#a6734975 Sent fr

RE: requiredif help?

2006-10-10 Thread Mallik
Thank you friend no i got some idea, i hope it will work ur's Mallik -- View this message in context: http://www.nabble.com/requiredif-help--tf2414782.html#a6731806 Sent from the Struts - User mailing list archive at Nabbl

RE: requiredif help?

2006-10-09 Thread Strachan, Paul
006 4:49 PM To: user@struts.apache.org Subject: requiredif help? HI friends In my form, i have to validate two fields,if another check box is not selected, means if the user checked no lunch break,lunch from and lunch to are not required,else both are monadatory. i hope requiredif suits for this,

requiredif help?

2006-10-09 Thread Mallik
HI friends In my form, i have to validate two fields,if another check box is not selected, means if the user checked no lunch break,lunch from and lunch to are not required,else both are monadatory. i hope requiredif suits for this, if so, give me some sample code or any artical for this

Re: Valdator - RequiredIf doesn't work for IE

2006-07-19 Thread mosho
Thanks Adam. I got it working now -- View this message in context: http://www.nabble.com/Valdator---RequiredIf-doesn%27t-work-for-IE-tf1968272.html#a5403936 Sent from the Struts - User forum at Nabble.com. - To unsubscribe

RE: Valdator - RequiredIf doesn't work for IE

2006-07-19 Thread Adam Gordon
The problem isn't technically due to the requiredIf tag but rather the client-side Javascript that is generated by Struts to do the requiredIf validation. My guess is that you are experiencing one of the many problems that arise when there are standards related issues with what MS suppor

Valdator - RequiredIf doesn't work for IE

2006-07-19 Thread mosho
Hi all, I am using struts 1.1 version. I have set up validator framework. I am using requiredIf rule, it works perfectly in Mozilla Firefox but it doesn't work in Internet Explorer version 6.0. Is there any reason for it? Is it not supported on IE. Thanks -- View this message in co

Re: Validator - requiredif validation query

2005-10-18 Thread Kishore Senji
May be you could use "validWhen". I'm not sure if this works, may be you could give it a try test ((*this*==null) or ((*this*!=null) and (sub1.x!=null ))) On 10/18/05, Ashutosh Satyam <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there a way to perform 're

Validator - requiredif validation query

2005-10-18 Thread Ashutosh Satyam
Hi, > Is there a way to perform 'requiredif' validation on nested objects ? > I would like to check for the value of an object only if the object > containing > it is not null. > > In the following example scenario: > > Class A{ > String x; >

RE: requiredif

2005-04-23 Thread tarek.nabil
Subject: Re: requiredif tarek.nabil wrote: >Thanks Erik. > >I like the idea of using the same action with different URLs but how do >you do that? The only way I can think of is changing the action of the >form when clicking any of the buttons using JavaScript, is that what >you

Re: requiredif

2005-04-20 Thread Erik Weber
be circumvented and I don't want that to cause an error screen to appear. As for validwhen, I think it's worth giving it a shot to see if it can be plugged in as a custom validator. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2

RE: requiredif

2005-04-20 Thread tarek.nabil
in as a custom validator. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 8:50 AM To: Struts Users Mailing List Subject: Re: requiredif tarek.nabil wrote: >Hi Erik, > >Actually after some reasoning about the application I came to a

Re: requiredif

2005-04-19 Thread Erik Weber
f you're adding and so on. As a result, to support this, I will have to declare all my required validations using requiredif since usually most validations depend on required. Well, there is an easy way to conquer this problem -- you just use multiple action mappings for the same Action

RE: requiredif

2005-04-19 Thread tarek.nabil
ll be mandatory if you're adding and so on. As a result, to support this, I will have to declare all my required validations using requiredif since usually most validations depend on required. Since requiredif does not have a clientside script part, that means I will only benefit from s

Re: requiredif

2005-04-19 Thread Erik Weber
riginal Message- From: tarek.nabil Sent: Tuesday, April 19, 2005 7:41 PM To: Struts Users Mailing List Subject: RE: requiredif Thanks Erik. I was wondering, is there a client side JavaScript part? Also, is it possible to use validwhen with the old versions of struts (1.1b2). Thanks for your he

RE: requiredif

2005-04-19 Thread tarek.nabil
e I'm using the documentation shipped in 1.1RC1. Thanks again for your help. -Original Message- From: tarek.nabil Sent: Tuesday, April 19, 2005 7:41 PM To: Struts Users Mailing List Subject: RE: requiredif Thanks Erik. I was wondering, is there a client side JavaScript part? Also, i

RE: requiredif

2005-04-19 Thread tarek.nabil
Users Mailing List Subject: Re: requiredif Erik tarek.nabil wrote: >Hi, > >I'm stuck with Struts 1.1b2 and I need to do some conditional >validation. AFAIK, the way to do this for this version is using the >requiredif validator. The problem is, I canno

Re: requiredif

2005-04-19 Thread Erik Weber
Erik tarek.nabil wrote: Hi, I'm stuck with Struts 1.1b2 and I need to do some conditional validation. AFAIK, the way to do this for this version is using the requiredif validator. The problem is, I cannot find any reference information on how to add this validator to the vali

requiredif

2005-04-19 Thread tarek.nabil
Hi, I'm stuck with Struts 1.1b2 and I need to do some conditional validation. AFAIK, the way to do this for this version is using the requiredif validator. The problem is, I cannot find any reference information on how to add this validator to the validator-rules.xml configuration file. P

Validator requiredif and range problem

2005-02-28 Thread Christopher Loschen
Hi experts! I've got a problem where two fields are being checked for being in the valid range when only one of them is being used at any one time. I'm using Struts 1.1 so I'm limited to using requiredif instead of validwhen (right?). I've got some radio buttons set up like

Validator requiredif throws java.lang.reflect.InvocationTargetException

2004-11-04 Thread Mark Benussi
Afternoon. Have the following problem which is throwing an invocation exception which I assume means that a Null Pointer Exception occurred. WOuld appreciate some assistance as its doing my nut Properties. errors.requiredif = Please enter the {0} here or another required field. customerAddressFo

Re: requiredif combined with other validation rules

2004-10-26 Thread Adam Hardy
I don't think that's surprising behaviour. It sounds like what you really need is a 'maskIf' test. You could possibly roll your own from the requiredif and mask. On 10/25/2004 05:12 PM David Schneider wrote: hi. i'm using struts 1.1 and have a question about combin

requiredif combined with other validation rules

2004-10-25 Thread David Schneider
hi. i'm using struts 1.1 and have a question about combining requiredif with other validation rules. i have field[0] country fieldTest[0] EQUAL fieldValue[0]

problems using requiredif

2004-06-17 Thread Alcÿffffe1ntara
Hi, I have some problem using requiredif, the problem is the following: I have 1 Dynamic form and two JSPs that send information (these JSPs differs in any fields) two one action, I'm trying to get that depends on the value of one field (tipPersona = 0/1)require and mask any fields. this

RequiredIf Validator Doesn't Seem To Work With Nested Properties

2004-06-02 Thread Pacheco, Brent
Howdy! I'm just wondering if anyone has run across this issue and if so, is there a workaround? It appears that the requiredif validator does not work correctly when using nested properties. Here

RequiredIf Validator Doesn't Seem To Work With Nested Properties

2004-06-02 Thread Nifty Music
Howdy! I'm just wondering if anyone has run across this issue and if so, is there a workaround? It appears that the requiredif validator does not work correctly when using nested properties. Here

RequiredIf Validator Doesn't Seem To Work With Nested Properties

2004-06-02 Thread Nifty Music
Howdy! I'm just wondering if anyone has run across this issue and if so, is there a workaround? It appears that the requiredif validator does not work correctly when using nested properties. Here