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 PROTECTED] wrote:

Message: 1
Date: Wed, 14 Dec 2005 10:33:25 -1000
From: Art Isbell <[EMAIL PROTECTED]>
Subject: Re: Overriding WODisplayGroup methods
To: WebObjects List <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

On Dec 14, 2005, at 7:05 AM, [EMAIL PROTECTED] 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 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