try something like

<xsp:logic>
        int rowID = <esql:get-string column="ID"/>;

        if (rowID == 3){

        .... bla bla .. your code

        }

<xsp:logic>





stavros




<esql:get-string column="ID"/>

On Wed, 18 Dec 2002 [EMAIL PROTECTED] wrote:

> Hi,
> How can I quickly add a condition in someting like  :
>
> <td><esql:get-string column="ID"/></td>
>
> If I want to add a condition like :
> If ID = 3 then font color = red else font color = green ? I'm using XSP
> pages.
>
> Thank you for your help!
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to