I’m developing a new application in Wicket and have run into a small problem.
I’m using a Wicket DataTable, but I want some of the attributes in the dable to be presented different from their “actual” values. For example, I have a Date that is presented as “2011-09-01 00:00”, but I want it to be presented as “2011-09-01”. How do I do that?
I don’t really want to change to POJO or the Date object (maybe override something, somewhere?).
Thanks in advance!
Olle
By using a Converter configured in your application you will be able to format date the way you want for example.