possibility to override this default behavior?
Manuel
-Original Message-
From: Shing Hing Man [mailto:[EMAIL PROTECTED]
Sent: Freitag, 23. Juni 2006 08:55
To: Tapestry users
Subject: RE: Null Date in a Contrib:Table
You could give the following a try.
span jwcid=@If
condition
Hi!
For a project I want to display a list of objects in an html table. I'm
using the Table component of the contrib library of Tapestry. One column
should show a formatted Date (or Calendar) object. It works fine as long as
the Date is not null. But if the database contains objects with null
Hi!
For a project I want to display a list of objects in an html table. I'm
using the Table component of the contrib library of Tapestry. One column
should show a formatted Date (or Calendar) object. It works fine as long as
the Date is not null. But if the database contains objects with null
Have you consider wrapping your component
'creationDateFormat' with an If component - so that
the date is only rendered if it is not null ?
There might be a drawback with the above approach. The
default sorting on your date column might not work.
Shing
--- Manuel Thurn [EMAIL PROTECTED]
name=format value=dateFormat/
/component
Manuel
-Original Message-
From: Shing Hing Man [mailto:[EMAIL PROTECTED]
Sent: Freitag, 23. Juni 2006 06:53
To: Tapestry users
Subject: Re: Null Date in a Contrib:Table
Have you consider wrapping your component
'creationDateFormat
=components.table.tableRow.creationDate.time/
binding name=format value=dateFormat/
/component
Manuel
-Original Message-
From: Shing Hing Man [mailto:[EMAIL PROTECTED]
Sent: Freitag, 23. Juni 2006 06:53
To: Tapestry users
Subject: Re: Null Date in a Contrib:Table
Have you consider