struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject RE: Issue Reporting: problem with findRootObject process in struts2-json-plugin-2.2.3.jar
Date Wed, 18 May 2011 21:53:21 GMT
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
reference the value using the hash operator in your view (i.e. #myObj).
  (*Chris*)
On May 18, 2011 2:34 PM, "Jerry Yuan" <jyuan@trionworlds.com> wrote:

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message