Yep...thanx....Stephan... I should read much more the documentation ;-) ----- Original Message ----- From: "Stephan Coboos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 9:56 AM Subject: Re: Java Class
> Yes, of course, you can: > > var foo = new Packages.your.package.path.Foo(); > > or > > importClass(Packages.your.package.path.Foo); > var foo = new Foo(); > > See: http://cocoon.apache.org/2.1/userdocs/flow/java.html > > Regards > Stephan > > Roberto wrote: > > > Hi all, > > can I instantiate a java class directly from the Flowscript. For instance > > > > function test(){ > > > > var check = new Package.java.lang //(or whatever) > > > > } > > > > Can I? & if yes, what the correct form? > > > > Thanx > > Ciao > > ROb > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
