This content has been marked as final.
Show 3 replies
-
1. Re: Date
fernando_jmt Feb 20, 2007 6:26 PM (in response to konikoni)I know, I can add the full name in a separately session variable, but this will not part of the identity as well.
-
2. Re: Date
fernando_jmt Feb 20, 2007 6:28 PM (in response to konikoni)Sorry, my last message was my bad to add it to this topic ;-)
-
3. Re: Date
fernando_jmt Feb 20, 2007 6:43 PM (in response to konikoni)"KoniKoni" wrote:
I want to displa follow output on the page: Friday, 19.01.2007
Well, if you wanna display the current date, you only need to do this:<h:outputText value="#{currentDate}"> <f:convertDateTime pattern="EEEE, dd.MM.yyyy"/> </h:outputText>
If you wannna display the Date property of any backing bean, you sould do this:<h:outputText value="#{myBackingBean.birthDate}"> <f:convertDateTime pattern="EEEE, dd.MM.yyyy"/> </h:outputText>