Hi all,

Just to confirm if overriding updateAjaxAttributes has any effect on
AutoCompleteBehavior?
I was tryng to do the following but see no popup nor code reflected in the
html source.

@Override
        protected void updateAjaxAttributes(AjaxRequestAttributes
attributes) {
            super.updateAjaxAttributes(attributes);
            AjaxCallListener myAjaxCallListener = new AjaxCallListener() {

                @Override 
                public CharSequence getBeforeHandler(Component component) { 
                    return "alert('I\'m executed before the firing of the
Ajax call')"; 
                }
            };
            List<IAjaxCallListener> list =
attributes.getAjaxCallListeners();
            list.add(myAjaxCallListener);
        }

Regards,
James



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/updateAjaxAttributes-has-no-effect-on-AutoCompleteBehavior-tp4655560.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to