Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

f:convertDateTime

 
rosaria italia
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,"<f:convertDateTime", is possible to use it only with data value or also of string.
I have tried so, but date remain as is, without nobody formatting.
...
<h:inputText id="data" value="#{user.data}">
<f:convertDateTime dateStyle="full" pattern="yyyy-MM-dd"/>
</h:inputText>...
#{user.data} return a string.

Do you know use it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic