AjaxTimerBehaviourTest

this is the ajax response:

<?xml version="1.0" encoding="UTF-8"?><ajax-response><component
id="component0" ><![CDATA[<span wicket:id="component"
id="component0">Hello</span>]]></component><evaluate><![CDATA[setTimeout("var
wcall=wicketAjaxGet('/WicketTester/WicketTester?wicket:interface=:0:component:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true',
function() { }, function() { });", 20000);]]></evaluate></ajax-response>

and we expect this to be in the top string:

setTimeout(function() { var
wcall=wicketAjaxGet('/WicketTester/WicketTester?wicket:interface=:0:component:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true',
function() { }, function() { }); }, 20000);


but it is sent to the browser a bit different setTimeout not as a function
but as a string...

johan

Reply via email to