Re: Main or other...
Re: Main or other...
- Subject: Re: Main or other...
- From: Ron X <email@hidden>
- Date: Fri, 04 May 2012 09:09:46 +0300
but what is the cause of not-finding base-web-object classes - Main, DirectAction, Session?
they are existing in the package!
if i fix it with Patcher... then i have the same error with all components, PageWrapper for example:
Error: <com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message '[<com.webobjects.appserver.WOComponent name: PageWrapper subcomponents: {0.1 = <er.directtoweb.components.ERD2WHead name: er.directtoweb.components.ERD2WHead subcomponents: null >; } > valueForKey()]: lookup of unknown key: 'bodyClass'. The WOComponent com.webobjects.appserver.WOComponent does not have an instance variable of the name bodyClass or _bodyClass, nor a method of the name bodyClass, _bodyClass, getBodyClass, or _getBodyClass' object '<com.webobjects.appserver.WOComponent name: PageWrapper subcomponents: {0.1 = <er.directtoweb.components.ERD2WHead name: er.directtoweb.components.ERD2WHead subcomponents: null >; } >' key 'bodyClass'>
Reason: [<com.webobjects.appserver.WOComponent name: PageWrapper subcomponents: {0.1 = <er.directtoweb.components.ERD2WHead name: er.directtoweb.components.ERD2WHead subcomponents: null >; } > valueForKey()]: lookup of unknown key: 'bodyClass'. The WOComponent com.webobjects.appserver.WOComponent does not have an instance variable of the name bodyClass or _bodyClass, nor a method of the name bodyClass, _bodyClass, getBodyClass, or _getBodyClass
2012/5/3 Lachlan Deck
<email@hidden>
ERXPatcher.setClassForName(Main.class, "Main");
ERXPatcher.setClassForName(DirectAction.class, "DirectAction");
_______________________________________________
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