RE: submit a form with html:link

2003-07-29 Thread Faisal Shoukat
The following works when submitting a form: Login Test Thanks. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 15:39 To: 'Struts Users Mailing List' Subject: RE: submit a form with html:link How about: -Original Message- Fr

RE: submit a form with html:link

2003-07-29 Thread Yansheng Lin
How about: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: July 29, 2003 7:56 AM To: Struts Users Mailing List Subject: Re: submit a form with html:link OnClick is an arbitrary string that is evaluated by the scripting engine, not a URL. try replacing

Re: submit a form with html:link

2003-07-29 Thread ian_d_stewart
OnClick is an arbitrary string that is evaluated by the scripting engine, not a URL. try replacing onclick="javascript:'document.forms[0].submit();return false;'" with onclick="document.forms[0].submit(); return false" HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange -

Re: submit a form with html:link

2003-07-29 Thread Sergey Smirnov
Do not be surprised to receive two requests from browser if you do not use 'return false;' at the end. "Andrew Geery" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've gotten this to work by using '#' as the target of the href: > Login > > See also > http://www.mail-archive.com/[E

Re: submit a form with html:link

2003-07-29 Thread Andrew Geery
I've gotten this to work by using '#' as the target of the href: Login See also http://www.mail-archive.com/[EMAIL PROTECTED]/msg46693.html Konstadinis Euaggelos wrote: If you are using this way to submit the form then , you must not have in your form but only . so you must submit your form

Re: submit a form with html:link

2003-07-29 Thread Konstadinis Euaggelos
If you are using this way to submit the form then , you must not have in your form but only . so you must submit your form only wiht javasrcript. Hope this help. - Original Message - From: "Faisal Shoukat" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Se