A link in HTML does not submit a form. Only submit inputs (buttons) an images input
does.
You can use javascript to do it (as you did), but then it overrides the href set on
the link (/myAction.do) and its
parameters.
Nico.
> I have a form with a htlm:link
>
> paramName="address" onclick="do
(html:select).
On the Onchange method we should update fields on the form.
Sandra
-Original Message-
From: Axel Stahlhut [mailto:[EMAIL PROTECTED]
Sent: 13 May 2004 16:05
To: Struts Users Mailing List
Subject: Re: Html:link and save form
Hi Sandra,
a link never submits data of the surrounding
Hi Sandra,
a link never submits data of the surrounding form. If you do it the way
you did, this should work, but if the user has javascript disabled,
nothing is submitted. You have got to check at least for errors from
that. But the user will never know or understand, ehat is happening. You
s
pe to
'request' make any difference for you?
Susan Bradeen
Heligon Sandra <[EMAIL PROTECTED]>
05/13/2004 06:23 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc
Subje
I have a form with a htlm:link
I need to add submit on the onclick to have changes of the form.
If I don't make submit the state of the form is not saved.
Is it a bug ?
Sandra
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
5 matches
Mail list logo