forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyriaque Dupoirieux <Cyriaque.Dupoiri...@pcotech.fr>
Subject Re: svn commit: r381787 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-prototype-ajax.ft
Date Thu, 02 Mar 2006 10:10:25 GMT
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>
>
>
>
>   

Mime
View raw message