what you are looking for is the "formId" attribute. You can specify the id of a form, and the fields of the form will be submitted when the request is made. Check showcase for examples.
musachy On Thu, Jul 17, 2008 at 11:38 AM, cree <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am trying to use an s:div tag but need to update the href dynamically. > > To give an idea I have a <s:div listenTopic="/refresh" id="updateDiv" > href="testAction.action?" theme="ajax"/>. I would like to on some user > event to either in javascript or any other way allow the href to append > specific variables. I have tried to href="testAction?someVar=%{someVar}" > where someVar can be say a text field with the name someVar. > > That initially didnt work (not sure if I am missing something), but the next > attempt I did was to invoke a javascript function that would directly append > to the href of the div. I read a bit and understand that the href is > stripped from the s:div tag, but I would like to at least append to it or > even use the variables that have been changed in the text field. > > Thanks in advance > -- > View this message in context: > http://www.nabble.com/s%3Adiv-Append-Href-tp18511393p18511393.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]