• Post Reply Bookmark Topic Watch Topic
  • New Topic

Display the current month when i click button

 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my page, i have one button and one rich:calendar component.
I want to display the current month name, when i click the button.

First time i click CurrentMonth button, and display the current month name << <January, 2011 > >> in rich:calendar. then i change month << < August, 2011 > >>.
Again i click the current month button, not display the current month name << < January, 2011 > >>. It showing the old month << < August, 2011 > >>.
How to show current month name , when i click button

calendar.jsp



CalendarBean.java




Help me.
Thanks in advance.
 
Srinivasan thoyyeti
Ranch Hand
Posts: 558
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eswar,

I doubt something wrong might have happened with screen navigation rules because it ajax submit.
The question is "Does the Page Refresh happned or not?"


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!