cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angeloimm" <angelo...@libero.it>
Subject Re:Java methods..
Date Wed, 22 Dec 2004 13:05:00 GMT
>   java.lang.System.out.println("NUMERO:"+pippo.lenght());

Don't use pippo.lenght()... but 

 java.lang.System.out.println("NUMERO:"+pippo.length());

that is th at the end and not ht as you hev done before.
Ciao, Angelo




--------- Initial Header -----------

>From      : "Roberto" rmarra@montefiore.ch
To          : users@cocoon.apache.org
Cc          : 
Date      : Wed, 22 Dec 2004 13:58:32 +0100
Subject : Java methods..

> Hi there,
> I got a little problem I don't get what's wrong in my flowscript...  
> 
> importClass(Packages.java.lang.String); 
> ....
> 
> function prova(){
> 
>   var pippo = new String();
>   pippo = "PROVA";
> 
>   java.lang.System.out.println("NUMERO:"+pippo.lenght());
> 
> 
> 
> }
> 
> But the system gave me back an error telling me that:
> 
> An Error Occurred
> lenght is not a function.
> 
> Why??
> 
> Cheers, ROb
> 
> 
> 
> 
> 



____________________________________________________________
Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video
e sport. 
Abbonati subito senza costi di attivazione su http://www.libero.it




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


Mime
View raw message