Hi,

I pasted you #updateAjaxAttributes() into ChoicePage from wicket-examples and alert shows up there.

Sven

On 06/04/2013 05:02 PM, heikki wrote:
     // this doesn't do anything
     @Override
     protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
         super.updateAjaxAttributes(attributes);

         IAjaxCallListener listener = new AjaxCallListener() {
             @Override
             public CharSequence getCompleteHandler(Component component) {
                 return "alert('onComplete');";
             }
         };
         attributes.getAjaxCallListeners().add(listener);
     }


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

Reply via email to