cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: svn commit: r597551 - in /cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html: complex-page2html.xsl simple-page2html.xsl
Date Wed, 16 Jan 2008 17:47:55 GMT
vgritsenko@apache.org pisze:
> Author: vgritsenko
> Date: Thu Nov 22 21:18:56 2007
> New Revision: 597551
> 
> URL: http://svn.apache.org/viewvc?rev=597551&view=rev
> Log:
> update simple page style

[..]

> Modified: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
> URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl?rev=597551&r1=597550&r2=597551&view=diff
> ==============================================================================
> --- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
(original)
> +++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
Thu Nov 22 21:18:56 2007
> @@ -22,30 +22,59 @@
>  <xsl:stylesheet version="1.0"
>                  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>  
> +  <xsl:param name="contextPath">servlet:/</xsl:param>
> +
> +  <xsl:template match="/">
> +    <html>
> +      <xsl:apply-templates/>
> +    </html>
> +  </xsl:template>
> +

[..]

Vadim, do you remember if there was any good reason for introduction of this template? It
breaks
AJAX-based samples and should be considered as bad practise in general.

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/

Mime
View raw message