-
1. Re: Trying to get date from rich:calendar
ilya_shaikovsky Oct 22, 2007 9:19 AM (in response to torugor)what is your RF version. Are you checked that your request wasn't break on earlier JSF phases? Use phasetracker to check it.
-
2. Re: Trying to get date from rich:calendar
torugor Oct 22, 2007 2:14 PM (in response to torugor)I am using the last of Rich Faces versions. Already found the reason for the problem, and I will post here in case somebody else have the same problem.
On the bean, I was using java.sql.Date to define the date property of the bean. It should be java.util.Date.
It didnt work with Calendar or String. The only way I found to retrieve the information from the calendar was using java.util.Date as the bean property.
Hope it helps others...i passed a long time testing until i reached that solution. I think in the rich faces example in the web should have a complete example of the use of a calendar with the bean included. Would have saved me some work.
Regards,
Miguel