Sorry, I don't get it...
When I don't want to change all the constructors of my components, 
how can I use the function updateAjaxAttributes on an already existing
component ?
I thought this function is only overriddable when you are constructing the
component.

So when you want to add the same AjaxCallListener to all components on a
panel:
this.visitChildren(new IVisitor<Component, Void>() {
            public void component(Component component, IVisit<Void> visit) {
                    //here I want to add the AjaxCallListener to the
component. I can't use updateAjaxAttributes here.. The components are all of
different Classes, TextField, TextArea, DropDownChoice, ...
            }
}



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-add-AjaxCallListener-to-existing-component-tp4652404p4652411.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