OK... I know I must use javascript. My question really was about if struts2 s:a or sx:a tags had an option to generate that javascript submit text link, in a similar way as s:submit generates the input type="submit". I guest not. :-( Maybe it is an interesting option for a future release.
thanks, Ignacio Jack Qu wrote: > > In that way ,there has no way to do it excluding from javascript > -------------------------------------------------- > From: "Ignacio de Córdoba" <icord...@skios.es> > Sent: Tuesday, February 10, 2009 9:29 PM > To: <user@struts.apache.org> > Subject: Re: Text link to submit a form ¿struts2 way? > >> >> I love submit buttons but in this design I must use text as submit >> buttons. >> Buttons were to big for the graphic designer to fit them. >> >> >> Jack Qu wrote: >>> >>> Can submit button meet your request! >>> >>> -------------------------------------------------- >>> From: "Ignacio de Córdoba" <icord...@skios.es> >>> Sent: Monday, February 09, 2009 7:31 AM >>> To: <user@struts.apache.org> >>> Subject: Text link to submit a form ¿struts2 way? >>> >>>> >>>> Hi there, >>>> I just wonder if there is any proposed way or struts2 tag to generate a >>>> text >>>> link that submits a form. I've checked s:a and sx:a tags and can't find >>>> any >>>> info. I'd like to avoid using javascript directly if possible (even >>>> though >>>> I've been doing it in the past with struts1) >>>> Thanks for any directions. >>>> >>>> Ignacio >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Text-link-to-submit-a-form-%C2%BFstruts2-way--tp21904849p21904849.html >>>> Sent from the Struts - User mailing list archive at Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>>> For additional commands, e-mail: user-h...@struts.apache.org >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Text-link-to-submit-a-form-%C2%BFstruts2-way--tp21904849p21933609.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Text-link-to-submit-a-form-%C2%BFstruts2-way--tp21904849p21933833.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org