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