Sandra,

I'm not exactly clear on your question. Looks like you are trying to 
submit a form by clicking of a link, invoking myAction.do to do something 
with the form data. This should be workable. Are things not happening as 
you expect after the form submits? Does changing the paramScope 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

Subject
Html:link and save form






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