cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto" <rma...@montefiore.ch>
Subject Java methods..
Date Wed, 22 Dec 2004 12:58:32 GMT
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





Mime
View raw message