A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
<hx:dataTableEx how to display an image based on column data
Joined: Mar 19, 2009
Mar 19, 2009 15:29:57
I'm new to
, hope this isn't too stupid of a question.
I have a <hx:dataTableEx> datatable and I would like to display an image in a column if the column data is a certain value.
For example: if my table contains a column that maps back to myBean.alert and alert is set to true, I want to display an image in the column, if alert is set to false, don't display anything.
Any help would be greatful
Joined: Oct 08, 2006
Mar 19, 2009 15:53:01
Make use of the 'rendered' attribute.
It is sorta covered in the
JavaRanch Style Guide
subject: <hx:dataTableEx how to display an image based on column data
Help with sorting
How can I force a <hx:dataTableEx to display n number of rows?
java.lang.NumberFormatException when sorting table column
Png-files doesn't appear in Alert()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014