You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2005/10/13 12:59:42 UTC

svn commit: r320729 - /lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl

Author: thorsten
Date: Thu Oct 13 03:59:38 2005
New Revision: 320729

URL: http://svn.apache.org/viewcvs?rev=320729&view=rev
Log:
Please do svn propset svn:eol-style native on all files

Modified:
    lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl   (contents, props changed)

Modified: lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl?rev=320729&r1=320728&r2=320729&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl Thu Oct 13 03:59:38 2005
@@ -1,50 +1,50 @@
-<?xml version="1.0"?>
-<!--
-  Copyright 1999-2004 The Apache Software Foundation
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  xmlns:fi="http://apache.org/cocoon/forms/1.0#instance">
-
-  <!--+ Include styling stylesheets, one for the widgets, the other one for the
-      | page. As 'forms-advanced-field-styling.xsl' is a specialization of
-      | 'forms-field-styling.xsl' the latter one is imported there. If you don't
-      | want advanced styling of widgets, change it here!
-      | See xsl:include as composition and xsl:import as extension/inheritance.
-      +-->
-  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-page-styling.xsl"/>
-  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-advanced-field-styling.xsl"/>
-
-  <!-- Location of the resources directory, where JS libs and icons are stored -->
-  <xsl:param name="resources-uri"/>
-
-  <xsl:template match="head[//fi:*]">
-    <head>
-      <xsl:apply-templates/>
-      <xsl:apply-templates select="." mode="forms-page"/>
-      <xsl:apply-templates select="." mode="forms-field"/>
-    </head>
-  </xsl:template>
-
-  <xsl:template match="body[//fi:*]">
-    <body>
-      <!--+ !!! If template with mode 'forms-page' adds text or elements
-          |        template with mode 'forms-field' can no longer add attributes!!!
-          +-->
-      <xsl:apply-templates select="." mode="forms-page"/>
-      <xsl:apply-templates select="." mode="forms-field"/>
-      <xsl:apply-templates/>
-    </body>
-  </xsl:template>
-</xsl:stylesheet>
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:fi="http://apache.org/cocoon/forms/1.0#instance">
+
+  <!--+ Include styling stylesheets, one for the widgets, the other one for the
+      | page. As 'forms-advanced-field-styling.xsl' is a specialization of
+      | 'forms-field-styling.xsl' the latter one is imported there. If you don't
+      | want advanced styling of widgets, change it here!
+      | See xsl:include as composition and xsl:import as extension/inheritance.
+      +-->
+  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-page-styling.xsl"/>
+  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-advanced-field-styling.xsl"/>
+
+  <!-- Location of the resources directory, where JS libs and icons are stored -->
+  <xsl:param name="resources-uri"/>
+
+  <xsl:template match="head[//fi:*]">
+    <head>
+      <xsl:apply-templates/>
+      <xsl:apply-templates select="." mode="forms-page"/>
+      <xsl:apply-templates select="." mode="forms-field"/>
+    </head>
+  </xsl:template>
+
+  <xsl:template match="body[//fi:*]">
+    <body>
+      <!--+ !!! If template with mode 'forms-page' adds text or elements
+          |        template with mode 'forms-field' can no longer add attributes!!!
+          +-->
+      <xsl:apply-templates select="." mode="forms-page"/>
+      <xsl:apply-templates select="." mode="forms-field"/>
+      <xsl:apply-templates/>
+    </body>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Re: svn commit: r320729 - /lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl

Posted by Thorsten Scherler <th...@apache.org>.
El jue, 13-10-2005 a las 16:48 +0200, Felix Röthenbacher escribió:
> thorsten@apache.org wrote:
> > Author: thorsten
> > Date: Thu Oct 13 03:59:38 2005
> > New Revision: 320729
> > 
> > URL: http://svn.apache.org/viewcvs?rev=320729&view=rev
> > Log:
> > Please do svn propset svn:eol-style native on all files
> 
> Actually, it was you who added this file :-)

jeje, then this message was to me ;-)

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: svn commit: r320729 - /lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl

Posted by Felix Röthenbacher <fe...@wyona.com>.
thorsten@apache.org wrote:
> Author: thorsten
> Date: Thu Oct 13 03:59:38 2005
> New Revision: 320729
> 
> URL: http://svn.apache.org/viewcvs?rev=320729&view=rev
> Log:
> Please do svn propset svn:eol-style native on all files

Actually, it was you who added this file :-)

- Felix

> 
> Modified:
>     lenya/trunk/src/webapp/lenya/xslt/cforms/forms-samples-styling.xsl   (contents, props changed)
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org