or public void populateItem(Item<ICellPopulator<T>> item, String componentId, IModel<T> rowModel) { item.add(new Label(componentId, createLabelModel(rowModel))); }
and you create directly a the label with the formated date Ernesto On Fri, Oct 30, 2009 at 1:55 PM, zabian <zabia...@gmail.com> wrote: > I do use PropertyColumn. I will try it out and let you know. > Thanks for help. > > Wojtek > > Ernesto Reinaldo Barreiro pisze: > > Are you using PropertyColumn? If yes... Why not override >> >> protected IModel<?> createLabelModel(IModel<T> rowModel) >> { >> return new PropertyModel(rowModel, propertyExpression); >> } >> >> >> and return a model that formats the date as you need? >> >> Best, >> >> Ernesto >> >> 2009/10/30 zabian <zabia...@gmail.com> >> >> >> >>> Hi there, >>> i would like to find out if the date format for java.util.Date property >>> is >>> customizable in DataTable. >>> Could anyone point me how to set it? >>> >>> Regards, >>> Wojtek >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >>> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >