Hi, I receive the following error message when I try to update a component using ajax:
ERROR: Error while parsing response: Could not find root <ajax-response> element. This is the xml that was send back from the server. <?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution encoding="wicket1" ><![CDATA[<head xmlns:wicket="http://wicket.apache.org"><script type="text/javascript" src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script> <script type="text/javascript" src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script> <script type="text/javascript" src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script> <script type="text/javascript" id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/ wicketAjaxDebugEnable=true; /*-->]^]^>*/</script> </head>]]></header-contribution><component id="feedback1" encoding="wicket1" ><![CDATA[<div id="feedback1">[INFO]^ Total time: 12 secondsTotal time: 8 seconds [INFO]^ Finished at: Mon Sep 22 11:17:35 CEST 2008 [INFO]^ Final Memory: 5M/9M[INFO]^ ------------------------------------------------------------------------FO]^ ------------------------------------------------------------------------[INFO]^ Total time: 12 secondsTotal time: 8 seconds [INFO]^ Finished at: Mon Sep 22 11:17:35 CEST 2008 </div>]]></component></ajax-response> Are there any characters that are not allowed in an ajax-response? If I just return a hardcoded text it works fine.... Lars --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
