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]

Reply via email to