ERMODQueryPage help
I am trying to understand the ERMODQueryPage in my D2W app. to that end, I cloned it to TPMODQueryPage and I am screwing around to see what does what. I see that the list for the popup might be being generated in ERD2WQueryStringOperator extends D2WQueryStringOperator. The end result is that I want to limit the list in the popup on a QueryPage to Contains, Starts With, Like (although Contains and Like sound like the same thing). Is there a property that I can set to give me the list I want or do I have to clone the stringOperator? on a java style question, I see this a lot: _stringQualifierOperators = new NSArrayString(new String[]{starts with, contains, ends with, is, like}); would it be more better to use _stringQualifierOperators = new NSArrayString(starts with, contains, ends with, is, like); are they the same? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERMODQueryPage help
100 : propertyKey = 'abstract' = qualifierOperators = (contains) [com.webobjects.directtoweb.Assignment] On 2013-02-07, at 7:59 AM, Theodore Petrosky tedp...@yahoo.com wrote: I am trying to understand the ERMODQueryPage in my D2W app. to that end, I cloned it to TPMODQueryPage and I am screwing around to see what does what. I see that the list for the popup might be being generated in ERD2WQueryStringOperator extends D2WQueryStringOperator. The end result is that I want to limit the list in the popup on a QueryPage to Contains, Starts With, Like (although Contains and Like sound like the same thing). Is there a property that I can set to give me the list I want or do I have to clone the stringOperator? on a java style question, I see this a lot: _stringQualifierOperators = new NSArrayString(new String[]{starts with, contains, ends with, is, like}); would it be more better to use _stringQualifierOperators = new NSArrayString(starts with, contains, ends with, is, like); are they the same? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERMODQueryPage help
thanks with that info I found: public NSArrayString qualifierOperatorsOverrideFromRules(){ return (NSArrayString)d2wContext().valueForKey(qualifierOperators); } but the rule isn't firing: 100 : propertyKey = 'abstract' = qualifierOperators = (contains, starts with, like) [com.webobjects.directtoweb.Assignment] I don't understand where the LHS is coming from and the rule is still not firing. Ted --- On Thu, 2/7/13, David Holt programming...@mac.com wrote: From: David Holt programming...@mac.com Subject: Re: ERMODQueryPage help To: Theodore Petrosky tedp...@yahoo.com Cc: WebObjects Development webobjects-dev@lists.apple.com Date: Thursday, February 7, 2013, 11:51 AM 100 : propertyKey = 'abstract' = qualifierOperators = (contains) [com.webobjects.directtoweb.Assignment] On 2013-02-07, at 7:59 AM, Theodore Petrosky tedp...@yahoo.com wrote: I am trying to understand the ERMODQueryPage in my D2W app. to that end, I cloned it to TPMODQueryPage and I am screwing around to see what does what. I see that the list for the popup might be being generated in ERD2WQueryStringOperator extends D2WQueryStringOperator. The end result is that I want to limit the list in the popup on a QueryPage to Contains, Starts With, Like (although Contains and Like sound like the same thing). Is there a property that I can set to give me the list I want or do I have to clone the stringOperator? on a java style question, I see this a lot: _stringQualifierOperators = new NSArrayString(new String[]{starts with, contains, ends with, is, like}); would it be more better to use _stringQualifierOperators = new NSArrayString(starts with, contains, ends with, is, like); are they the same? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com