Examples of removeObjectForKey()


Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

    // MS: Remove jdbc2Info prior to SQL generation
    NSDictionary connectionDictionary = _model.connectionDictionary();
    if (connectionDictionary != null) {
      NSMutableDictionary mutableConnectionDictionary = connectionDictionary.mutableClone();
      mutableConnectionDictionary.removeObjectForKey("jdbc2Info");
      _model.setConnectionDictionary(mutableConnectionDictionary);
    }

    // MS: Add the "inEntityModeler" flag so that plugins can adjust their
    // behavior
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

    // MS: Remove jdbc2Info prior to SQL generation
    NSDictionary connectionDictionary = _model.connectionDictionary();
    if (connectionDictionary != null) {
      NSMutableDictionary mutableConnectionDictionary = connectionDictionary.mutableClone();
      mutableConnectionDictionary.removeObjectForKey("jdbc2Info");
      _model.setConnectionDictionary(mutableConnectionDictionary);
    }

    // MS: Add the "inEntityModeler" flag so that plugins can adjust their
    // behavior
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

   *            the progress object to unregister
   */
  public static void unregisterProgress(WOSession session, AjaxProgress progress) {
    NSMutableDictionary progresses = (NSMutableDictionary) session.objectForKey(AjaxProgressBar.AJAX_PROGRESSES_KEY);
    if (progresses != null && progress.id() != null) {
      progresses.removeObjectForKey(progress.id());
    }
  }

  /**
   * Returns the progress object with the given id (or null if one does not exist).
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

                ERD2WPage currentPage = (ERD2WPage)component;
                String subTask = (String)d2wContext.valueForKey("subTask");
                if ("tab".equals(subTask) || "wizard".equals("subTask")) {
                    NSArray sections = currentPage.sectionsForCurrentTab();
                    d2wInfo.setObjectForKey(sections != null ? sections : "null", "D2W-SectionsContentsForCurrentTab");
                    d2wInfo.removeObjectForKey("D2W-TabSectionsContents");
                }
            }
            info.addEntriesFromDictionary(d2wInfo);
        }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

  public NSMutableDictionary configurationData() {
    NSMutableDictionary configurationData = (NSMutableDictionary) valueForBinding(CONFIGURATION_DATA_BINDING);
    if (configurationData.objectForKey(CONFIGURATION_UPDATED) != null)
    {
      clearCachedConfiguration();
      configurationData.removeObjectForKey(CONFIGURATION_UPDATED);
    }

    return configurationData;
  }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

        return _contextDictionary;
    }
   
    public NSDictionary contextDictionaryForPage() {
      NSMutableDictionary dict = contextDictionary().mutableClone();
      dict.removeObjectForKey("componentLevelKeys");
        return dict;
    }
}
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

    if (options != null) {
      observerOptions.addEntriesFromDictionary(options);
    }
    AjaxSubmitButton.fillInAjaxOptions(element, component, submitButtonName, observerOptions);

    Object observeFieldFrequency = observerOptions.removeObjectForKey("observeFieldFrequency");
    if (observeDescendentFields) {
      response.appendContentString("MTASB.observeDescendentFields");
    }
    else {
      response.appendContentString("MTASB.observeField");
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

    }
    else {
      response.appendContentString("MTASB.observeField");
    }

    Object observeDelay = observerOptions.removeObjectForKey("observeDelay");   
    response.appendContentString("(" + AjaxUtils.quote(updateContainerID) + ", " + AjaxUtils.quote(observeFieldID) + ", " + observeFieldFrequency + ", " + (!fullSubmit) + ", " + observeDelay + ", ");
    AjaxOptions.appendToResponse(observerOptions, response, context);
    response.appendContentString(");");
  }
 
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

        NSMutableDictionary userInfo = new NSMutableDictionary();
        userInfo.setObjectForKey(key(), passwordPropertyKey);
        if (_password!=null) {
      userInfo.setObjectForKey(_password, "ERDEditPassword." + key() + ".value");
    } else {
      userInfo.removeObjectForKey("ERDEditPassword." + key() + ".value");
    }
        ERXWOContext.contextDictionary().setObjectForKey(userInfo, "ERDEditPassword");
    }

    @Override
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.removeObjectForKey()

    newSiteConfig.values().removeObjectForKey("password");
   
    // Build a dictionary of new values. Because we might only be updating a few  values (and not the whole
    // SiteConfig) we'll start with all the current values, less the password which we've already cached.
    NSMutableDictionary newValues = siteConfig().values();
    newValues.removeObjectForKey("password");
   
    // Overwrite and/or add the new incoming values.
    newValues.addEntriesFromDictionary(newSiteConfig.values());
   
    // Push the complete set of new values into the current SiteConfig object.
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.