struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel GroƟ <kamik...@iaeste.at>
Subject Re: Validator: Validation based on action path and not by form name
Date Thu, 18 Mar 2004 10:37:10 GMT
<form name="/resolveAsset">
as far as i can remember

On 2004-03-18 at 19:36:05 +0900, Prasad, Kamakshya wrote:
> 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:ahardy.struts@cyberspaceroad.com] 
> 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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message