Example #1
0
 public WOActionResults onlineAction() {
   LOG.info("onlineAction: ");
   Application application = (Application) WOApplication.application();
   ((Application) application).setOffline(false);
   return defaultAction();
 }
Example #2
0
 public WOActionResults offlineAction() {
   LOG.info("offlineAction: ");
   Application application = (Application) WOApplication.application();
   ((Application) application).setOffline(true);
   return pageWithName(PachydermOffline.class);
 }