On 07.Nov.2001 -- 07:56 AM, Roger I Martin PhD wrote:
> Apparently esql:get-column-name takes only column names and string representation of 
>column indexes; no variables.  The generated java code shows either

> although it looks like it should be feasible.  Is there a way?
> 
>   Also I want to supply an index variable like
> 
>   <xsp:logic>
>   for(int _esql_i=1;_esql_i&lt;=<esql:get-column-count/>;_esql_i++)
>   {
>     </xsp:logic>
>       <th>
>         <xsp:logic>
>           <esql:get-column-name column="_esql_i"/>
>         </xsp:logic>
>       </th>
>     <xsp:logic>
>   }
>   </xsp:logic>
> 
>   How?

You might have found out by now, if not, you'd need to 

     <esql:get-column-name><esql:param 
name="column"><xsp:expr>_esql_i</xsp:expr></esql:param></esql:get-column>

Sorry, for such a late response.

        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]>

Reply via email to