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 should use a button, maybe an image button, and the image is the linktext?!

Regards axel

Heligon Sandra wrote:

I have a form with a htlm:link

<html:link page="/myAction.do" paramId="method" paramScope="page"
paramName="address" onclick="document.forms[0].submit();">

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] For additional commands, e-mail: [EMAIL PROTECTED]





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



Reply via email to