That's not a bug in Wicket. If you place javascript in head you have to either enclose the content in cdata block or escale < and > with < and > Otherwise it's not valid xml.
-Matej On Fri, Sep 26, 2008 at 2:40 AM, Dreamage <[EMAIL PROTECTED]> wrote: > > Hi, > > Is the content of wicket:head tags is parsed to ensure that SCRIPT are > placed into a CDATA in ajax response ? Because if I write Javascript > directly in a wicket:head tag and then create and render the component via > ajax, the javascript of the wicket:head is not placed in a CDATA block, and > the '<' character present in my js cause the response XML to be invalid. > > Let me know if it's a known issue or if it's a bug. > > Thanks > > (Attached is my quickstart project with the problem) > http://www.nabble.com/file/p19680773/myproject.zip myproject.zip > -- > View this message in context: > http://www.nabble.com/Javascript-in-wicket%3Ahead-via-Ajax-tp19680773p19680773.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]
