You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by st...@japache.org on 2002/04/01 05:49:02 UTC

Re: using condition in iterate tag

Hi, Peter,  

I hope this'll answer your question.

If you use <logic:iterate> to loop through a collection. you can use <logic:equal ..> to compare the value, the best way (in my opinion) is to use a collection of objects, then you can compare the property in the object.  However, logic:equal only accept constant values, so far I can only use jsp code to make it work.  

HTH!

Fanny Chen 
--
Sent via jApache.org

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>