• 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: Overriding WODisplayGroup methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Overriding WODisplayGroup methods
      • From: Wolfram Stebel <email@hidden>
  • Prev by Date: Re: printing
  • Next by Date: Re: printing
  • Previous by thread: Re: Overriding WODisplayGroup methods
  • Next by thread: Re: Overriding WODisplayGroup methods
  • Index(es):
    • Date
    • Thread