Hello together, I am a little bit wondering about following issue. Assume we have a Java-class inside a cocoon-block (i.e. like the demo bean out of the tutorial).
When I get a new instance of this class through ... var foo = new some.package.inside.block.MyClass(); ... then i get this error: ... Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "some" is not defined. (file:///home/pepemuck/_opt/devel/ISAC_DEV/isacBlocks/isacTermBlock/./src/main/resources/COB-INF/flow/MyFlowScript.js There is no Problem to get instances like java.io.ByteArrayOutputStream() or the like. So why is this error thrown when I want to get new Objects out of a package-hierarchy inside the package-hosting block? By the way - instantiation via ... var foo = MyClass(); ... works perfectly well! Any hints to understand WHY this happens? Thanks upfront with best regards, Patrick -- GMX FreeDSL mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.! http://dslspecial.gmx.de/freedsl-aktionspreis/?ac=OM.AD.PD003K11308T4569a --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org