My workaround is to use static methods (1 for each Callback) in the
base class that redirect the request to virtual members of a static
member object. This introduces some overhead but works... anyway is
there some advice how to use a true member method in an assignment to
a JS callback?
TIA,
On 17 août, 16:31, CI-CUBE e...@ci-cube.info wrote:
My workaround is to use static methods (1 for each Callback) in the
base class that redirect the request to virtual members of a static
member object. This introduces some overhead but works... anyway is
there some advice how to use a true
Hi,
I'm assigning a Java method M to a JS Callback. If M is static it
works. If M is non-static I get an error when calling the M via JS.
// THE BASE CLASS
package com.egr.x4gpl.apps.saturn.client;
abstract class Application {
protected Application(String pUnused) {
Hi,
I cannot test from here but could you try to replace (call and function
definiotion of course ;) :
initializeCBs();
by:
initializeCBs(this);
HIH
On Thu, Aug 13, 2009 at 4:30 PM, CI-CUBE e...@ci-cube.info wrote:
Hi,
I'm assigning a Java method M to a JS Callback. If M is static it
sorry, but same result
On Aug 13, 4:36 pm, olivier nouguier olivier.nougu...@gmail.com
wrote:
Hi,
I cannot test from here but could you try to replace (call and function
definiotion of course ;) :
initializeCBs();
by:
initializeCBs(this);
HIH
On Thu, Aug 13, 2009 at 4:30 PM,