Hi,
if a JavaScript script tag is added to AjaxRequestTarget (via
JavaScriptUtils.writeJavaScript), it is not evaluated on Chrome browser.
While debugging through wicket-ajax.js, it turns out, that
replaceOuterHtmlSafari function is not called for Chrome, but the Gecko
version gets executed instead (fall to "} else /* GECKO */ {" in
Wicket.replaceOuterHtml). And the Gecko version does not do any special
handling of SCRIPT tag, since Firefox does execute SCRIPT nodes added to the
DOM.
This behavior occurs since we upgraded from 1.5-RC4.2 to 1.5-RC5.1.
Seems like a bug, isn't it?Chrome Version, which I used for testing is 12.0.742.112 Best regards, Sergiy -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-SCRIPT-Tag-in-Ajax-Response-in-Wicket-1-5-RC5-1-tp3667783p3667783.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
