You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "John Krasnay (JIRA)" <ji...@apache.org> on 2007/05/03 19:59:15 UTC

[jira] Created: (WICKET-527) Panel header contribution breaks AJAX update in Internet Explorer

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.


[jira] Assigned: (WICKET-527) Panel header contribution breaks AJAX update in Internet Explorer

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp reassigned WICKET-527:
----------------------------------

    Assignee: Matej Knopp

> 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
>         Assigned To: Matej Knopp
>         Attachments: quickstart.zip
>
>
> 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.


[jira] Resolved: (WICKET-527) Panel header contribution breaks AJAX update in Internet Explorer

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp resolved WICKET-527.
--------------------------------

    Resolution: Invalid

Of course this doesn't work. Markup for header contribution must be well formed (xhtml valid). In your example you have 

        <link rel="stylesheet" type="text/css" href="SubComponent.css">

Which is wrong - without closing tag. If you change it to 

        <link rel="stylesheet" type="text/css" href="SubComponent.css"/>

Everything works.

> 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
>         Assigned To: Matej Knopp
>         Attachments: quickstart.zip
>
>
> 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.


[jira] Updated: (WICKET-527) Panel header contribution breaks AJAX update in Internet Explorer

Posted by "John Krasnay (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Krasnay updated WICKET-527:
--------------------------------

    Attachment: quickstart.zip

Attached quickstart demonstrating the problem.

> 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
>         Attachments: quickstart.zip
>
>
> 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.