[
https://issues.apache.org/struts/browse/WW-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44342#action_44342
]
Johannes Geppert commented on WW-2501:
--------------------------------------
no with current 2.1.2 it does not work. I give you an Example.
I have following div
<sx:div id="ziel">
....
</sx:div>
with this Form i call an Action thats load an other form into "ziel"
<s:form action="transport" theme="xhtml">
<s:textfield cssStyle="width: 170px;" id="auftrag"
label="Auftrag" maxlength="20" name="auftrag" required="true"
accesskey="a"/>
<s:radio id="art" label="Transportart" list="#{'t':'Test','p':'Produktiv'}"
name="art" required="true" accesskey="t"/>
<sx:submit value="wählen" targets="ziel" highlightColor="blue"
highlightDuration="2000" indicator="indicator" executeScripts="true"
separateScripts="true" parseContent="true"/>
</s:form>
thats work an I see following form in my target
<s:form action="zusammenfassung" theme="xhtml">
<s:doubleselect
name="thema"
label="Meine Themen"
list="meinethemen"
listKey="id"
listValue="name"
emptyOption="true"
headerValue="-1"
cssStyle="width: 170px;"
doubleName="aufgabe"
doubleList="aufgabes"
doubleListKey="id"
doubleListValue="name"
doubleEmptyOption="true"
doubleHeaderKey="-1"
doubleCssStyle="width: 170px;"
/>
<sx:submit value="Absenden" targets="zusammen"
highlightColor="blue" highlightDuration="2000" indicator="indicator2"
executeScripts="true" separateScripts="true"/>
</s:form>
The Problem is, the doubleselect does not work. I use the tags
<s:head/>
<sx:head/>
in the main page and also in the target page thats load into my target "ziel".
When I put the Doubleselect in my Mainpage withouit AJAX Call it works great.
I hope my code can help you to explain the Problem.
> 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.