Re: JSObject: Context.getCurrentContext() is null in g etCurrentFuncti onSourceName()

Charles Goodwin <[email protected]> Mon, 14 Apr 2003 11:49:26 +0100
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F6FD@NTFPS1>
Renaming it from 'isdefaultaction' to 'iscurrentaction' fixed this.  Odd.

-----Original Message-----
From: Charles Goodwin [mailto:[email protected]]
Sent: 14 April 2003 10:50
To: '[email protected]'
Subject: [xwt-dev] JSObject: Context.getCurrentContext() is null in
getCurrentFuncti onSourceName()


I get this error in the log file:

JSObject: Context.getCurrentContext() is null in
getCurrentFunctionSourceName()

When I change:

        _isdefaultaction = function( d ) {
            activated = activated;
        }

To this:

        _isdefaultaction = function( d ) {
            activated = activated;
            xwt.println( "help" );
        }

How is it that a simple addition of an xwt.println() causes this? :/

Also, Adam, you can't use 'default' as a property name - it fubars xwt when
you do.
_______________________________________________
http://lists.xwt.org/listinfo/dev
_______________________________________________
http://lists.xwt.org/listinfo/dev