Is newsDisplayGroup being initialized using a WOO file entry by any chance? If so you need to either change the newsDisplayGroup declaration back to a WODisplayGroup or manually edit your woo file in the source view to use an ERXDisplayGroup.

This isn't ideal particularly if you want to use generics, but I haven't had a chance to look into solving this any other way just yet.

On 16/10/2008, at 12:08 AM, Amedeo Mantica wrote:

all seem to works, but I missed someting regarding the Display Groups...


Error:   java.lang.reflect.InvocationTargetException
Reason: java.lang.IllegalArgumentException: While trying to set the field "newsDisplayGroup" on an object of type com.didonatospa.components.Main we expected a er.extensions.appserver.ERXDisplayGroup but received a com.webobjects.appserver.WODisplayGroup with a value of <com.webobjects.appserver.WODisplayGroup [EMAIL PROTECTED] delegate=Class: 'com.webobjects.appserver.WODisplayGroup$Delegate' Object: <null> sortOrdering=() qualifier=null localKeys=() insertedObjectDefaultValues={} numberOfObjectsPerBatch=10>. This often happens if you forget to use a formatter.


==== we expected a er.extensions.appserver.ERXDisplayGroup but received a com.webobjects.appserver.WODisplayGroup =====


Any help?
a tutorial?

Regards
Amedeo
_______________________________________________
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/qdolan%40gmail.com

This email sent to [EMAIL PROTECTED]



--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



_______________________________________________
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