[ https://issues.apache.org/struts/browse/WW-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43915#action_43915 ]
Haaken Stark commented on WW-2501: ---------------------------------- This issues causes all javascripts generated by Struts or included in the remote page to be removed when the page is loaded through an sx:div tag. Toogling with the possible options with 'executeScripts' and 'separateScripts' doesn't seem to solve the problem. So when for example a s:form is set to validate="true" in the remote content, the included scripts is unable to execute. Or if an s:optiontransferselect tag is used in the remote content, which uses several javascript files like 'struts/util.jsp' and 'struts/optiontransferselect.js' and some aditional scripts generated by Struts, none of this scripts are able to execute. Further, when executeScripts="false" and separateScripts="false" is set, I can see that the javascripts are included, but unable to run., by inspecting the html using Firebug in Firefox. But when the attributes are set to executeScripts="true" and separateScripts="true", no scripts are executed and included. An error message is displayed instead: ' DEBUG: Error running scripts from content: undefined'. Any workaround or updates on this issue? > No JavaScript in sx:div > ----------------------- > > Key: WW-2501 > URL: https://issues.apache.org/struts/browse/WW-2501 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Dojo Tags > Affects Versions: 2.1.0 > Reporter: Alberto José Rodríguez Rodríguez > Priority: Critical > > Time ago I noticed that javascript were removed in the pages linked by > <sx:div ..>. > Parameters executeScripts and separateScripts don't solve the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.