Primefaces, activeindex actionlistener not calling in multiple tabs?

Up vote 0 down vote favorite share g+ share fb share tw.

Hello I am using primefaces version 3.2 The ui layout which I am using is tabview, inside it, i've accordion panel, and inside every tab of the accordion, i've two forms. Just like tabview>tab>accordionpanel>tab>form1 and tabview>tab>accordionpanel>tab>form2 and so on... Now, the problem is that the active index action is not called in the above scenario. However, when I remove on of the froms from the accordion panel tab, it is called and works fine.

This is my xhtml tabview code This is basic info tab. This is basic info tab. I've got multiple tabs in the tabview and also multiple tabs in each accordion panel.

Waiting for the response. Java jsf primefaces link|improve this question asked Mar 25 at 21:37Mudassir Shahzad12.

My bean is session scoped. And in the debug mode, when I step over at the "return myCurrrentTab" statement, it goes to the return statement of the invoke method of Method. Java class.

But it doesn't stop the debugger. – Mudassir Shahzad Mar 28 at 6:19 Plz anybody reply – Mudassir Shahzad Mar 28 at 14:03 do you really need the accordionPanel panel? , I always had problems with complex components inside tabs.

Maybe you can ask at primefaces. Or you could use another component. – ojota Mar 28 at 14:14.

I am using active index here that whenever a tab is clicked, it's stored in the bound bean member variable. In your suggestion, i've to press the command button to do it and not the tab. Please explain if you didn't want to say what I got from your code.

Thanks – Mudassir Shahzad Mar 30 at 8:49.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions