Re: Overriding WODisplayGroup methods
Re: Overriding WODisplayGroup methods
- Subject: Re: Overriding WODisplayGroup methods
- From: email@hidden
- Date: Thu, 15 Dec 2005 15:19:21 -0500
Hi Art,
Thanks.
I tried changing the .woo file from
class=MyDisplayGroup
to
class=LocalizationCodePage.MyDisplayGroup
as you mentioned, and my page still would not load.
The error I received this time was
Error: com.webobjects.foundation.NSForwardException
[java.lang.IllegalArgumentException] Attempt to insert null object
into an com.webobjects.foundation.NSMutableDictionary.
Reason: Attempt to insert null object into an
com.webobjects.foundation.NSMutableDictionary
So still no luck overriding some of the methods in the WODisplayGroup
by extending my own class (MyDisplayGroup).
Any other suggestions?
Thanks,
Kev
On 15 Dec, 2005, at 03:05 PM, email@hidden
wrote:
Message: 1
Date: Wed, 14 Dec 2005 10:33:25 -1000
From: Art Isbell <email@hidden>
Subject: Re: Overriding WODisplayGroup methods
To: WebObjects List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On Dec 14, 2005, at 7:05 AM, email@hidden wrote:
Error: com.webobjects.foundation.NSForwardException
[java.lang.IllegalArgumentException] While trying to set the field
"localizationCodesDG" on an object of type LocalizationCodePage we
expected a LocalizationCodePage$MyDisplayGroup but received a
com.webobjects.appserver.WODisplayGroup
From researching on the list, I seemed as if I may need to manually
change the cooresponding .woo file as well (e.g. change line
class=WODisplayGroup to class=MyDisplayGroup).
Have you tried the following .woo file change?
class=LocalizationCodePage.MyDisplayGroup
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