it is expected in order to escape any possible CDATA]]> closing tags, this is escaped back into ] by javascript on the client side.
-igor On Thu, Jul 15, 2010 at 9:07 AM, DmitryM <[email protected]> wrote: > > Hello, guys > > I've noticed one thing recently (could not find anything related in the > forum). > My Wicket is 1.4.9 and I needed a JSON data with arrays which is attached to > the Ajax response. > > Currently I see that all arrays' closing brackets ']' are turned into ']^' > which technically breaks my JSON (and even simple javascript) being > returned. > > Is it a bug or an expected behavior and I can do something about it? > > Because when Ajax response is being evaluated javascript gets parsing error > and I'm not sure I have any control over it. > > Thanks, > Dmitry > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/AjaxRequestTarget-appendJavascript-broken-arrays-tp2290353p2290353.html > Sent from the Wicket - User 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]
