cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramy Mamdouh <>
Subject Flow: creating an object inside the flowscript is always NativeJavaObject? and can't be casted back?
Date Tue, 02 Sep 2003 12:15:14 GMT
Hello there,

Creating an object inside the flow script always has the type 
org.mozilla.javascript.NativeJavaObject ?

Something like :
var x = new AnyKindOfObject();

Then how can I cast this org.mozilla.javascript.NativeJavaObject to the 
original type, to use in XSP for example, it throws a CastException !

I'm using the cocoon-2.1 cvs


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message