• Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying Timestamp in input text field

 
register Deepak
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a input text field where i have to display the timestamp.This timestamp is populated by the java.sql.Timestamp field of the bean.When i try to submit the page, the text field shows "Conversion error occurred" message.I tried using the <f:convertDateTime type="both"> but still the error remains.I tried with java.util.Date field and it has no problem.But we need nanoseconds component and that's why we are using Timestamp field.

Anyone has any idea how to solve this ?

Thanks,
Deepak
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!