• 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: ERMODQueryPage help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: ERMODQueryPage help (From: David Holt <email@hidden>)

  • Prev by Date: Re: WOCommunity membership and goals
  • Next by Date: Re: quick pwd hash?
  • Previous by thread: Re: ERMODQueryPage help
  • Next by thread: row number in direct2web ERMDSimpleListPageRepetition?
  • Index(es):
    • Date
    • Thread