RE: Null Date in a Contrib:Table

2006-06-26 Thread Manuel Thurn
--- 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. The documentation on the If component is at http://tapestry.apache.org/tapestry4/tapestry/ComponentRefe

RE: Null Date in a Contrib:Table

2006-06-23 Thread Shing Hing Man
; 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&#x

RE: Null Date in a Contrib:Table

2006-06-23 Thread Manuel Thurn
, 23. Juni 2006 06:53 To: Tapestry users Subject: Re: Null Date in a Contrib:Table 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 so

Re: Null Date in a Contrib:Table

2006-06-23 Thread Shing Hing Man
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]> wro

Null Date in a Contrib:Table

2006-06-23 Thread Manuel Thurn
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 v

Null Date in a Contrib:Table

2006-06-23 Thread Manuel Thurn
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 valu