This content has been marked as final.
Show 4 replies
-
1. Bug in JSF??? <h:outputText> and <f:convertDateTime>
ilya40umov Jan 14, 2011 9:30 AM (in response to dandii)1 of 1 people found this helpfulIt looks like
f:convertDateTime
does not work in the first case. And probablyh:link
does not support any converters. -
2. Re: Bug in JSF??? <h:outputText> and <f:convertDateTime>
dandii Jan 14, 2011 9:31 AM (in response to dandii)It works when I change the convertDateTime in both examples tag to (but the style is still different!):
<f:convertDateTime type="date" dateStyle="full" timeZone="GMT+2"/>
-
3. Re: Bug in JSF??? <h:outputText> and <f:convertDateTime>
ilya40umov Jan 14, 2011 9:40 AM (in response to dandii)Then it seems to be a bug. Could you try "GMT+0", please?
-
4. Re: Bug in JSF??? <h:outputText> and <f:convertDateTime>
dandii Jan 14, 2011 9:44 AM (in response to ilya40umov)Hi Ilya,
I think your previous is the correct one, because I even can't change the pattern!
The solution is to specify the correct timezone and to surround the <f:convertDateTime timeZone="GMT+2"> with a <h:ouputpanel>.
thanks for your help!