Hi people, I don't understand one thing:

in XSP file I have this piece of code:

<xsp:logic>
   String sectionId = 5;

   <section:edit>
       <section:id><xsp:expr>sectionId</xsp:expr></section:id>
   </section:edit>

</xsp:logic>

this "calls" template "section:edit" in logicsheet, which is defined:

<xsl:template match="section:edit">
...
<esql:query>select * from section where id=<xsl:value-of select="section:id"/></esql:query>
...
</xsl:template>


It should send to SQL server query 'select * from section where id=5', But to ESQL it sends query 'select * from section where id=sectionId'.

WHY??? And why to do it correctly?

Thanx!

osup


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to