On 13.Feb.2002 -- 03:43 PM, hugo burm wrote:
>
> How can I set the "column" attribute of the tags in the esql taglib
> dynamically? xsp:attribute generates an error.
>
> <esql:results>
> <esql:row-results>
> <xsp:logic>
> for (ic=1; ic <= cnt; ic++) {
> </xsp:logic>
> <esql:get-column-name>
<esql:param name="column"><xsp:expr>ic</xsp:expr></esql:param>
> </esql:get-column-name>
>
> <xsp:logic>
> }
> </xsp:logic>
> </esql:row-results>
> </esql:results>
<xsp:attribute/> adds attributes to tags that create SAX events,
e.g. those used for markup. Adding attribtues to logicsheet tags
requires support from that logicsheet. Most supplied logicsheets use
<XXX:param/> for that.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
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/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>