You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Joelly <ch...@knapp.com> on 2002/11/25 13:33:26 UTC

esql:group

Hello!

did anybody use more than one esql:group / esql:member with Cocoon 2.0.3
in one resultset? like this:

esql:row-result

	esql:group group-on column1
		esql:member

			esql:group group-on column2
				esql:member
					do some stuff
				/esql:member
				do some footer stuff for group-on column2
			/esql:group
			
		/esql:member
		do some stuff for group-on column1
	/esql:group

/esql:row-result

i want to know if this is the correct way to write more esql:groups AND
if this is conformed to work with cocoon 2.0.3... ;-)

thx, Chris

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian Jölly        Tel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7     A-8075 Hart bei Graz

-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
compromise defense  democracy  destroy  destruct  detonator  directorate
elections enforce extasy force  foreign embassy government grass hashish
heroin   illegal  information   international  military systems  missile
million dollars   nuclear  policital   pot  power   presidental  project
restricted data  revolution  rule the world sensitive  smuggle spy steal
system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed
------------------------------------------------------------------------


Re: esql:group

Posted by Christian Joelly <ch...@knapp.com>.
Hello!

On Tue, Nov 26, 2002 at 01:41:44PM +0100, Christian Haul wrote:
> This looks fine -- apart from the footer stuff. Footer does not work
> and will not work (at least if the footer requires esql). For that we
> would need to scroll through the result set at will which is not
> supported with all drivers.

;-) but i don't get the header stuff working... but i need to get data
with esql within an esql:group...

Chris

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian Jölly        Tel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7     A-8075 Hart bei Graz

-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
compromise defense  democracy  destroy  destruct  detonator  directorate
elections enforce extasy force  foreign embassy government grass hashish
heroin   illegal  information   international  military systems  missile
million dollars   nuclear  policital   pot  power   presidental  project
restricted data  revolution  rule the world sensitive  smuggle spy steal
system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed
------------------------------------------------------------------------


Re: esql:group

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 25.Nov.2002 -- 01:33 PM, Christian Joelly wrote:
> Hello!
> 
> did anybody use more than one esql:group / esql:member with Cocoon 2.0.3
> in one resultset? like this:
> 
> esql:row-result
> 
> 	esql:group group-on column1
> 		esql:member
> 
> 			esql:group group-on column2
> 				esql:member
> 					do some stuff
> 				/esql:member
> 				do some footer stuff for group-on column2
> 			/esql:group
> 			
> 		/esql:member
> 		do some stuff for group-on column1
> 	/esql:group
> 
> /esql:row-result
> 
> i want to know if this is the correct way to write more esql:groups AND
> if this is conformed to work with cocoon 2.0.3... ;-)

This looks fine -- apart from the footer stuff. Footer does not work
and will not work (at least if the footer requires esql). For that we
would need to scroll through the result set at will which is not
supported with all drivers.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>