You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David A Powell <da...@compuserve.com> on 2000/11/12 11:28:16 UTC

Does exist?

Donald,

Does the configuration element <count> exist in the esql taglib?

If it does exist, must I put something inside the <esql:results> tags to see
the number?

If it does exist, does it return the total number of rows in the query
"query rows",
OR (does it return the lesser of the (query rows AND max-rows.))

Thanks,
Dave


Re: Does exist?

Posted by Donald Ball <ba...@webslingerZ.com>.
On Sun, 12 Nov 2000, David A Powell wrote:

> Donald,
> 
> Does the configuration element <count> exist in the esql taglib?

i don't understand the question.

> If it does exist, must I put something inside the <esql:results> tags to see
> the number?
> 
> If it does exist, does it return the total number of rows in the query
> "query rows",
> OR (does it return the lesser of the (query rows AND max-rows.))

i think you might be asking about esql:get-row-position. that returns the
position of the current row in the resultset. if you call that after all
all of the rows have been iterated over (e.g. after the row-results
element) you should get what you want. note that i just patched the
logicsheet to allow this, so be sure to refresh your repository.

- donald