Examples of IERXPerformWOActionForResult


Examples of er.extensions.appserver.IERXPerformWOActionForResult

   *
   * @return result {@link TaskInfoPage} displaying result of task {@link T04SimpleEOFTask}
   */
  public WOActionResults dispatchSimpleEOFTask() {
    // Set up the controller for the end of task action
    IERXPerformWOActionForResult controller = new ERXNextPageForResultWOAction(pageWithName(TaskInfoPage.class), "taskInfo");
   
    Callable<EOGlobalID> task = new T04SimpleEOFTask();
   
   
    CCAjaxLongResponsePage nextPage = pageWithName(CCAjaxLongResponsePage.class);
View Full Code Here

Examples of er.extensions.appserver.IERXPerformWOActionForResult

      if (log.isDebugEnabled())
        log.debug("The task was canceled by the user, so now calling " + nextPageForCancelController());
      nextPageResponse = nextPageForCancelController().performAction();
    } else if (taskResult instanceof Exception) {
      // Invoke error controller
      IERXPerformWOActionForResult errorController = nextPageForErrorController();
      errorController.setResult(_result);
     
      if (log.isDebugEnabled())
        log.debug("The task had an error, so now calling " + errorController);
     
      nextPageResponse = errorController.performAction();
    } else {
      // Invoke the expected result controller
      if (log.isDebugEnabled())
        log.debug("The task completed normally. Now setting the result, " + taskResult
            + ", and calling " + nextPageForResultController());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.