• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2WQuery Component Frustration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2WQuery Component Frustration


  • Subject: Re: D2WQuery Component Frustration
  • From: James Cicenia <email@hidden>
  • Date: Wed, 1 Feb 2006 13:16:51 -0600

Ok -

I am now feeling really stupid. I have taken out what I think is relevant from ERD2WQueryPage and made myself a TOSD2WQuery component. Inside that I have mainly taken the push/pull but when i print out some info this is what I get:

after pushQueryBindings ::: {}
TOS Query Bindings {queryMin = {}; }
after pushQueryBindings ::: {queryMin = {}; }
TOS Query Bindings {queryMin = {}; queryMax = {}; }
after pushQueryBindings ::: {queryMin = {}; queryMax = {}; }
TOS Query Bindings {queryMin = {}; queryMax = {}; queryMatch = {}; }
after pushQueryBindings ::: {queryMin = {}; queryMax = {}; queryMatch = {}; }
TOS Query Bindings {queryOperator = {}; queryMin = {}; queryMax = {}; queryMatch = {}; }
after pushQueryBindings ::: {queryOperator = {}; queryMin = {}; queryMax = {}; queryMatch = {}; }


Why are all the dictionaries empty?

This is being called here:

    protected void pushQueryBindingsForName(String name) {
    NSDictionary queryBindings = queryBindings();
    if(queryBindings != null && (queryBindings instanceof NSMutableDictionary)) {

    System.out.println("after pushQueryBindings ::: "+queryBindings);

    NSMutableDictionary mutableQueryBindings = (NSMutableDictionary)queryBindings;
    NSDictionary source = (NSDictionary)NSKeyValueCoding.Utility.valueForKey(displayGroup, name);
    mutableQueryBindings.setObjectForKey(source.mutableClone(), name);
    }
    }

What am I missing? Is my displayGroup getting nulled? 

Very frustrated and feeling stupid,
James Cicenia

ps: never used displayGroups much either.







 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: D2WQuery Component Frustration (From: James Cicenia <email@hidden>)

  • Prev by Date: RE: Calculator Web Service example - log4j/commons-logging discovery
  • Next by Date: Re: Using a dynamic library with Java
  • Previous by thread: Re: D2WQuery Component Frustration
  • Next by thread: Re: D2WQuery Component Frustration
  • Index(es):
    • Date
    • Thread