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

2011-05-19 Thread Jerry Yuan
with findRootObject process in > struts2-json-plugin-2.2.3.jar > > 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 th

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 Jerry Yuan
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 reference the value using the hash operator in y

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

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.