I have a <rich:tabPanel>,and inside this I have created 3 <rich:tab>,I have written the corresponding code in the back-bean for switching the tab.i.e when I'll click the next button the next tab content will be displayed,but it is not working properly I had to refresh the page every time for switching to occur.

I have attached the files herewith.can anyone has a solution to this???????