Hi.

I'm testing AjaxEditableLabel as well as AjaxEditableMultiLineLabel
using wicket rc7 now, but the same problem initially occurred with rc3.

Mysteriously, the ajax call isn't working with IE7, although it's
working with IE6, firefox etc.

Is it possible this is due to crippled IE7 installation, as I'm using
http://tredosoft.com/IE7_standalone on Parallels, and I have no apparent
chance to test on real windows box.


I get the following error in wicket ajax debug window, which tells
something about Automation server can't create object:

INFO: Initiating Ajax GET request on
?wicket:interface=:1:m2ChoiceContainer:m2author:label::IBehaviorListener:0:&random=0.2440050199589187
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (2769 characters)
INFO:
<?xml version="1.0"
encoding="UTF-8"?><ajax-response><header-contribution encoding="wicket1"
><![CDATA[<head xmlns:wicket="http://wicket.apache.org";><script
type="text/javascript"
src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
<script type="text/javascript"
src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
<script type="text/javascript"
src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
<script type="text/javascript"
id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
wicketAjaxDebugEnable=true;
/*-->]^]^>*/</script>

</head>]]></header-contribution><component id="m2author9"
><![CDATA[<span id="m2author9"><input type="text" value="x"
name="m2ChoiceContainer:m2author:editor" id="editore" onblur="{var
wcall=wicketAjaxGet('?wicket:interface=:1:m2ChoiceContainer:m2author:editor::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true&save=true&'+this.name+'='+wicketEncode(this.value),null,null,
function() {return Wicket.$('editore') != null;}.bind(this));; return
false;}" onkeypress="if (Wicket.Browser.isSafari()) { return; }; var
kc=wicketKeyCode(event); if (kc==27) {var
wcall=wicketAjaxGet('?wicket:interface=:1:m2ChoiceContainer:m2author:editor::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true&save=false',null,null,
function() {return Wicket.$('editore') != null;}.bind(this));; return
false;} else if (kc!=13) { return true; } else {var
wcall=wicketAjaxGet('?wicket:interface=:1:m2ChoiceContainer:m2author:editor::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true&save=true&'+this.name+'='+wicketEncode(this.value),null,null,
function() {return Wicket.$('editore') != null;}.bind(this));; return
false;}" onkeydown="if (!Wicket.Browser.isSafari()) { return; }; var
kc=wicketKeyCode(event); if (kc==27) {var
wcall=wicketAjaxGet('?wicket:interface=:1:m2ChoiceContainer:m2author:editor::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true&save=false',null,null,
function() {return Wicket.$('editore') != null;}.bind(this));; return
false;} else if (kc!=13) { return true; } else {var
wcall=wicketAjaxGet('?wicket:interface=:1:m2ChoiceContainer:m2author:editor::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true&save=true&'+this.name+'='+wicketEncode(this.value),null,null,
function() {return Wicket.$('editore') != null;}.bind(this));; return
false;}"/></span>]]></component><evaluate><![CDATA[{ var
el=wicketGet('editore');   if (el.createTextRange) {      var v =
el.value; var r = el.createTextRange();      r.moveStart('character',
v.length); r.select(); }
}]]></evaluate><evaluate><![CDATA[Wicket.Focus.setFocusOnId('editore');]]></evaluate></ajax-response>
ERROR: Wicket.Ajax.Call.failure: Error while parsing response:
Automation server can't create object
INFO: Invoking post-call handler(s)...
INFO: Invoking failure handler(s)...


Thanks,
cvl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to