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 supports vs.
what the rest of the world supports.  This becomes VERY obvious in web
development.

I believe the quote is "The nice thing about standards is that there are so
many to choose from." 

Ok, so that doesn't really help you.  Since the requiredIf tag is deprecated
(and the docs say to use "validwhen") I would do that or implement the
validate(...) method in your bean (just make sure you call
super.validate(...) if you want to get any other validation error messages
for rules defined in your XML.

Alternatively, you can use the Javascript debugger in IE to find out where
the error is and try to fix it yourself.

-Adam

-----Original Message-----
From: mosho [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 19 July 2006 13:10
To: user@struts.apache.org
Subject: Valdator - RequiredIf doesn't work for IE


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 context:
http://www.nabble.com/Valdator---RequiredIf-doesn%27t-work-for-IE-tf1968272.
html#a5402491
Sent from the Struts - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to