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" <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
