Hi

Im doing a mootip integration for wicketstuff (minis). I am only one step away from being able to release. Im having a bit of a problem with the ajax integration, might be me that have stared myself blind...

This is where im at (I have all the other bits in place):

var content=wicketAjaxGet('?wicket:interface=:0:tooltip02::IBehaviorListener:1:', null, null,null);
content=document.getElementById('mooTipContent').innerHTML;
return content;

Now what happens are that the tooltip displays the previous tooltip, so it's always lacking one behind. It's because wicketAjaxGet loads asynchronous so the method returns content from the previous request.. So the question are is there anyway of waiting for wicketAjaxGet to complete? Or should it be done in another way?

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to