Package co.nubetech.crux.action

Examples of co.nubetech.crux.action.CruxAction


  @Override
  public String intercept(ActionInvocation invocation) throws Exception {
    Object obj = invocation.getAction();

    if (demo) {
      CruxAction action = (CruxAction) obj;
      action.getError()
          .setMessage(
              "This is a demo version. You are not allowed to save, edit or delete.");
      if (!(obj instanceof SaveReportAction)) {
        return "success";
      } else {
View Full Code Here

TOP

Related Classes of co.nubetech.crux.action.CruxAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.