You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ganael LAPLANCHE <ma...@martymac.com> on 2002/09/05 15:49:10 UTC

"if" not working

Hi all,

I'm trying to test the value of a hidden parameter sent via an html form...
Here is the test :

<xsp:logic>
  if(<xsp-request:get-parameter name="todo"/>=="search")
  {
    <xsp:content>That's ok !</xsp:content>
  }
<xsp:logic>

The test never returns true... What's wrong ???

Thank you,
Gan.