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 help.

-----Original Message-----
From: Erik Weber [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 19, 2005 3:24 PM
To: Struts Users Mailing List
Subject: Re: requiredif


    <!-- requiredif -->
    <validator         name="requiredif"
                  classname="org.apache.struts.validator.FieldChecks"
                     method="validateRequiredIf"
               methodParams="java.lang.Object,
 
org.apache.commons.validator.ValidatorAction,
                             org.apache.commons.validator.Field,
                             org.apache.struts.action.ActionErrors,
                             org.apache.commons.validator.Validator,
                             javax.servlet.http.HttpServletRequest"
                        msg="errors.required"/>


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 validator-rules.xml 
>configuration file.
>
>Please advise on how to do this and if there's a better way to do this 
>with this old version. For example, is it possible to configure the old

>Struts/Validator versions to use validwhen?
>
>Any help is appreciated.
>
>Tarek Nabil
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>

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

Reply via email to