Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
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