Turn it into an object with that status as an integer and a name as
String? Then the toString should return the name. You could possibly
even use an enum.
Linda
HHB wrote:
Hey,
I have a message class that has a status (which it is an integer)
to indicate whether the message has been sent successfully.
Inside a data table, how to handle this integer values so instead
of displaying 0 or 1, it displays "Sent" or "Not Sent"?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.325 / Virus Database: 270.12.18/2096 - Release Date: 05/04/09 17:51:00
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org