visit richfaces-demo online I've just written the sample because of such threads.
or you could use dataModel.
thank u for ur reply ,
i have two doubt .
the following code will disable the all old dates including current date.
but i need to enable the current date , i try to change the if condition like <=0 , but it is not working properly. any help...
my second question is
if i have two calender component in my page means ,
i am not allow the user to select the date, which is older than the first calender component date.
i dont know how it is possible with javascipt.