Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with logic:match

Status
Not open for further replies.

rashmi79

Programmer
Jul 4, 2003
1
IN
hi all,
I want to use the logic match tag to equate the values from 2 collection. here is my code...


<logic:iterate id=&quot;accountdto&quot; name=&quot;AccountDTO&quot; scope=&quot;request&quot; type=&quot;com.test.AccountDTO&quot;>
<tr>
<logic:iterate id=&quot;con&quot; name=&quot;ContactDTO&quot; scope=&quot;request&quot; type=&quot;com.test.ContactDTO&quot;>
<logic:match name=&quot;con&quot; property=&quot;accountId&quot; value=&quot;accountdto.accountNumber&quot;>
..
..
..
some code
..
</logic:match>
</logic:iterate>
</tr>
</logic:iterate>


I want to equate the accountNumber in bean accountDTO to accountID in bean ContactDTO. How can i do that???

Regards,
Rashmi Tambe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top