This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have a problem using tomahawk t:inputCalendar tag.
I have bound it to a backing bean date object.
But if I do date = new Date(), the tag renders current date by default.
If I keep the date reference null, the current date doesn render but then while submitting the page, the value chosen by user also doesn get stored.
Any suggestions over this??
Is it possible to bind the tag to a string object in backing bean using custom converter?
So that the empty string can be taken by the tag to display empty value on the web page and then when the user enters value, it can be stored in the string in backing bean?
M badly stuck.
Any help will be greatly appreciated.
Joined: May 18, 2011
It was a silly mistake.
Just had to keep the initial backing bean date reference as null.
subject: Binding tomahawk t:inputCalendar to a date object but not display default current date