Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
- Subject: Re: WODisplayGroup.set[Global]DefaultStringMatchFormat
- From: Art Isbell <email@hidden>
- Date: Thu, 13 Jul 2006 12:01:46 -1000
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:
This email sent to email@hidden