Re: wicket and livequery (jquery plugin)

2009-09-17 Thread Igor Vaynberg
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 wro

Re: wicket and livequery (jquery plugin)

2009-09-17 Thread Decebal Suiu
I think your approach is good but it is global (one js big function for all application). The solution with livequery is better (livequery listens for some js event types and call automatically some js functions using selectors for filtering). In my pages without tables but with ajax components th

Re: wicket and livequery (jquery plugin)

2009-09-17 Thread Pedro Santos
The problem is that jQuery does not sense the new dom elements while I'm retrieving them with Wicket Ajax I had an similar problem with javascript that was not executed when component was rendered with ajax in my case, the javascript was programed on onRender override method. In the occasion,

Re: wicket and livequery (jquery plugin)

2009-09-17 Thread Martin Makundi
Maybe you need to re-register it with wicket post/precallhandlers... I have had lots of difficulties with jquery and ajax because the markup added by jquery and the magic remains attached to the component that is replaced via ajax... and then the state is a mess. With pre/postcallhanlers you can r

wicket and livequery (jquery plugin)

2009-09-17 Thread Decebal Suiu
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" p