Re: using condition in iterate tag

2002-03-31 Thread struts-user
Hi, Peter, I hope this'll answer your question. If you use lt;logic:iterategt; to loop through a collection. you can use lt;logic:equal ..gt; 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,

using condition in iterate tag

2002-03-26 Thread Peter Cnops
Hi, How can I declare a value out of a collection and use it as a condition in an iterate tag? I have to loop through a collection where one value is the same for several lines. As long as this value is the same, I don't write the line, else I do with the new value. I'm using Struts 1.0.2.

Re: using condition in iterate tag

2002-03-26 Thread Daniel Jaffa
condition in iterate tag Hi, How can I declare a value out of a collection and use it as a condition in an iterate tag? I have to loop through a collection where one value is the same for several lines. As long as this value is the same, I don't write the line, else I do with the new value