RogerV wrote: > > So could someone explain either how to make the <s:optiontransferselect> > work with the <sj:submit> tag or suggest a way that I can post a form from > within a <sj:tab> tag and have the response page display within the > confines of the same <sj:tab> >
Firstly the javascript used by the optiontransferselect tag attaches an onSubmit handler to the form that wraps the select options. When making an Ajax submit request the onSubmit event is not fired by the form so the call to the auto select script has to come from the sj:submit tag. Placing the call in the onBeforeTopics of the sj:submit tag doesn't work. Although the elements in the optiontransferselect appear visually to be selected, they are not returned to the underlying action. You have to make the call in the onClickTopics of the sj:submit tag. Regards -- View this message in context: http://old.nabble.com/Problem-with-%3Cs%3Aselectoptiontransfer%3E-when-used-with-Jquery-plugin-%3Csj%3Asubmit%3E-tp31003927p31038647.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org