Look MYFACES-656 <http://issues.apache.org/jira/browse/MYFACES-656> in
myfaces' bug database (jira)
Nikita Shah wrote:
Hi
Am having a problem in displaying the date of curent locale in jsf
tags. I think by default the locale EN_US is taken. But i want it to
be currentLocale.
Please guide me if I am wrong. And also please help me i n getting the
current date according to the locale.
The following is jsp page where i want to display the date in table.
<t:dataTable id="targetActualTable" border="1"
&nbs p; styleClass="sortable"
headerClass="targetActualTable_Header"
; rowClasses="targetActualTable_Row1"
& nbsp; columnClasses="targetActualTable_Column"
var="target"
&n bsp; value="#{data.ta}"
cellpadding="0"
; cellspacing="0"
align="center" >
<t:column>
<f:facet name="header">
<h:outputText value="Date" />
; </f:facet>
<h:outputText value="#{target.date}" >
<f:convertD ateTime type="date" pattern="MM/dd/yyyy " />
</h:outputText>
</t:column>
</t:dataTable& gt;
Would appreciate any help.
TIA
Nikita
------------------------------------------------------------------------
Yahoo! Autos
<http://us.rd.yahoo.com/evt=38381/%20ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http://autos.yahoo.com/index.html%20>.
Looking for a sweet ride? Get pricing, reviews, & more on new and used
c ars.
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.21/235 - Release Date: 19/01/2006