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]

Reply via email to