Re: Wonder D2W first app
Re: Wonder D2W first app
- Subject: Re: Wonder D2W first app
- From: David LeBer <email@hidden>
- Date: Thu, 10 Sep 2009 17:54:32 -0400
On 2009-09-10, at 5:00 PM, Francisc Simon wrote:
Am 10.09.2009 um 22:32 schrieb Francisc Simon:
Am 10.09.2009 um 21:49 schrieb David LeBer:
On 2009-09-10, at 3:42 PM, Francisc Simon wrote:
Hi @all,
i've tried to create an simple Wonder D2W start the new created
project and get this error:
Application: te Error: valueForKey(): lookup of unknown key:
'isDevelopmentMode'. This class does not have an instance
variable of the name isDevelopmentMode or _isDevelopmentMode, nor
a method of the name isDevelopmentMode, _isDevelopmentMode,
getIsDevelopmentMode, or _getIsDevelopmentMode' object ')
sessionStore
=com.webobjects.appserver._private.WOServerSessionStore@348dcd5d
pageCacheSize=30 permanentCacheSize=30
pageRecreationEnabled=false pageRefreshOnBacktrackEnabled=true
componentDefinitionCache
=
com.webobjects.foundation._NSThreadsafeMutableDictionary@49a5af9f
caching=false terminating=false timeOut(sec)=9.223370784243314E15
dynamicLoadingEnabled=true>' key 'isDevelopmentMode'> Reason:
<com.webobjects.appserver.WOApplication 0x53797795> valueForKey
(): lookup of unknown key: 'isDevelopmentMode'. This class does
not have an instance variable of the name isDevelopmentMode or
_isDevelopmentMode, nor a method of the name isDevelopmentMode,
_isDevelopmentMode, getIsDevelopmentMode, or _getIsDevelopmentMode
can somebody help me with this pls. ?
Thx a lot
Works fine for me.
OS: Mac OS X 10.6
Java: 1.6
Eclipse: 3.4.2
WOLips: 3.4.5830
Wonder: about one week old
- What are your particulars?
- What steps did you take?
- It looks like your Application class does not extend
ERXApplication. Can you check that?
Hallo David,
i've checked now my classes and the Application class extends
ERXApplication
My Eclipse Version is 3.4.1
WOLips is 3.4.5830
OS: 10.6
Java: 1.6
Wonder: from 08.09.2009
I've created a new Project Wonder D2W Application
Run the App as WOAPlication
get the ERROR listed above
I updated my Wonder install and followed these steps exactly and the
resulting app works fine for me.
It certainly looks like something is messed up.
Can you create a vanilla Wonder App and call any of the ERXApplication
methods from your application class?
ie:
@Override
public void didFinishLaunching() {
super.didFinishLaunching();
NSLog.out.appendln("is developement: " + this.isDevelopmentMode
());
}
THX
Frank
Oh there is probably something important i've forgot to tell....
That error rises only after the first login page shown by the
project when i try to log in
I don't know if that is important but it could be ...
Thx
Frank
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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