i think u have to use jsp in the value tag, like so:
<logic:iterate id="itr1" name="itr1" type="class">
<logic:iterate id="itr10" name="itr100" type="class1">
<bean:define id="theName" name="itr10" property"name"/>
<%
String s = (String) pageContext.findAttribute("theName");
%>
<logic:equal name="itr1" property="name"
value="<%=s%>">
<%out.println("It works....");%>
</logic:equal>
</logic:iterate>
</logic:iterate>
-----Original Message-----
From: Shane Warne [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 4:25 PM
To: [EMAIL PROTECTED]
Subject: Logic:equals..
Hi,
I have this corky situation while using the
logic:equal tag.
Things is i have two iterators which get the same
element from the dbase.
<logic:iterate id="itr1" name="itr1" type="class">
<logic:iterate id="itr10" name="itr100" type="class1">
<logic:equal name="itr1" property="name"
value="itr10.name">
<%out.println("It works....");%>
</logic:equal>
</logic:iterate> </logic:iterate>
This doesn't work. Is there something wrong that i'm
doing. If the value is compared to a constant then the
equal tag works just fine. Please let me know how i
can compare a property from another variable as stated
above.
Thanks galore !!
Shane..
__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
--
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.
Software AG (UK) Limited
Registered in England & Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS