Carl, I think there's a t:convertDateTime component that provides
extra attributes for dealing with this correctly. Might be
sandbox:convertDateTime
On 8/23/06, CarlHowarth <[EMAIL PROTECTED]> wrote:
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-dataTable-tf2153255.html#a5947428
Sent from the MyFaces - Users forum at Nabble.com.