This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Rich calendar not rendered  RSS feed

 
Praveen Kamat
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsf datatable in one of my screen where I have take the date input. Hence I want to replace the input text with rich:calendar. Can someone tell me what all changes have to be done for this?

here is my current code:

 
Tim Holloway
Bartender
Posts: 18705
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's one I use.


I'm using an override on the date format (see SimpleDateFormat) and a custom message for conversion errors. The jointPoint stuff is just to make sure that the calendar doesn't pop up in an inconvenient place.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!