Hi I have problem with my ajax code. I try to run the code in my tapestry app, but when I read the results in firebug from my calls, I get an empty string "" from the tapestry servlet, when I indeed expect to see a well formed html page. I have tried to run the url that I call directly through the browser, which turns out to run just fine, but it seems that when i use the prototype Ajax.Updater it will not load the html content??
My script looks like this: function getHTML() { dojo.log.info("Running getHTML"); var url = '<span jwcid="@Insert" value="ognl:url" raw="ognl:true"/>'; var myAjax = new Ajax.Updater( '<span jwcid="@Insert" value="ognl:returnid"/>', url, { method: 'get', onFailure: reportError, asynchronous: false, evalScripts: true, onComplete: showResponse }); } I have verified that the url that is inserted into the url variable is valid, and the script also replaces the placeholder that is correctly inserted. But as told above, it seems that the tapestry servlet returns an empty string "" from the call. Is there a filter or something that prevents tapestry from responding properly to the Ajax.Updater calls? Is this a configuration issue for me? I am pretty sure people have been using this technique before :-) I know I could do something similar with the built in tapestry components, but I have to build some specially tailored ajaxstuff here to make my customers happy.... :-) Henrik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]