This content has been marked as final.
Show 5 replies
-
1. Re: Problem while using rich:calendar
ilya_shaikovsky Feb 28, 2008 6:22 AM (in response to kks_krishna)<rich:calendar popup="true" id="calendar" ondateselected="alert($('form:calendar').component.getCurrentDate(event));"/>
this simpliest example alerts the user with choosen date. You could parse it as you need.
calendar JS API could be found at our demosite. -
2. Re: Problem while using rich:calendar
kks_krishna Feb 28, 2008 8:32 AM (in response to kks_krishna)Is there any mistake on the code? I am not getting ant alert when use this code.
-
3. Re: Problem while using rich:calendar
kks_krishna Feb 28, 2008 8:41 AM (in response to kks_krishna)OK. Its alerting the date. But its showing the same date for everytime. Not showing the selected date.
-
4. Re: Problem while using rich:calendar
ilya_shaikovsky Feb 28, 2008 10:53 AM (in response to kks_krishna)Sorry, I've mistaken.. It should be getSelectedDate(), because current date - returns the first day of currently displayed month.
-
5. Re: Problem while using rich:calendar
kks_krishna Feb 28, 2008 11:09 AM (in response to kks_krishna)Thanks..its working