okay ... i've never write tags ....
can you give me a small example ?

Jamie M. Guillemette a �crit :
I might suggest writting your own tag then to ouput the desired text. Tags
are not difficult to write and you can make changes to it pretty easily if
you need to modify the functionality later one.

JMG



----- Original Message -----
From: "SuniX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 04, 2003 9:40 AM
Subject: <bean:write > boolean



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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to