You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by David Leangen <wi...@leangen.net> on 2010/05/07 12:43:49 UTC

Troubles with AjaxEditableLabel

Hi!

Any hints to point me in the right direction?

Here is the end bit of the Ajax request (from the Wicket Ajax Debug  
panel):

<![CDATA[{ var el=wicketGet('editor42');   if (el.createTextRange)  
{      var v = el.value; var r = el.createTextRange();       
r.moveStart('character', v.length); r.select(); } }]]></ 
evaluate><evaluate><![CDATA[Wicket.Focus.setFocusOnId('editor42');]]></ 
evaluate></ajax-response>

But getting this error immediately after:

INFO: Response parsed. Now invoking steps...
ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating  
javascript: TypeError: el is null


So, the html doesn't get updated and my editable label is not editable.


The error message is not helping, and even after some digging, I've  
run out of ideas...


Can post more info if necessary.


Thanks!
=David



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