Some additional info:

In my components documentDisplayGroup.globalDefaultStringMatchFormat() returns [EMAIL PROTECTED]
documentDisplayGroup.defaultStringMatchFormat() returns [EMAIL PROTECTED]

When I do the searches, the component is using defaultStringMatchFormat(), not globalDefaultStringMatchFormat() when I set the global default in the Application class as follows:
WODisplayGroup.setGlobalDefaultStringMatchFormat("[EMAIL PROTECTED]")

What am I doing wrong?


On 13 Jul 2006, at 11:35 AM, David Holt wrote:

Hello all,

I am experimenting with WODisplayGroup.setDefaultStringMatchFormat("[EMAIL PROTECTED]") which changes the default query matching on my WODisplayGroup from a string at the beginning of the field to a string anywhere in the field. I set this in the component constructor for the individual DGs on the page.

I would like to set this *once* for any WODisplayGroup in my application, regardless of the EO being queried. Is there a way to do this? If the method that I am looking for is setGlobalDefaultStringMatchFormat, where do I set it and how? I have tried WODisplayGroup.setGlobalDefaultStringMatchFormat("[EMAIL PROTECTED]") in my Application constructor which doesn't seem toto have a global effect. The docs say that this method "Changes the default string match format for the class" but I am not sure what class they are referring to. Thanks,

David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]



-- 

It's like driving a car at night. You never see further than your headlights, but you can make the whole trip that way. 


E. L. Doctorow


from Sunbeams: http://www.thesunmagazine.org 



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to