Package com.webobjects.appserver

Examples of com.webobjects.appserver.WOActionResults


    super(s, nsdictionary, nsmutablearray);
  }

  @Override
  public WOActionResults invokeChildrenAction(WORequest worequest, WOContext wocontext) {
    WOActionResults woactionresults = super.invokeChildrenAction(worequest, wocontext);

    if (woactionresults != null) {
      WOElement nextComponent;
      if (woactionresults instanceof WOElement) {
        nextComponent = (WOElement) woactionresults;
View Full Code Here


        super.appendToResponse(r,c);
    }

    @Override
    public WOActionResults invokeAction(WORequest r, WOContext c) {
        WOActionResults results=null;
        setUpMenu();
        try {
            results = super.invokeAction(r,c);
        } catch (RuntimeException e) {
            // Might need to ignore rapid clicks, catch some type of IllegalArgumentException
View Full Code Here

    boolean wasInForm = context.isInForm();
    boolean wasFormSubmitted = context.wasFormSubmitted();
    context.setInForm(false);
    context.setFormSubmitted(false);
    try {
      WOActionResults results = super.invokeAction(request, context);
      return results;
    }
    finally {
      context.setInForm(wasInForm);
      context.setFormSubmitted(wasFormSubmitted);
View Full Code Here

    @Override
    public WOActionResults invokeAction(WORequest worequest, WOContext wocontext) {
      WOComponent component = wocontext.component();
      WOElement template = template(component);
      WOActionResults result;
      if(template != null) {
        wocontext._setCurrentComponent(component.parent());
        result = template.invokeAction(worequest, wocontext);
        wocontext._setCurrentComponent(component);
      } else {
View Full Code Here

  }

  @Override
  public WOActionResults invokeAction(WORequest request, WOContext context) {
    Object oldValue = setNewValue(context);
    WOActionResults result = super.invokeAction(request, context);
    restoreOldValue(oldValue, context);
    return result;
  }
View Full Code Here

   
    @Override
    public WOActionResults invokeAction(WORequest aRequest, WOContext aContext) {
        String statsKey = statsKey(aContext);
        ERXStats.markStart(ERXStats.Group.ComponentInvokeAction, statsKey);
      WOActionResults results = super.invokeAction(aRequest, aContext);
        ERXStats.markEnd(ERXStats.Group.ComponentInvokeAction, statsKey);
      return results;
    }
View Full Code Here

      }

      aContext._setPageChanged(false);
      if (aSenderID != null)
      {
        WOActionResults anActionResults = anApplication.invokeAction(aRequest, aContext);

        if ((anActionResults == null) || ((anActionResults instanceof WOComponent)))
        {
          WOComponent aResultComponent = (WOComponent)anActionResults;
          if ((aResultComponent != null) && (aResultComponent.context() != aContext)) {
            aResultComponent._awakeInContext(aContext);
          }
          boolean didPageChange = false;
          if ((aResultComponent != null) && (aResultComponent != aContext._pageElement())) {
            didPageChange = true;
          }
          aContext._setPageChanged(didPageChange);
          if (didPageChange) {
            aContext._setPageElement(aResultComponent);
          }

        }
        else
        {
          WOResponse theResponse = anActionResults.generateResponse();

          return theResponse;
        }
      }
View Full Code Here

        super.appendToResponse(r,c);
    }

    @Override
    public WOActionResults invokeAction(WORequest r, WOContext c) {
        WOActionResults results=null;
        setUpMenu();
        try {
            results = super.invokeAction(r,c);
        } catch (RuntimeException e) {
            // Might need to ignore rapid clicks, catch some type of IllegalArgumentException
View Full Code Here

  public boolean hasPreviousPage() {
    return currentBatchIndex() > 1;
  }

  public WOActionResults previousPage() {
    WOActionResults previousPage = null;
    if(displayGroup() != null){
      WODisplayGroup displayGroup = displayGroup();
      displayGroup.displayPreviousBatch();
    } else if(parentActionName() != null){
      Integer previousBatchIndex = Integer.valueOf((currentBatchIndex() - 1));
View Full Code Here

  public boolean hasNextPage() {
    return currentBatchIndex() < batchCount();
  }

  public WOActionResults nextPage() {
    WOActionResults nextPage = null;
    if(displayGroup() != null){
      WODisplayGroup displayGroup = displayGroup();
      displayGroup.displayNextBatch();
    } else if(parentActionName() != null){
      Integer nextBatchIndex = Integer.valueOf(currentBatchIndex() + 1);
View Full Code Here

TOP

Related Classes of com.webobjects.appserver.WOActionResults

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.