RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-19 Thread Jerry Yuan
Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar > -Original Message- > From: Dave Newton [mailto:[email protected]] > Sent: Wednesday, May 18, 2011 20:10 > To: Struts Developers List > Subject: Re: Issue Reporting: problem

RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Jason Pyeron
> -Original Message- > From: Dave Newton [mailto:[email protected]] > Sent: Wednesday, May 18, 2011 20:10 > To: Struts Developers List > Subject: Re: Issue Reporting: problem with findRootObject > process in struts2-json-plugin-2.2.3.jar > > On Wednesday,

Re: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Dave Newton
On Wednesday, May 18, 2011, Jerry Yuan wrote: > Any suggestions about placing it somewhere other than stack? Relying on stack position will always create risk, as you assume nothing else will ever modify the stack, and there is little communication to other layers or interceptors that the informat

Re: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Chris Pratt
Chris Pratt [mailto:[email protected]] > Sent: Wednesday, May 18, 2011 2:53 PM > To: Struts Developers List > Subject: RE: Issue Reporting: problem with findRootObject process in > struts2-json-plugin-2.2.3.jar > > I believe that was the entire purpose of the change. To all

RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Jerry Yuan
18, 2011 3:55 PM To: Struts Developers List Subject: Re: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar On Wed, May 18, 2011 at 6:28 PM, Jerry Yuan wrote: > Our interceptor needs to place the information holder such as skin > holder into the stack

Re: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Dave Newton
On Wed, May 18, 2011 at 6:28 PM, Jerry Yuan wrote: > Our interceptor needs to place the information holder such as skin > holder into the stack before calling the action class [...] Why does it have to place it specifically on the stack? Dave

RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Jerry Yuan
Message- From: Chris Pratt [mailto:[email protected]] Sent: Wednesday, May 18, 2011 2:53 PM To: Struts Developers List Subject: RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar I believe that was the entire purpose of the change. To allow interceptors (

RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Chris Pratt
I believe that was the entire purpose of the change. To allow interceptors (especially the ModelDriven interceptor) to provide the data for a JSON result. Do your interceptors have to put the data on the top of the stack? You could just do a stack.put("myObj",x) instead of a stack.push(x), then

RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Jerry Yuan
rom: Jason Pyeron [mailto:[email protected]] Sent: Wednesday, May 18, 2011 1:54 PM To: 'Struts Developers List' Subject: RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar > -Original Message- > From: Jerry Yuan [mailto:jy...@trionwor

RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Jason Pyeron
> -Original Message- > From: Jerry Yuan [mailto:[email protected]] > Sent: Wednesday, May 18, 2011 16:40 > To: '[email protected]' > Subject: Issue Reporting: problem with findRootObject process > in struts2-json-plugin-2.2.3.jar > > We have j

Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar

2011-05-18 Thread Jerry Yuan
We have just upgraded our applications from Struts 2.2.1 into Struts 2.2.3 (which was released on May 9, 2011). We saw and identified an issue in our application after the upgrade, and the issue exists in the library struts2-json-plugin-2.2.3.jar. Basically in the class org.apache.struts2.json.