Do I understand you right: You want to display a Image in every column of your 
datatable where a specified boolean is true?

Then you can use the rendered attribute. 

<h:graphicImage value="a.gif" rendered="YOUR Boolean"/>

Regards,
Andy

-----Ursprüngliche Nachricht-----
Von: Thierry Buecheler [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 10. Oktober 2005 17:04
An: [email protected]
Betreff: Dynamic icons in dataTable?


Hi everyone

I would like to display an image in a dataTable column iff a boolean 
value is true in the collection element for that row (I used to display 
a write disabled checkbox, but now I have to display a nice little icon).

Anybody has a code snippet or hint how to do this?

Thank you in advance!

Thierry


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to