Re: Adding jquery effects to paging navigator

2008-12-05 Thread Daniel Peters
Serkan Camurcuoglu wrote: > just noticed I forgot to add the behavior to the link, but still the > javascript does not show up.. I know your mail was some time ago, but I just had the same problem and found a solution. Maybe it helps somebody else in future... The problem is that the fadeOut() me

Re: Adding jquery effects to paging navigator

2008-09-22 Thread Matej Knopp
You can add simple AbstractBehavior i.e. link.add(new AbstractBehavior() { pubic void onComponentTag(Component component, Tag tag) { tag.put("onclick", onclickscript); } }); but you have to make sure you'll adding it to the right component. -Matej On Mon, Sep 22, 2008 at 11:12 PM, Serkan Ca

Re: Adding jquery effects to paging navigator

2008-09-22 Thread Serkan Camurcuoglu
just noticed I forgot to add the behavior to the link, but still the javascript does not show up.. Serkan Camurcuoglu wrote: How can I modify the onclick attribute of the links in the AjaxPagingNavigator? I override newPagingNavigationLink in my ajax paging navigator as shown below, but my j

Re: Adding jquery effects to paging navigator

2008-09-22 Thread Serkan Camurcuoglu
How can I modify the onclick attribute of the links in the AjaxPagingNavigator? I override newPagingNavigationLink in my ajax paging navigator as shown below, but my javascript is not prepended. I want to add JQuery fadeout code before wicketAjaxGet: @Override protected Link newPagingNaviga

Adding jquery effects to paging navigator

2008-09-22 Thread Serkan Camurcuoglu
Hi all, I want to add some decoration to AjaxPagingNavigator. I want the current page to fade out and the new page to fade in when the user clicks next. I'm thinking of using JQuery for effects. Can anybody show me some pointers to achieve this? --