struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad, Kamakshya" <kpra...@capitalservicing.co.jp>
Subject RE: Validation.xml form name parameter
Date Fri, 09 Apr 2004 10:53:54 GMT
Hi,

I am using 1.1 version. 

KP

-----Original Message-----
From: Adam Hardy [mailto:ahardy.struts@cyberspaceroad.com] 
Sent: Friday, April 09, 2004 7:48 PM
To: Struts Users Mailing List
Subject: Re: Validation.xml form name parameter


Kamakshya
Which version of Validator and which Form class are you using?


Adam

On 04/09/2004 10:08 AM Prasad, Kamakshya wrote:
> HI,
>  
> Is it a bug or has been intentionally done like that?
>  
> I have a form with lots of CRUD buttons. The action path is
> "/maintainEmployeeDetails". I am using DispatchAction class for the
> same. 
> But each of these buttons has specific javascript validations. So in
the
> validation.xml insted of giving the name as 
>  
> < form name=" maintainEmployeeDetails">
>  
> I have given
>  
> < form name=" maintainEmployeeDetailsCreate">
>  
> and similarly for other buttons. This is not throwing any error but in
> the struts site documentation it's written that the name should be
same
> as the path. 
>  
> It's good for me as I can use these specific javascript functions for
> each of these buttons.
>  
> Will it be changed in coming release?
>  
> KP
>  
> 


-- 
struts 1.2 + tomcat 5.0.19 + java 1.4.2
Linux 2.4.20 Debian


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


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


Mime
View raw message