[
https://issues.apache.org/jira/browse/WW-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801820#comment-17801820
]
Patrice DUROUX commented on WW-5377:
------------------------------------
Sorry, I just signed up for the Users Mailing list for the next time.
To be more clear, my improvement issue is related to the fact that both the
following JSP code:
<s:script>var data = <s:action name="data" exeretureResult="true" />;
....
</s:script>
and :
<script>var data = <s:action name="data" exeretureResult="true" />;
....
</script>
do not render the same output regarding the content script.
I haven't tried with another tag like {{<s:property>}} in place of
{{<s:action>.}}
Would you like me to provide a small test case?
> 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)