• 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: WODisplayGroup.set[Global]DefaultStringMatchFormat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WODisplayGroup.set[Global]DefaultStringMatchFormat


  • Subject: Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
  • From: David Holt <email@hidden>
  • Date: Thu, 13 Jul 2006 15:21:26 -0700

Thank you!! A quick project find and replace did the trick. Do you mind if I ask how you figured that out?

David

On 13 Jul 2006, at 3:01 PM, Art Isbell wrote:

On Jul 13, 2006, at 9:00 AM, David Holt wrote:

In my components documentDisplayGroup.globalDefaultStringMatchFormat() returns *%@*
documentDisplayGroup.defaultStringMatchFormat() returns %@*

WODisplayGroup.setGlobalDefaultStringMatchFormat() in the Application constructor is the correct way to set the default format for all WODisplayGroups. For all new display groups that you then create programmatically, the global default string match format would be used.


However, when you add a display group in WOBuilder, it adds the following entry to the component's *.woo file:

            formatForLikeQualifier = "%@*";

When the component is loaded at run time, this *.woo entry must cause setDefaultStringMatchFormat("%@*") to be sent to this display group instance which overrides the global default string match format.

So the fix I'd try would be to either delete the formatForLikeQualifier or set it to "*%@*".

Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com


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: WODisplayGroup.set[Global]DefaultStringMatchFormat
      • From: Art Isbell <email@hidden>
References: 
 >WODisplayGroup.set[Global]DefaultStringMatchFormat (From: David Holt <email@hidden>)
 >Re: WODisplayGroup.set[Global]DefaultStringMatchFormat (From: David Holt <email@hidden>)
 >Re: WODisplayGroup.set[Global]DefaultStringMatchFormat (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
  • Next by Date: Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
  • Previous by thread: Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
  • Next by thread: Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
  • Index(es):
    • Date
    • Thread