cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <>
Subject Re: [ESQL] Improvement....
Date Mon, 27 Jan 2003 15:10:57 GMT
> if (exist <esql:more-results>)
>    LIMIT 5+1
> else
>    LIMIT 5
> I think this is an elegant solution. What you think?

Sure - but the problem is that we also would need to adjust the length 
of the resultset inside the helper class. (you always want to see only 5 
rows in your page)

The length of the resultset inside the class would sometimes be one more 
and sometimes *exact* - depending on whether there is a <more-results> 
tag or not. Which would be very confusing!

Give me a day to think about this...

To unsubscribe, e-mail:
For additional commands, email:

View raw message