thanks with that info I found:
public NSArray<String> qualifierOperatorsOverrideFromRules(){
return (NSArray<String>)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 <[email protected]> wrote:
> From: David Holt <[email protected]>
> Subject: Re: ERMODQueryPage help
> To: "Theodore Petrosky" <[email protected]>
> Cc: "WebObjects Development" <[email protected]>
> 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 <[email protected]>
> 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
> NSArray<String>(new String[]{"starts with",
> "contains", "ends with", "is", "like"});
> >
> > would it be more better to use
> >
> > _stringQualifierOperators = new
> NSArray<String>("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 ([email protected])
> > Help/Unsubscribe/Update your Subscription:
> > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> >
> > This email sent to [email protected]
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]