struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitc...@telocity.com>
Subject RE: how to conditionate inside an iterate
Date Wed, 19 Jun 2002 21:27:10 GMT
The same way you do it outside the iterate.

See the docs or the struts-example......

here's a snip:

<logic:iterate id="subscription" name="user" property="subscriptions">
  <tr>
    <td align="left">
      <bean:write name="subscription" property="host" filter="true"/>
    </td>
...
...
<!-- this is not in the struts-example, but you get the point -->
      <logic:equal name="subscription" 
                   property="host" 
                   scope="request" 
                   value="Test for value">

      </logic:equal>
...
...
    </td>
  </tr>
</logic:iterate>


James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://struts-atlanta.open-tools.org

> -----Original Message-----
> From: Emerson Cargnin - MSA [mailto:emersonc@sicredi.com.br]
> Sent: Wednesday, June 19, 2002 5:06 PM
> To: struts-user@jakarta.apache.org
> Subject: how to conditionate inside an iterate
> 
> 
> How i make a condition test inside an iterate  logic taglib with the 
> bean of the iteration set????
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:struts-user-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message