haul 01/07/30 02:20:21
Modified: src/org/apache/cocoon/components/language/markup/xsp/java
esql.xsl
Log:
Patch by Torsten Curdt <[EMAIL PROTECTED]>
This patch makes it possible to use the sel:logicsheet together
with the esql:logicsheet.
Revision Changes Path
1.15 +8 -7
xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl
Index: esql.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- esql.xsl 2001/07/27 14:40:01 1.14
+++ esql.xsl 2001/07/30 09:20:20 1.15
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!-- $Id: esql.xsl,v 1.14 2001/07/27 14:40:01 haul Exp $-->
+<!-- $Id: esql.xsl,v 1.15 2001/07/30 09:20:20 haul Exp $-->
<!--
============================================================================
@@ -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>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]