code: @Override
      public ActionResponse hookBefore(final ActionRuntime runtime) { // application may override
          return viewHelper.getActionHook().hookBefore(runtime, r -> super.hookBefore(r));
      }
docs: #app_customize you can customize the action hook