struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuniX <kafcho...@yahoo.fr>
Subject <bean:write > boolean
Date Fri, 04 Jul 2003 13:40:11 GMT
hi i have a arraylist of bean with  boolean attributs
and i want to render a image (or another string than true) when it's 
true and another image when it's false :

<logic:iterate id="permissionbean" name="permissionsList" >
   <tr>
    <td><bean:write name="permissionbean" property="user.group"/></td>
    <td><bean:write name="permissionbean" property="user.name"/></td>
    <td><bean:write name="permissionbean" property="read"/></td>
    <td><bean:write name="permissionbean" property="write"/></td>
<!-- it render "true" or "false" but i want to render "writeable" or 
"not writeable" -->

   </tr>
</logic:iterate>



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


Mime
View raw message