You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/04/07 02:50:27 UTC

svn commit: r160353 - lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl

Author: gregor
Date: Wed Apr  6 17:50:26 2005
New Revision: 160353

URL: http://svn.apache.org/viewcvs?view=rev&rev=160353
Log:
Honour the form-encoding default in Cocoon 2.1.7 (the previous approach kept led to 2 entries for form-encoding..)

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl?view=diff&r1=160352&r2=160353
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl Wed Apr  6 17:50:26 2005
@@ -84,11 +84,8 @@
     </init-param>
   </xsl:template>
 
-  <xsl:template match="/web-app/servlet[position() = 1]/init-param[position() = last()]">
-    <xsl:copy-of select="."/>
   <!-- Does not work if form-encoding is commented within Cocoon's web.xml -->
-  <!-- <xsl:template match="/web-app/servlet[position() = 1]/init-param[normalize-space(param-name) = 'form-encoding']"> -->
-
+  <xsl:template match="/web-app/servlet[position() = 1]/init-param[normalize-space(param-name) = 'form-encoding']">
     <xsl:comment>Patched by Lenya build process</xsl:comment>
 
     <init-param>



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


Re: svn commit: r160353 - lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Edith Chevrier wrote:
> gregor@apache.org wrote:

> Yes, but it doesn't work no more with cocoon 2.1.6, if the form-encoding 
> is commented within Cocoon's web.xml.

yes. the next release will be based on cocoon 2.1.7. 1.2.2 was almost 
based on 1.2.2, but the timing was bad.

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


Re: svn commit: r160353 - lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl

Posted by Edith Chevrier <ed...@wyona.com>.
gregor@apache.org wrote:

>Author: gregor
>Date: Wed Apr  6 17:50:26 2005
>New Revision: 160353
>
>URL: http://svn.apache.org/viewcvs?view=rev&rev=160353
>Log:
>Honour the form-encoding default in Cocoon 2.1.7 (the previous approach kept led to 2 entries for form-encoding..)
>
>Modified:
>    lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/web-xml.xsl
>
>  
>
Yes, but it doesn't work no more with cocoon 2.1.6, if the form-encoding 
is commented within Cocoon's web.xml.

Edith

-- 
Edith Chevrier
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                          http://lenya.apache.org
edith.chevrier@wyona.com                         edith@apache.org




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