froehlich 02/04/19 10:11:23 Modified: src/java/org/apache/cocoon/components/language/markup/xsp/java esql.xsl Log: applied patch from Tim Myers [EMAIL PROTECTED] esql:group, footer fix Revision Changes Path 1.16 +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.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- esql.xsl 18 Apr 2002 16:25:42 -0000 1.15 +++ esql.xsl 19 Apr 2002 17:11:22 -0000 1.16 @@ -1,6 +1,6 @@ <?xml version="1.0"?> -<!-- $Id: esql.xsl,v 1.15 2002/04/18 16:25:42 nicolaken Exp $--> +<!-- $Id: esql.xsl,v 1.16 2002/04/19 17:11:22 froehlich Exp $--> <!-- ============================================================================ @@ -56,7 +56,7 @@ * ESQL Logicsheet * * @author ? - * @version CVS $Revision: 1.15 $ $Date: 2002/04/18 16:25:42 $ + * @version CVS $Revision: 1.16 $ $Date: 2002/04/19 17:11:22 $ --> <xsl:stylesheet version="1.0" @@ -625,6 +625,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> @@ -665,6 +666,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: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]