I have a richfaces calendar and I'd like to display a popup that asks if the user wants to change the currently set date. If yes, it would proceed to display the calendar popup window. If not, then the popup window should not be displayed. I have tried using a javascript confirm() to do this but could not get it done. Any help would be appreciated. Thanks!
In the onshow attribute of your rich:calendar, return the value of your confirm dialog, as in:
<rich:calendar onshow="return confirm('change date')" ... />