wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vov <vov...@mail.ru>
Subject Re: wicketGlobalFailureHandler in wicket 6
Date Fri, 14 Dec 2012 13:08:19 GMT
Thanks for the reply. 

Unfortunately I have not idea how to configure it on the application
level(eg. execute script on all 'failure' in the application)

It was possible in wicket 1.4 - BasePage.java:
 add(new Behavior()
    {
      @Override
      public void renderHead(Component component, IHeaderResponse response)
      {
        response.render(OnLoadHeaderItem.forScript( //
            "wicketGlobalFailureHandler = function(){alert('alarm!')}"));
      }
    });



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketGlobalFailureHandler-in-wicket-6-tp4654806p4654817.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Mime
View raw message