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
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
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
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]
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
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
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
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,
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
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
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
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
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
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;
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
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
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
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
32 matches
Mail list logo