[ 
https://issues.apache.org/struts/browse/WW-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44395#action_44395
 ] 

Johannes Geppert commented on WW-2501:
--------------------------------------

Hi Jeromy,

I try to add you script but this is removed in the result.

This is the code of my submit button
<sx:submit value="Absenden" targets="zusammen" highlightColor="blue" 
highlightDuration="2000" indicator="indicator2" executeScripts="true" 
separateScripts="true"/> 

this is the sample code in my taret jsp page
<s:head/>
<sx:head/>
<!-- begin test -->
<script>window.alert("runs");</script>
<!-- end test -->

the result is this
<!-- begin test -->

<!-- end test -->

The sx:submit button in my ajax result works fine and call a new ajax action in 
an differnt target.

Only my own javascript and the javascript from s:doubleselect was removed. 


> 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
>             Fix For: 2.1.3
>
>
> 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.

Reply via email to