cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Cocoon Wiki] Updated: JavascriptForJavaProgrammers
Date Thu, 17 Mar 2005 20:33:13 GMT
   Date: 2005-03-17T12:33:12
   Editor: TimLarson
   Wiki: Cocoon Wiki
   Page: JavascriptForJavaProgrammers

   no comment

Change Log:

@@ -120,6 +120,9 @@
 ||import foo.*;||importPackage(;||
 ||import foo.Bar;||importClass(;||
+'''Note:''' Be sure to make importPackage(...) the first code line in your script, or you
may get an "Ambiguous import" error
+on the second and following runs of your script when attempting to reference an imported
 Rhino understands Java bean properties, so if your Java classes have getters and setters
you can access them as properties in !JavaScript:
   var d = new java.util.Date();

View raw message