myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Byrne" <>
Subject Re: <f:convertDateTime> within <t:dataTable>
Date Wed, 23 Aug 2006 15:58:43 GMT

Please direct these questions to the user list.  Thanks.

Dennis Byrne

>-----Original Message-----
>From: CarlHowarth []
>Sent: Wednesday, August 23, 2006 07:48 AM
>Subject: <f:convertDateTime> within <t:dataTable>
>Hello all,
>Apologies if this has already been  covered, I have not been able to find a
>suitable response to help me with this issue.
>I have a page that displays data in a datatable, and also displays a couple
>of dates independent of the table. All information is being drawn from the
>same backing bean. When I display a date field independent to the table and
>use the following code:
><h:outputText value="#{BackingBean.dateField}"><f:convertDateTime
>type="date" dateStyle="short" /></h:outputText>
>... the date is being displayed as I would expect for my locale
>(dd/MM/yyyy), however when I use the same convertDateTime statement in an
>outputted field in the dataTable the date is being displayed differently
>(incorrectly) as dd-mmm-yyyy.
>Is these a simple way to get the data displayed in the table outputted
>Any help would be much appreciated.
>Thanks, Carl
>View this message in context:
>Sent from the My Faces - Dev forum at

View raw message