You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Closed) (JIRA)" <ji...@apache.org> on 2011/12/06 11:53:40 UTC

[jira] [Closed] (WW-3503) :action tag in jsp: Corresponding action class does NOT get the attributes from its including jsp's action.

     [ https://issues.apache.org/jira/browse/WW-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart closed WW-3503.
-----------------------------

    
> :action  tag in jsp: Corresponding action class does NOT get  the attributes from its including jsp's action.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-3503
>                 URL: https://issues.apache.org/jira/browse/WW-3503
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.2.1
>         Environment: XP Professional, tomcat 6.0.29, jdk 6  build 1.6.0.16
>            Reporter: Javier
>            Assignee: Lukasz Lenart
>             Fix For: 2.2.1
>
>
> I was using struts 2.1.8.1 and EVERYTHING was working fine. ON friday Sept 10, I downloaded and installed struts 2.2.1 and found that the <s:action tag is NO LONGER working the way it was working in struts 2.1.8.  Here is the problem:
> I have a search form, press submit  > goes to editActivityReports.action ( initializes business objects like activityReport, etc )  > goes to corresponding JSP
> in this JSP I include  <s:action name="loadBriefings" executeResult="true"  />    > goes to loadBriefings.action in here I declared private ActivityReport activityReport with getter and setter methods; This object was already created  by editActivityReports.action, so when I use  struts 2.1.8.1 and got to this point the object was passed and populated with its data. Now with struts 2.2.1 the Object IS NULL. I am assuming this is a bug, because it works with struts 2..1.8.1 and it DOES NOT WORK with  struts 2.2.1.  Problem is that I have two other applications for which I'm having the same problem .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira