forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r381787 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft
Date Tue, 28 Feb 2006 21:27:51 GMT
Author: thorsten
Date: Tue Feb 28 13:27:48 2006
New Revision: 381787

URL: http://svn.apache.org/viewcvs?rev=381787&view=rev
Log:
Fixing contract

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft?rev=381787&r1=381786&r2=381787&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft
Tue Feb 28 13:27:48 2006
@@ -32,18 +32,18 @@
   <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
     name="helper-prototype-ajax" inputFormat="xsl">
     <xsl:stylesheet version="1.1" 
-        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-        <xsl:template match="/">
-          <xsl:param name="defaultVariables" select="'test.html'"/>
-          <xsl:variable name="root" 
-            select="$defaultVariables/*/*[@name='root']/@value"/>
-          <forrest:content>
-            <forrest:part>
-              <script type="text/javascript" src="{$root}themes/prototype.js">
-                &#160;</script>
-            </forrest:part>
-          </forrest:content>
-        </xsl:template>
+      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:param name="defaultVariables" select="'test.html'"/>
+      <xsl:variable name="root" 
+        select="$defaultVariables/*/*[@name='root']/@value"/>
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part xpath="/html/head">
+            <script type="text/javascript" src="{$root}themes/prototype.js"> 
+              &#160;</script>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
     </xsl:stylesheet>
   </forrest:template>
 </forrest:contract>



Mime
View raw message