This patch makes it possible to use the sel:logicsheet together
with the esql:logicsheet.

Can some please apply it?
Thanks
--
Torsten
Index: ./src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl
===================================================================
RCS file: 
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl,v

retrieving revision 1.14
diff -u -r1.14 esql.xsl
--- ./src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl        
2001/07/27 14:40:01     1.14
+++ ./src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl        
+2001/07/29 12:15:14
@@ -239,6 +239,13 @@
       </xsl:if>
     </xsp:structure>
     <xsp:logic>
+      private Stack _esql_connections = new Stack();
+      private EsqlConnection _esql_connection = null;
+      private Stack _esql_queries = new Stack();
+      private EsqlQuery _esql_query = null;
+      private SQLException _esql_exception = null;
+      private StringWriter _esql_exception_writer = null;
+
       <xsl:if test=".//esql:connection/esql:pool">
         <xsl:choose>
           <xsl:when test="$environment = 'cocoon1'">
@@ -359,12 +366,6 @@
   <xsl:copy>
     <xsl:apply-templates select="@*"/>
     <xsp:logic>
-      Stack _esql_connections = new Stack();
-      EsqlConnection _esql_connection = null;
-      Stack _esql_queries = new Stack();
-      EsqlQuery _esql_query = null;
-      SQLException _esql_exception = null;
-      StringWriter _esql_exception_writer = null;
     </xsp:logic>
     <xsl:apply-templates/>
   </xsl:copy>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to