Panel header contribution breaks AJAX update in Internet Explorer
-----------------------------------------------------------------

                 Key: WICKET-527
                 URL: https://issues.apache.org/jira/browse/WICKET-527
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.2.6
            Reporter: John Krasnay


If a Panel subclass makes a header contribution via <wicket:head>, and the 
panel code attempts to refresh itself in response to an AjaxLink click, the 
refresh does not work on IE. The debug window shows the following error:

INFO:
INFO: Initiating Ajax GET request on
/arp/?wicket:interface=:0:subComponent:link::IBehaviorListener&wicket:behaviorId=0&random=0.8818904450460203
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (656 characters)
INFO:
<?xml version="1.0"
encoding="UTF-8"?><ajax-response><header-contribution><![CDATA[<head
xmlns:wicket="http://wicket.sourceforge.net";>

        <link
href="/arp/resources/com.td.idcs.arp.dev.SubComponent/SubComponent_en_US.css"
rel="stylesheet" type="text/css">

    </head>]]></header-contribution><component id="subComponent"
><![CDATA[<div id="subComponent">
    <a href="#" onclick="var
wcall=wicketAjaxGet('/arp/?wicket:interface=:0:subComponent:link::IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });return !wcall;"
id="subComponent_link">Click Me</a>
    <span>3</span>
</div>]]></component></ajax-response>
ERROR: Error while parsing response: Object required
INFO: Invoking post-call handler(s)...
INFO: Invoking failure handler(s)...


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to