• 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: force D2W query pages to use "contains" operator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: force D2W query pages to use "contains" operator


  • Subject: Re: force D2W query pages to use "contains" operator
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 25 Apr 2012 08:47:18 -0700

You're talking about the query all page?  And that double WOPopup thing? There's no control over what operator is selected in that component. You can only set what operators appear using the relationalQualifierOperators key.  The attribute is selected using D2WUtils.smartDefaultKeyForEntity.  That method is undocumented and uses magic strings :-P It favors attributes like "name", "title", "description".

On Apr 25, 2012, at 12:07 AM, Tim Worman wrote:

> D2W experts:
>
> Is there a RHS key/value pair that will control what the default search operator is for an attribute on a query page? On an entity "search all" page, I have attributes where I don't want my users to have to select the pop-up button in order to switch to the "contains" option.
>
> Thanks much,
>
> Tim Worman
> UCLA GSE&IS
> _______________________________________________
> 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

  • Follow-Ups:
    • Re: force D2W query pages to use "contains" operator
      • From: Tim Worman <email@hidden>
    • Re: force D2W query pages to use "contains" operator
      • From: David Holt <email@hidden>
References: 
 >force D2W query pages to use "contains" operator (From: Tim Worman <email@hidden>)

  • Prev by Date: Re: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker
  • Next by Date: Re: Jar frameworks and resource loading
  • Previous by thread: Re: force D2W query pages to use "contains" operator
  • Next by thread: Re: force D2W query pages to use "contains" operator
  • Index(es):
    • Date
    • Thread