Re: ERMODQueryPage help
Re: ERMODQueryPage help
- Subject: Re: ERMODQueryPage help
- From: David Holt <email@hidden>
- Date: Thu, 07 Feb 2013 08:51:30 -0800
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