Fixed this last bit by wrapping the return call decorator in a CancelEvent
one (it chains):

    final AjaxPagingNavigationBehavior behavior =
        new AjaxPagingNavigationBehavior(this, pageable, "onclick") {
          protected IAjaxCallDecorator getAjaxCallDecorator() {
            return new CancelEventIfNoAjaxDecorator(decorator);
          }
        };




James McLaughlin-3 wrote:
> 
>>From what I can tell, since it is not really an ajax link but rather a
> regular link with an ajax behavior, the ajax behavior needs to prevent
> the onclick from bubbling to the anchors clickhandler. Your
> ajaxcalldecorator will need to do that as well. It would be great if
> once you are done you could create an rfe in jira with the
> enhancements that will make this process easier.
> 
> jim
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Adding-more-onclick-script-to-ajax-link--tf3843103.html#a10901678
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to