cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: Setting attributes of the esql tags dynamically
Date Wed, 13 Feb 2002 15:02:29 GMT
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 &lt;= 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
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/faqs.html>

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


Mime
View raw message