Re: ERMODQueryPage help
Re: ERMODQueryPage help
- Subject: Re: ERMODQueryPage help
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 07 Feb 2013 09:39:42 -0800 (PST)
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@hidden> wrote:
> From: David Holt <email@hidden>
> Subject: Re: ERMODQueryPage help
> To: "Theodore Petrosky" <email@hidden>
> Cc: "WebObjects Development" <email@hidden>
> 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@hidden>
> 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@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>
_______________________________________________
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