You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ma...@swisscom.com on 2003/06/25 14:25:19 UTC

Esql error?!

what is wrong with my page? It worked before, and since I change the
version of cocoon (from 2.0 to 2.1) it doesn't work anymore (the page
make a timeout) :

...
} else {
</xsp:logic>
 <form action="add-param-configdb_add" method="post"> 	
 <table>
  <th>select</th>
  <th>column name</th>	
 <xsp:logic>
 while(mytester != null) { 
  </xsp:logic>
  <tr> 	 
  <esql:execute-query>
  <esql:query>
    SELECT COL_NAME(OBJECT_ID('<xsp:expr>myDB</xsp:expr>'),
<xsp:expr>mycolid</xsp:expr>) as ColName
  </esql:query>
  <esql:results>
  <esql:row-results>
    <xsp:logic>
     mytester = <esql:get-string column="ColName"/>;
     if (mytester != null) { 
      <td><input type="radio" name="radiobut"><xsp:attribute
name="value"><esql:get-string
column="ColName"/></xsp:attribute></input></td>
      <td><esql:get-string column="ColName"/></td>

     }	
    </xsp:logic>	
    </esql:row-results>	
    </esql:results>		
   </esql:execute-query> 
   </tr>	
   <xsp:logic>
   mycolid =  mycolid + 1;
} 
</xsp:logic>  
</table>
...

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