Thanks Robert! Right now my forms are extending ActionForm. Can I just make
them extend DynaValidatorActionForm without changing anything else? What do
I need to change if I do need to?

Kevin



                                                                                       
                                                
                      "Robert Taylor"                                                  
                                                
                      <[EMAIL PROTECTED]        To:       "Struts Users Mailing List" 
<[EMAIL PROTECTED]>                  
                      .com>                    cc:                                     
                                                
                                               Subject:  RE: Can I use action path 
instead of form name in <form name="xxx"> in        
                      11/13/2003 11:19          validation.xml?                        
                                                
                      AM                                                               
                                                
                      Please respond to                                                
                                                
                      "Struts Users                                                    
                                                
                      Mailing List"                                                    
                                                
                                                                                       
                                                




Yes. You can do this, but you have to use or subclass
DynaValidatorActionForm.
It uses the "path" attribute of the action mapping to determine validation
rules
for the request.

robert

> -----Original Message-----
> From: Kevin Wang [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 12:13 PM
> To: [EMAIL PROTECTED]
> Subject: Can I use action path instead of form name in <form name="xxx">
> in validation.xml?
>
>
>
>
>
>
>
> I can't use the form names  because in our application all the
> forms are by
> the same session attribute.
> I read from somewhere that I can do something like,
>
> <formset>
>       <form name="/logonaction">
>       ....
>       </form>
> </formset>
>
>
> But I haven't been successful...Please advice, Thanks!
>
> Kevin
>
>
> ---------------------------------------------------------------------
> 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]




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

Reply via email to