Karma Upgrade
Good day. Per the Struts 2 documentation I am respectfully requesting a Karma Upgrade to my Confluence account granting me permission to contribute to the Struts 2 documenation. I filed a CLA during the Summer of 2010. If you have any questions, comments, or observations please contact me. Jeffrey Black jeffrey.bl...@yahoo.com
Problem on json result on includeparameter configuration
I am using hibernate to generate a json object. my object is kind of list[].set[].set[] when my add a pattern as below: list\[\d+\]\.set\[\d+\]\.set\[\d+\]\.attr the json result cannot generate the json string. After I debug the trace. I suspect the interceptor cannot parse my pattern correctly. in the JSONWriter.write, includeproperties attribute is carrying following list of data: list list\[\d+\] list\[\d+\].set It seems cannot support multi-level of array parsing. Am I using a wrong pattern to parse it out? Please help~ Regards, Benny -- View this message in context: http://struts.1045723.n5.nabble.com/Problem-on-json-result-on-includeparameter-configuration-tp4431811p4431811.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: Karma Upgrade
On Fri, May 27, 2011 at 5:15 AM, Jeff Black jeffrey.bl...@yahoo.com wrote: Good day. Per the Struts 2 documentation I am respectfully requesting a Karma Upgrade to my Confluence account granting me permission to contribute to the Struts 2 documenation. Done. -- Martin Cooper I filed a CLA during the Summer of 2010. If you have any questions, comments, or observations please contact me. Jeffrey Black jeffrey.bl...@yahoo.com - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: Problem on json result on includeparameter configuration
This should probably be sent to the user list instead. However, before we can answer your question, please tell us which version of Struts2 you are using and how you are setting the pattern. John On 5/27/11 5:52 AM, benny benny...@yahoo.com wrote: I am using hibernate to generate a json object. my object is kind of list[].set[].set[] when my add a pattern as below: list\[\d+\]\.set\[\d+\]\.set\[\d+\]\.attr the json result cannot generate the json string. After I debug the trace. I suspect the interceptor cannot parse my pattern correctly. in the JSONWriter.write, includeproperties attribute is carrying following list of data: list list\[\d+\] list\[\d+\].set It seems cannot support multi-level of array parsing. Am I using a wrong pattern to parse it out? Please help~ Regards, Benny -- View this message in context: http://struts.1045723.n5.nabble.com/Problem-on-json-result-on-includeparameter -configuration-tp4431811p4431811.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org