Bugs item #1507518, was opened at 2006-06-16 22:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1507518&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: examples
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: RĂ¼diger Schulz (mindhaq)
Assigned to: Nobody/Anonymous (nobody)
Summary: Various Ajax examples don't work in MSIE

Initial Comment:
I run across a bug trying some of the ajax examples
with MSIE 6.0 on WinXPSp2. I found out on my local
setup, but confirm all of these trying it here as well:
http://www.wicket-library.com/wicket-examples. This
happens with two examples, the error messages seem to
point to the same problem, so I file just one bug.

Form Example
------------
I type a single letter, and nothing happens. Opening
the Ajax-Debug, I get the following messages. The same
happens after every keypress, or when I press the Ajax
submit button.

 INFO: 
 INFO: initiating ajax POST request with...
 INFO: url:
/wicket-examples/ajax?wicket:interface=:1:form:name::IBehaviorListener&wicket:behaviorId=1
 INFO: body: form%3Ahf%3A0=&name=a&email=&
 INFO: successHandler:function() { }
 INFO: failureHandler:function() { }
 INFO: received ajax response. 402 characters, envelope
following...
 INFO: 
 INFO: <?xml version="1.0"
encoding="UTF-8"?><ajax-response><component
id="feedback" ><![CDATA[<span id="feedback">
  <ul>
    <li class="feedbackPanelERROR">
      <span class="feedbackPanelERROR">Email is
required</span>
    </li><li class="feedbackPanelERROR">
      <span class="feedbackPanelERROR">Name must be at
least 4 characters</span>
    </li>
  </ul>
</span>]]></component></ajax-response>
ERROR: error while processing response: [object
Error].Unbekannter Laufzeitfehler
 INFO: invoking failure handler...

Todo-List example
-----------------
Click on new item, enter some characters, click Add
item, and nothing happens. Similar message of ajax debug:

 INFO: 
 INFO: initiating ajax POST request with...
 INFO: url:
/wicket-examples/ajax?wicket:interface=:15:addItems:form:add::IBehaviorListener&wicket:behaviorId=0
 INFO: body: addItems_form%3Ahf%3A0=&text=ccc&
 INFO: successHandler:function() { }
 INFO: failureHandler:function() { }
 INFO: received ajax response. 5415 characters,
envelope following...
 INFO: 
 INFO: <html>
<head>
<script type="text/javascript">
var clientTimeVariable = new Date().getTime();
</script>

        <title>Wicket Examples - Ajax</title>
    <link href="/wicket-examples/style.css"
type="text/css" rel="stylesheet"/>

    <style type="text/css">
                div {
                        aborder : 1px solid red;
                }
                .item {
                }
                .itemCheck {
                        float : left;
                        width : 50px;
                        text-align : right;
                        padding-right : 10px;
                }
                .itemText {
                        width : auto;
                }
    </style>
  <script type="text/javascript"
src="/wicket-examples/ajax/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js"></script>
<script
type="text/javascript">wicketAjaxDebugEnable=true;</script>
<script type="text/javascript"
src="/wicket-examples/ajax/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js"></script>
<script type="text/javascript"
src="/wicket-examples/ajax/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
<script type="text/javascript"
src="/wicket-examples/ajax/resources/wicket.markup.html.WebPage/cookies.js"></script>
<script type="text/javascript">var pagemapcookie =
getWicketCookie('pm-null/wicket-examplesAjaxApplication');
if(!pagemapcookie && pagemapcookie !=
'1'){setWicketCookie('pm-null/wicket-examplesAjaxApplication',1);}
else {document.location.href =
'/wicket-examples/ajax?wicket:interface=:15:1:INewBrowserWindowListener';}
</script>
</head>
<body
onunload="deleteWicketCookie('pm-null/wicket-examplesAjaxApplication');">
    <span>
    <h1><span>
        <a
href="/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.markup.html.debug.InspectorPage&amp;pageId=15"><img
valign="center" border="0"
src="/wicket-examples/ajax/resources/wicket.markup.html.debug.InspectorBug/bug_de.png"/></a>
  </span><a href="/wicket-examples/index.html"
target="_top" style="color: #E9601A">Wicket
Examples</a></h1>       
    <div id="titleblock"
