Ok, maybe Ryan will pickup on this.. As im not that familiar with scriptaculouls.. Not sure if jira's setup for this project, but if it is. You could just create a issue and paste a link from nabble?

regards Nino

Lan Boon Ping wrote:
Forgot to mention that Edward will update the customized version in OPS4J soon.

Regards
Boon Ping.

On Feb 1, 2008 5:26 PM, Lan Boon Ping <[EMAIL PROTECTED]> wrote:
Hi Nino,

I was busy yesterday, sorry for being late to reply you.

My colleague (Edward Yakop) found out the cause root and have a
solution for it. The reason why this is only occured in IE is because
wicket-ajax.js uses Element.removeChild and Element.addChild to
replace component during ajax callback.

So, the solution is to add an AjaxRequestTarget.IListener which hook
into Ajax Response cycle and do something in onBeforeRespond() method.

In onBeforeRespond, we will loop up droppable components and invoke

AjaxRequestTarget.prependJavascript( "Droppables.remove('" + markupId
+ "');"); );

to remove them from Javascript Droppables object and update it

 AjaxRequestTarget.add( droppableComponentToBeUpdated );

lastly we invoke this script to add the droppable javascript back to
droppable components.

 AjaxRequestTarget.appendJavascript( onDropJavaScript );

FYI, we don't have any patches for wicketstuff-scriptaculous, because
we are using customized version which hosted in OPS4J. Sorry for any
inconvenient.

Anyway, thanks for your offers.

Regards
Boon Ping.


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



--
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