David:

That's great and looks like exactly what I need. I'll give it a try!

Thanks,

Tim

On Apr 25, 2012, at 11:00 AM, David Holt <[email protected]> wrote:

> Actually if you're talking about an attribute in an Entity's query page you 
> can control what is seen in a specific query pull down with a simple rule:
> 
> 100 : propertyKey = 'abstractSummary' => qualifierOperators = ("contains") 
> [com.webobjects.directtoweb.Assignment]
> 
> David
> 
> On 2012-04-25, at 8:47 AM, Ramsey Gurley wrote:
> 
>> 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 protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.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/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]

Reply via email to