Hello,
 
I am new to Cocoon. Using version 2.
 
I am trying to use the esql:get-column-name template and am having difficulty supplying the numerical index.
 
<esql:get-column-name column="1"/>
 
causes
 
java.lang.NumberFormatException: sun.tools.javac.Main has been deprecated.
 
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?
 
Thanks.  I want to get my stuff going and also want to build some examples to put with the http://xml.apache.org/cocoon2/logicsheet-esql.html page.
 
Roger

Reply via email to