You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Davide Gurgone (JIRA)" <ji...@apache.org> on 2011/01/10 23:59:45 UTC
[jira] Created: (WW-3557) s:action tag loose parent action
parameters
s:action tag loose parent action parameters
-------------------------------------------
Key: WW-3557
URL: https://issues.apache.org/jira/browse/WW-3557
Project: Struts 2
Issue Type: Bug
Components: Core Actions, Core Interceptors, Plugin - Tags
Affects Versions: 2.2.1.1
Environment: Mac osx snow leopard, jdk 1.6, apache tomcat 6
Reporter: Davide Gurgone
Hello,
I recently migrated to Struts 2.2.1.1 from 2.1.8.1 and now I have a problem with <@s.action> freemarker tag.
Caller action and called action has different property values. This is a key feature for me, I really don't know how to solve this issue. I think it's a bug.
This is my first issue creation, I hope to made it as well as I can.
Davide Gurgone.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3557) s:action tag loose parent action
parameters
Posted by "Maurizio Cucchiara (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980387#action_12980387 ]
Maurizio Cucchiara commented on WW-3557:
----------------------------------------
Ok Davide,
you are using nested tags.
That enforces my original guess. Please let me know about nightly build.
In bocca al lupo per la consegna ;-)
> s:action tag loose parent action parameters
> -------------------------------------------
>
> Key: WW-3557
> URL: https://issues.apache.org/jira/browse/WW-3557
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions, Core Interceptors, Plugin - Tags
> Affects Versions: 2.2.1.1
> Environment: Mac osx snow leopard, jdk 1.6, apache tomcat 6
> Reporter: Davide Gurgone
> Assignee: Maurizio Cucchiara
>
> Hello,
> I recently migrated to Struts 2.2.1.1 from 2.1.8.1 and now I have a problem with <@s.action> freemarker tag.
> Caller action and called action has different property values. This is a key feature for me, I really don't know how to solve this issue. I think it's a bug.
> This is my first issue creation, I hope to made it as well as I can.
> Davide Gurgone.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3557) s:action tag loose parent action
parameters
Posted by "Davide Gurgone (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979864#action_12979864 ]
Davide Gurgone commented on WW-3557:
------------------------------------
Hi, I downgraded version back to 2.1.8.1, now everything is working again.
Thanks a lot, Davide.
> s:action tag loose parent action parameters
> -------------------------------------------
>
> Key: WW-3557
> URL: https://issues.apache.org/jira/browse/WW-3557
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions, Core Interceptors, Plugin - Tags
> Affects Versions: 2.2.1.1
> Environment: Mac osx snow leopard, jdk 1.6, apache tomcat 6
> Reporter: Davide Gurgone
>
> Hello,
> I recently migrated to Struts 2.2.1.1 from 2.1.8.1 and now I have a problem with <@s.action> freemarker tag.
> Caller action and called action has different property values. This is a key feature for me, I really don't know how to solve this issue. I think it's a bug.
> This is my first issue creation, I hope to made it as well as I can.
> Davide Gurgone.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3557) s:action tag loose parent action
parameters
Posted by "Maurizio Cucchiara (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979924#action_12979924 ]
Maurizio Cucchiara commented on WW-3557:
----------------------------------------
Hi Davide,
I'm not sure I understand exactly what you mean.
Particularly when you say "loose". It seems that you mean that the former version of the action tag handled a parent attribute, but I'm pretty sure that we're talking about nested actions.
Could you try what happens with a nigthly build [1]?
My guess is that it works exactly as the 2.1.8.1 version.
[1] https://hudson.apache.org/hudson/job/Struts2/lastBuild/org.apache.struts$struts2-assembly/
> s:action tag loose parent action parameters
> -------------------------------------------
>
> Key: WW-3557
> URL: https://issues.apache.org/jira/browse/WW-3557
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions, Core Interceptors, Plugin - Tags
> Affects Versions: 2.2.1.1
> Environment: Mac osx snow leopard, jdk 1.6, apache tomcat 6
> Reporter: Davide Gurgone
> Assignee: Maurizio Cucchiara
>
> Hello,
> I recently migrated to Struts 2.2.1.1 from 2.1.8.1 and now I have a problem with <@s.action> freemarker tag.
> Caller action and called action has different property values. This is a key feature for me, I really don't know how to solve this issue. I think it's a bug.
> This is my first issue creation, I hope to made it as well as I can.
> Davide Gurgone.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3557) s:action tag loose parent action
parameters
Posted by "Davide Gurgone (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980048#action_12980048 ]
Davide Gurgone commented on WW-3557:
------------------------------------
Hi Maurizio,
I have an action, called layoutManager.
This action has 2 interceptors in his stack, that prepares and modify fields in action.
This Action returns a freemarker template, containing nested actions calls, like this:
<@s.action name="features" executeResult="true" flush="true">
<@s.param name="featureName" value="%{'header'}"/>
<@s.param name="categoryName" value="%{categoryName}"/>
<@s.param name="contentName" value="%{contentName}"/>
</...@s.action>
This action has the same interceptor stack of layoutManager. Here comes the problem.
Debugging interceptor, I rightly prepare and modify data inside "features" action, but when control comes inside the action, fields are not set.
Debugging I discovered that in interceptor I prepare an instance, but another is executed.
Downgrading I do not register the same behaviour. Unfortunately I can't try nightly now, because tomorrow I'll be online with an ecommerce written with struts 2 and I need to close some bugs before.
I can do this test next thursday, ok?
Tanks a lot, Davide.
> s:action tag loose parent action parameters
> -------------------------------------------
>
> Key: WW-3557
> URL: https://issues.apache.org/jira/browse/WW-3557
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions, Core Interceptors, Plugin - Tags
> Affects Versions: 2.2.1.1
> Environment: Mac osx snow leopard, jdk 1.6, apache tomcat 6
> Reporter: Davide Gurgone
> Assignee: Maurizio Cucchiara
>
> Hello,
> I recently migrated to Struts 2.2.1.1 from 2.1.8.1 and now I have a problem with <@s.action> freemarker tag.
> Caller action and called action has different property values. This is a key feature for me, I really don't know how to solve this issue. I think it's a bug.
> This is my first issue creation, I hope to made it as well as I can.
> Davide Gurgone.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Closed] (WW-3557) s:action tag loose parent action
parameters
Posted by "Maurizio Cucchiara (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maurizio Cucchiara closed WW-3557.
----------------------------------
Resolution: Cannot Reproduce
no response after six month, closing
> s:action tag loose parent action parameters
> -------------------------------------------
>
> Key: WW-3557
> URL: https://issues.apache.org/jira/browse/WW-3557
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions, Core Interceptors, Plugin - Tags
> Affects Versions: 2.2.1.1
> Environment: Mac osx snow leopard, jdk 1.6, apache tomcat 6
> Reporter: Davide Gurgone
> Assignee: Maurizio Cucchiara
>
> Hello,
> I recently migrated to Struts 2.2.1.1 from 2.1.8.1 and now I have a problem with <@s.action> freemarker tag.
> Caller action and called action has different property values. This is a key feature for me, I really don't know how to solve this issue. I think it's a bug.
> This is my first issue creation, I hope to made it as well as I can.
> Davide Gurgone.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (WW-3557) s:action tag loose parent action
parameters
Posted by "Maurizio Cucchiara (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maurizio Cucchiara reassigned WW-3557:
--------------------------------------
Assignee: Maurizio Cucchiara
> s:action tag loose parent action parameters
> -------------------------------------------
>
> Key: WW-3557
> URL: https://issues.apache.org/jira/browse/WW-3557
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions, Core Interceptors, Plugin - Tags
> Affects Versions: 2.2.1.1
> Environment: Mac osx snow leopard, jdk 1.6, apache tomcat 6
> Reporter: Davide Gurgone
> Assignee: Maurizio Cucchiara
>
> Hello,
> I recently migrated to Struts 2.2.1.1 from 2.1.8.1 and now I have a problem with <@s.action> freemarker tag.
> Caller action and called action has different property values. This is a key feature for me, I really don't know how to solve this issue. I think it's a bug.
> This is my first issue creation, I hope to made it as well as I can.
> Davide Gurgone.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.