Jsf Date converter Error with <h:outputText>

View: New views
2 Messages — Rating Filter:   Alert me  

Jsf Date converter Error with <h:outputText>

by BalaMurali :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi I have a requirement in which I am having    <h:outputText value="#{appField.value}" /> in which the value will give a date in this format '2009-08-24'.  and I am not using any date converters here but by default it is converting this date to   'Aug 23,2009'.  actually it is displaying one day less then the actual date.

Any reason behind this ? and any solution to display the actual date as Aug 24,2009 ?


Thanks,
Balamurali

Re: Jsf Date converter Error with <h:outputText>

by Ryan Lubke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 8/26/09 5:54 AM, BalaMurali wrote:
> Hi I have a requirement in which I am having<h:outputText
> value="#{appField.value}" />  in which the value will give a date in this
> format '2009-08-24'.  and I am not using any date converters here but by
> default it is converting this date to   'Aug 23,2009'.  actually it is
> displaying one day less then the actual date.
>
> Any reason behind this ? and any solution to display the actual date as Aug
> 24,2009 ?
>    
This mailing list should be use for issues related to the development of
the Mojarra library.
I would recommend you post user related questions here [1] instead.

[1] http://forums.java.net/jive/forum.jspa?forumID=138
>
> Thanks,
> Balamurali
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...