Package com.webobjects.appserver

Examples of com.webobjects.appserver.WOActionResults


      /*
       * logs the action name into session's dictionary with a key = ERXActionLogging
       */
      @Override
      public WOActionResults invokeAction(WORequest arg0, WOContext arg1) {
        WOActionResults result = super.invokeAction(arg0, arg1);
        if (result != null && _action != null && ERXSession.anySession() != null) {
          ERXSession.anySession().setObjectForKey(toString(), "ERXActionLogging");
        }
        return result;
      }
View Full Code Here


      /*
       * logs the action name into session's dictionary with a key = ERXActionLogging if log is set to debug.
       */
      @Override
      public WOActionResults invokeAction(WORequest arg0, WOContext arg1) {
        WOActionResults result = super.invokeAction(arg0, arg1);
        if (result != null && ERXSession.anySession() != null) {
          ERXSession.anySession().setObjectForKey(toString(), "ERXActionLogging");
        }
        return result;
      }
View Full Code Here

   
    // actions
    public WOActionResults invokeAction() {
      context().setActionInvoked(true);
    if (hasBinding(Bindings.action))  {
      WOActionResults action = action();
      if (action instanceof WOComponent)  ((WOComponent) action)._setIsPage(true)// cache is pageFrag cache
      return action;
    } else return context().page();
    }
View Full Code Here

  // actions
  public WOActionResults invokeAction() {
    context().setActionInvoked(true);
    if (hasBinding(Bindings.action))  {
      WOActionResults action = action();
      if (action instanceof WOComponent)  ((WOComponent) action)._setIsPage(true)// cache is pageFrag cache
      return action;
    } else return context().page();
  }
View Full Code Here

                throw new DirectActionException("Invalid type " + s1, 406);
        }
        refreshInformation();
        _handler.startReading();
        try {
            WOActionResults woactionresults = super.performActionNamed(s);
            return woactionresults;
        } finally {
            _handler.endReading();
        }
    }
View Full Code Here

    @Override
    public WOActionResults performActionNamed(String s) {
        WOResponse woresponse = new ERXResponse();
        if (!siteConfig().isPasswordRequired() || siteConfig().compareStringWithPassword(context().request().stringFormValueForKey("pw"))) {
            try {
                WOActionResults woactionresults = performMonitorActionNamed(s);
                if (woactionresults != null && (woactionresults instanceof WOResponse)) {
                    woresponse = (WOResponse) woactionresults;
                } else {
                    woresponse.setContent("OK");
                }
View Full Code Here

    super.takeValuesFromRequest(request, context);
  }

  @Override
  public WOActionResults invokeAction(WORequest request, WOContext context) {
    WOActionResults results = super.invokeAction(request, context);
    return results;
  }
View Full Code Here

  public WOActionResults accept() {
    if (session().errors().hasNotices()) {
      return null;
    }
   
    WOActionResults nextPage;

    // MS: This password checking is some repetitive bullshit ... It needs to be somewhere more centralized, but
    // they're all just SLLIIGGHTTLY different. They also can't quite be in EO validation because we actually
    // ALLOW a null password, but just not when entered by a user.
    if (_password != null) {
View Full Code Here

   * @throws ConsumerException
   */
  public WOActionResults openIDRequestAction() {
  String identity = request().stringFormValueForKey("identity");
  String realm = request().stringFormValueForKey("realm");
    WOActionResults results = null;
    try
    {
      results = EROpenIDManager.manager().authRequest(identity, realm, request(), context());
      if (results == null)
        results = this.pageForKey("er.openid.failurePageName");
View Full Code Here

    }
    catch (Exception exception)
    {
      EROpenIDManager.log.info(exception);
    }
    WOActionResults results;
    if (response != null && response.succeeded()) {
      WOComponent successPage = this.pageForKey("er.openid.successPageName");
      if (successPage instanceof IEROResponsePage) {
        ((IEROResponsePage) successPage).setOpenIDResponse(response);
      }
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.