Thanks Adam,

But what exactly I have to put in validation.xml

Now the xml has these lines 

<formset>
        <form name="assetForm">

Should I change it to?

<formset>
        <action path="/resolveAsset">

Regards
Kamakshya

-----Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 18, 2004 7:19 PM
To: Struts Users Mailing List
Subject: Re: Validator: Validation based on action path and not by form
name

Kamakshya,
if you use the ValidatorActionForm instead of the ValidatorForm, then 
you can do this.

Adam

On 03/18/2004 08:26 AM Prasad, Kamakshya wrote:
> Hi All,
>  
> Is it possible for validation.xml to take action path attribute
instead
> of form name for putting javascript validation rules for a page? 
>  
> I am having a page with lot of buttons, each mapping to a particular
> action path. I want to validate the screen elements based on these
> action paths and not as a whole form.
>  
> Please let me know if there is any such facility provided by struts.
>  
> Regards,
> Kamakshya
>  
> 


-- 
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian


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