cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Re: [ESQL] Improvement....
Date Mon, 27 Jan 2003 14:53:19 GMT
Torsten Curdt dijo:
> Sure - the question is only how to integrate this easily since we would
> need to pass the information (more-results or not) from the logicsheet
> into the classes.
>
> And please - no ugly hack like "setXXX"
> --
> Torsten

I think XSL will permit an elegant solution. I think this will need just
to find if exist <esql:more-results> tag. Example: Suppose we have:

<esql:max-rows>5</esql:max-rows>

the the esql.xsl will include code like:

if (exist <esql:more-results>)
   LIMIT 5+1
else
   LIMIT 5

I think this is an elegant solution. What you think?

Best Regards,

Antonio Gallardo.




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message