cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library/sql esql.xsl
Date Mon, 04 Sep 2000 17:50:36 GMT
balld       00/09/04 10:50:35

  Modified:    src/org/apache/cocoon/processor/xsp/library/sql esql.xsl
  Log:
  moved no-results block around to where it should be
  
  Revision  Changes    Path
  1.8       +3 -2      xml-cocoon/src/org/apache/cocoon/processor/xsp/library/sql/esql.xsl
  
  Index: esql.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/sql/esql.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- esql.xsl	2000/09/04 17:32:37	1.7
  +++ esql.xsl	2000/09/04 17:50:35	1.8
  @@ -255,6 +255,9 @@
   	       }
   	       _esql_session.resultset.close();
   	       _esql_session.statement.close();
  +	       if (!_esql_results) {
  +                <xsl:apply-templates select="esql:no-results/*"/>
  +	       }
   	       } catch (Exception _esql_e) {
   		<exception>
   		 <message><xsp:expr>_esql_e.getMessage()</xsp:expr></message>
  @@ -272,8 +275,6 @@
   	        _esql_session = (EsqlSession)_esql_sessions.pop();
   	       }
   	      }
  -	      if (!_esql_results) {
  -               <xsl:apply-templates select="esql:no-results/*"/>
   	     }
   	</xsp:logic>
   </xsl:template>
  
  
  

Mime
View raw message