style="font-size:larger;height:1.5em;vertical-align:center;">
        <div style="float:left;"><span>builtin</span></div>
            <div style="float:right;padding-right:10px"><a
href="/wicket-examples/ajax?wicket:interface=:15:mainNavigation:sources:1:ILinkListener"
onclick="window.open(href, 'sources',
'scrollbars=no,location=no,menuBar=no,resizable=no,status=no,toolbar=no,width=800,height=600');
 return false;">Source code</a></div>
    </div>
    <br/>
  </span>
    <a href="/wicket-examples/ajax">[go back]</a><p/>
    
        <span id="showItems">
                <div class="item">
                        <div class="itemCheck"><input type="checkbox"
checked="checked" name="showItems:item:0:check"
onchange="var
wcall=wicketAjaxPost('/wicket-examples/ajax?wicket:interface=:15:showItems:item:0:check:1:IBehaviorListener&wicket:behaviorId=1',
wicketSerialize(this), function() { }, function() {
});" id="showItems_item_0_check"/></div>
                        <div class="itemText"><span>t</span></div>
                </div><div class="item">
                        <div class="itemCheck"><input type="checkbox"
name="showItems:item:1:check" onchange="var
wcall=wicketAjaxPost('/wicket-examples/ajax?wicket:interface=:15:showItems:item:1:check:1:IBehaviorListener&wicket:behaviorId=1',
wicketSerialize(this), function() { }, function() {
});" id="showItems_item_1_check"/></div>
                        <div class="itemText"><span>fasfs</span></div>
                </div><div class="item">
                        <div class="itemCheck"><input type="checkbox"
name="showItems:item:2:check" onchange="var
wcall=wicketAjaxPost('/wicket-examples/ajax?wicket:interface=:15:showItems:item:2:check:1:IBehaviorListener&wicket:behaviorId=1',
wicketSerialize(this), function() { }, function() {
});" id="showItems_item_2_check"/></div>
                        <div class="itemText"><span>asdfa</span></div>
                </div><div class="item">
                        <div class="itemCheck"><input type="checkbox"
name="showItems:item:3:check" onchange="var
wcall=wicketAjaxPost('/wicket-examples/ajax?wicket:interface=:15:showItems:item:3:check:1:IBehaviorListener&wicket:behaviorId=1',
wicketSerialize(this), function() { }, function() {
});" id="showItems_item_3_check"/></div>
                        <div class="itemText"><span>vv</span></div>
                </div><div class="item">
                        <div class="itemCheck"><input type="checkbox"
name="showItems:item:4:check" onchange="var
wcall=wicketAjaxPost('/wicket-examples/ajax?wicket:interface=:15:showItems:item:4:check:1:IBehaviorListener&wicket:behaviorId=1',
wicketSerialize(this), function() { }, function() {
});" id="showItems_item_4_check"/></div>
                        <div class="itemText"><span>ccc</span></div>
                </div>
        </span>

        <div class="item">
                <div class="itemCheck">&nbsp;</div>
                <div class="itemText" id="addItems">
                        <a
href="/wicket-examples/ajax?wicket:interface=:15:addItems:link:1:ILinkListener"
onclick="var
wcall=wicketAjaxGet('/wicket-examples/ajax?wicket:interface=:15:addItems:link:1:IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });return !wcall;"
id="addItems_link">New
item</a>&nbsp;&nbsp;&nbsp;&nbsp;<a
href="/wicket-examples/ajax?wicket:interface=:15:addItems:remove:1:ILinkListener"
onclick="var
wcall=wicketAjaxGet('/wicket-examples/ajax?wicket:interface=:15:addItems:remove:1:IBehaviorListener&wicket:behaviorId=0',
function() { }, function() { });return !wcall;"
id="addItems_remove">Remove completed</a>
                        
                </div>
        </div>
  
<script type="text/javascript">
window.defaultStatus='Server parsetime: 0.0030s, Client
parsetime: ' + (new Date().getTime() -
clientTimeVariable)/1000 +  's';
</script>

</body>
</html>
ERROR: malformed response envelope: could not find root
<ajax-response> element
 INFO: invoking failure handler...
ERROR: error while processing response: [object
Error].Objekt erforderlich
 INFO: invoking failure handler...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1507518&group_id=119783


_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to