The best approach is to use AjaxCallDecorator:

new AjaxLink<Void>(id) {
      @Override
      protected IAjaxCallDecorator getAjaxCallDecorator() {
        return new AjaxCallDecorator() {
          @Override
          public CharSequence decorateOnSuccessScript(CharSequence script) {
            return "alert('done');";
          }
        };
      }

Alex
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-show-hide-individual-column-of-a-DefaultDataTable-using-Ajax-tp2275208p2275440.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to