Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot format given Object as Date

 
dinesh laxman kumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a xhtml page with JSF coding...

When I open the page for the first time I get a proper page where I give inputs.

But after the form is submitted and I request(or refresh) the same page I get the error

"Cannot format given Object as a Date"

Please,
Thanks in advance
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18276
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid that's not enough information for anyone to guess what's wrong.
 
dinesh laxman kumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, it was actually because the date value had to be set to null after form submission

Thanks anyways
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic