cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <cromo...@gmx.net>
Subject Re: Java Class
Date Tue, 07 Dec 2004 08:56:50 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message