Heritier example should work. Simple check is given below.

<ant:property name="srcx" value="src" /> <ant:property name="ano" value="src" />
<j:if test="${srcx.equals(ano)}" >
<ant:echo message="works fine :.............." />
</j:if>


Heritier Arnaud wrote:

Did you try this ???

<j:if test = "${var1.equals(var2)} >


Arnaud



-----Message d'origine-----
De : Dan Tran [mailto:[EMAIL PROTECTED] Envoy� : jeudi 17 juin 2004 21:02
� : Maven Users List
Objet : jelly if statement headache



Hi I have 2 jelly variables that i want to compare in jelly if stament

  <j:if test = "${ var1 == var2 } >
    <!-- do some thing-->
 </j:if >

it is not working for me.  is it the right syntax?

and I also search on lots plugin.jelly sources to find some similarity, none shows up so far

Help is greatly appreciated.

-Dan




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





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



Reply via email to