You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2006/02/28 22:27:51 UTC

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

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>



Re: svn commit: r381787 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft

Posted by Thorsten Scherler <th...@wyona.com>.
El jue, 02-03-2006 a las 11:10 +0100, Cyriaque Dupoirieux escribió:
> thorsten@apache.org a écrit :
> > 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
> >   
> Don't forget to indicate the FOR (here I think FOR-797) in your svn 
> comment ;-) .
> (So that we can retrieve it in Jira.)

jeje, no that was one commit before. This one was the fix of the fix for
for-797.;-) 

See below you already can find "<forrest:content>" btw sorry for the
whitenoise. :(

salu2

> > 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>
> > -              <DEFANGED_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">
> > +            <DEFANGED_script type="text/javascript" src="{$root}themes/prototype.js"> 
> > +              &#160;</script>
> > +          </forrest:part>
> > +        </forrest:content>
> > +      </xsl:template>
> >      </xsl:stylesheet>
> >    </forrest:template>
> >  </forrest:contract>
> >
> >
> >
> >   
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


Re: svn commit: r381787 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
thorsten@apache.org a écrit :
> 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
>   
Don't forget to indicate the FOR (here I think FOR-797) in your svn 
comment ;-) .
(So that we can retrieve it in Jira.)
> 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>
> -              <DEFANGED_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">
> +            <DEFANGED_script type="text/javascript" src="{$root}themes/prototype.js"> 
> +              &#160;</script>
> +          </forrest:part>
> +        </forrest:content>
> +      </xsl:template>
>      </xsl:stylesheet>
>    </forrest:template>
>  </forrest:contract>
>
>
>
>