[
https://issues.apache.org/jira/browse/WW-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801853#comment-17801853
]
Dave Newton edited comment on WW-5377 at 1/2/24 4:38 PM:
---------------------------------------------------------
[~pduroux] The most helpful thing would be to explain what you expected to
happen and what actually happened (but in the mailing list, the Jira is for
known/suspected issues, not general support).
That said why not use {{<s:script/>}} on its own and put your code in its own
{{<script>}} tag?
was (Author: newton_dave):
The most helpful thing would be to explain what you expected to happen and what
actually happened (but in the mailing list, the Jira is for known/suspected
issues, not general support).
That said why not use {{<s:script/>}} on its own and put your code in its own
{{<script>}} tag?
> trouble with Struts tags nested within <s:script> one
> -----------------------------------------------------
>
> Key: WW-5377
> URL: https://issues.apache.org/jira/browse/WW-5377
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 6.3.0
> Reporter: Patrice DUROUX
> Priority: Minor
> Fix For: 6.4.0
>
>
> Hi,
> I am facing a trouble with some JSPs that contain code like:
> {code:java}
> <s:script>
> var data = <s:action name="data" exeretureResult="true" />;
> ....
> </s:script>
> {code}
> Using <script> in place of <s:script> gives then the expected result.
> Also I am not sure if using <s:script> is better even for in-line script,
> I was just think so.
> Thanks!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)