struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Breeds" <Rob_Bre...@uk.ibm.com>
Subject Re: html:link - submit
Date Mon, 03 Dec 2001 16:11:15 GMT
Use JavaScript to submit the form - the html:link has an onclick event.
Beware of having links and buttons simultaneously - Struts calls  buttons
it generates 'submit' which causes a naming clash.

Rob Breeds





                                                                                         
                                                        
                    John Ng                                                              
                                                        
                    <jng369@yahoo.       To:     struts-user@jakarta.apache.org       
                                                           
                    com>                 cc:                                          
                                                           
                                         Subject:     html:link - submit                 
                                                        
                    03/12/2001                                                           
                                                        
                    15:58                                                                
                                                        
                    Please respond                                                       
                                                        
                    to "Struts                                                           
                                                        
                    Users Mailing                                                        
                                                        
                    List"                                                                
                                                        
                                                                                         
                                                        
                                                                                         
                                                        




Is there a way to invoke the form submit action when
one clicks on a link by <html:link>?

Basically, I would like the submit the form by
clicking the link instead of clicking a button.

Thanks!

John




__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

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





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


Mime
View raw message