ulf n wrote: > Thanks for all the input on this one! > > alas the form.submit(), causes a reload of the page :( > doh!
okay, so the issue is, you need the 'targets=""' attribute, but unfortunately for you, s:select doesn't have that bad boy. what i think you'll need to do, to get around this is to use listenTopics="/after" on the s:div you're trying to update, and change submitForm() to <script type="text/javascript"> function submitForm(id) { var form = document.getElementById(id); form.submit(); dojo.event.topic.publish('/after'); } </script> i have not tested this, so i'm not certain this will work. it's possible (but unlikely) that the publish might need to occur before the form.submit(), so try that, too, if the function shown above doesn't do the job. if this doesn't work for ya, i got nothin'. good luck. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org