cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto" <rma...@montefiore.ch>
Subject Re: Java Class
Date Tue, 07 Dec 2004 09:01:03 GMT
Yep...thanx....Stephan... I should read much more the documentation ;-)

----- Original Message ----- 
From: "Stephan Coboos" <cromosom@gmx.net>
To: <users@cocoon.apache.org>
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message