myfaces-dev mailing list archives

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

Please direct these questions to the user list.  Thanks.

Dennis Byrne

>-----Original Message-----
>From: CarlHowarth [mailto:carl.howarth@dlapiper.com]
>Sent: Wednesday, August 23, 2006 07:48 AM
>To: dev@myfaces.apache.org
>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
>correctly?
>
>Any help would be much appreciated.
>
>Thanks, Carl
>
>
>-- 
>View this message in context: http://www.nabble.com/%3Cf%3AconvertDateTime%3E-within-%3Ct%3AdataTable%3E-tf2151931.html#a5942859
>Sent from the My Faces - Dev forum at Nabble.com.
>
>



Mime
View raw message