click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r956367 - /click/trunk/click/examples/src/org/apache/click/examples/page/form/FormProperties.java
Date Sun, 20 Jun 2010 14:45:12 GMT
Author: sabob
Date: Sun Jun 20 14:45:12 2010
New Revision: 956367

URL: http://svn.apache.org/viewvc?rev=956367&view=rev
Log:
use js as extension for script templates

Modified:
    click/trunk/click/examples/src/org/apache/click/examples/page/form/FormProperties.java

Modified: click/trunk/click/examples/src/org/apache/click/examples/page/form/FormProperties.java
URL: http://svn.apache.org/viewvc/click/trunk/click/examples/src/org/apache/click/examples/page/form/FormProperties.java?rev=956367&r1=956366&r2=956367&view=diff
==============================================================================
--- click/trunk/click/examples/src/org/apache/click/examples/page/form/FormProperties.java
(original)
+++ click/trunk/click/examples/src/org/apache/click/examples/page/form/FormProperties.java
Sun Jun 20 14:45:12 2010
@@ -223,8 +223,8 @@ public class FormProperties extends Bord
         // Setup showBorders checkbox Javascript using a JsScript HEAD element
 
         // First create a JsScript instance for the JavaScript template
-        // '/form-head.htm'
-        JsScript jsScript = new JsScript("/form-head.htm", new HashMap());
+        // '/form-head.js'
+        JsScript jsScript = new JsScript("/form-head.js", new HashMap());
 
         // Then add a JsScript element to the Page HEAD elements
         getHeadElements().add(jsScript);



Mime
View raw message