cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java esql.xsl
Date Fri, 19 Apr 2002 17:08:00 GMT
froehlich    02/04/19 10:08:00

  Modified:    src/java/org/apache/cocoon/components/language/markup/xsp/java
                        Tag: cocoon_2_0_3_branch esql.xsl
  Log:
  applied patch from Tim Myers phantom@stserv.hcf.jhu.edu
  esql:group, footer fix
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.13.2.1  +6 -2      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl
  
  Index: esql.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl,v
  retrieving revision 1.13
  retrieving revision 1.13.2.1
  diff -u -r1.13 -r1.13.2.1
  --- esql.xsl	22 Feb 2002 12:14:12 -0000	1.13
  +++ esql.xsl	19 Apr 2002 17:07:59 -0000	1.13.2.1
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   
  -<!-- $Id: esql.xsl,v 1.13 2002/02/22 12:14:12 tcurdt Exp $-->
  +<!-- $Id: esql.xsl,v 1.13.2.1 2002/04/19 17:07:59 froehlich Exp $-->
   <!--
   
    ============================================================================
  @@ -56,7 +56,7 @@
    * ESQL Logicsheet
    *
    * @author ?
  - * @version CVS $Revision: 1.13 $ $Date: 2002/02/22 12:14:12 $
  + * @version CVS $Revision: 1.13.2.1 $ $Date: 2002/04/19 17:07:59 $
   -->
   
   <xsl:stylesheet version="1.0"
  @@ -728,6 +728,7 @@
           <xsl:with-param name="group-on" select="@group-on"/>
         </xsl:apply-templates>
       </xsp:content>
  +    _esql_query.nextRow();  //readvance (see previousRow() in esql:member)
     }
   </xsp:logic>
   </xsl:template>
  @@ -764,6 +765,9 @@
     }
     if (((Boolean)_esql_query.getGroupingVar("<xsl:value-of select="$group-on"/>Changed")).booleanValue())
{	
       //footer contents
  +    _esql_query.previousRow();  //if we want the footer to be able to 
  +           // access common columns of the group as the header can, we 
  +           // must back up into the last record.
     </xsp:logic>
   </xsl:template>
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message