I have a MyPojo with property java.util.Date someDate
I use CompoundPropertyModel<MyPojo>
Now I add components on my page, like add(new Label("someDate")) and
it automagically uses IConvertor to convert from Date to string.
But in some places of web-site I need print only "27/11/2008", in some
places better will be "2 days ago", in some places "27/11/2008
16:53:34 UTC" and so on.
What is an elegant way to specify a format in particular piece of code?

-- 
WBR, kan.

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

Reply via email to