somethign like:
webapplication.newajaxrequesttarget(page) {
ajaxrequesttarget t=super.newajaxrequesttarget(page);
t.addlistener(new ajaxrequesttarget.listener() {
onafterresponse(..) { notify_jquery_live_plugin_of_changes(); }
}
}
-igor
On Thu, Sep 17, 2009 at 5:02 AM, Decebal Suiu <[email protected]> wrote:
> Hello,
>
> I'm trying to add a hover effect for the actions column (icon with
> popup menu panel on mouseover) in an ajax table.
> The problem is that jQuery does not sense the new dom elements while
> I'm retrieving them with Wicket Ajax - by clicking (header sort link),
> so I'm using jquery "Live query" plugin.
>
> Problem is that neither this way works. The hover menu works when the
> page loads first type but
> when I click the header sort link in the table header which brings in
> new set of data, the hover menu does not get displayed.
> In the livequery documentation
> (http://docs.jquery.com/Plugins/livequery) I found:
> "If your plugin modifies the DOM without using the built-in DOM
> Modification methods (append, addClass, etc), you can register your
> plugin with Live Query like this.
>
> if (jQuery.livequery)
> jQuery.livequery.registerPlugin("pluginMethodName"); "
>
> The default event types are: 'append', 'prepend', 'after', 'before',
> 'wrap', 'attr', 'removeAttr', 'addClass', 'removeClass',
> 'toggleClass', 'empty', 'remove'
>
> What can I do?
>
> Thanks,
> Decebal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]