Package com.secretpal.components.application

Examples of com.secretpal.components.application.SPErrorPage


    if (context != null && AjaxUtils.isAjaxRequest(context.request())) {
      ERXRedirect redirect = pageWithName(ERXRedirect.class, context);
      redirect.setDirectActionName("error");
      response = redirect.generateResponse();
    } else {
      SPErrorPage errorPage = pageWithName(SPErrorPage.class, context);
      errorPage.setException(exception);
      response = errorPage.generateResponse();
    }
    return response;
  }
View Full Code Here

TOP

Related Classes of com.secretpal.components.application.SPErrorPage

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.