[jboss-user] [JBoss Seam] - Re: Date
fernando_jmt
do-not-reply at jboss.com
Tue Feb 20 18:43:14 EST 2007
"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>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019610#4019610
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019610
More information about the jboss-user
mailing list