I am facing very weird issue with JSF2.0 Ajax Tag. Below are the steps that causes an issue for me
- My project uses JSF2.0 and Spring 3.0. The JSF is wired to spring controller and life cycle is managed by Spring.
- My Controller is Request Scoped.
Everything works fine till this point
i have a selectOne dropdown and on selection of a value on drop down it renders bottom portion of screen which has another dropdown. I use a rendered attribute on a parent panelgroup to show and hide this drop down.
However for the newly rendered drop down on selection of a value the ajax listener(F:ajax tag defined inside it) is not getting invoked. I see the following happening
- The bean is reintialized as it is request scope.I see my postconstruct getting executed.
- i see success message in the data object in client.
Only thing missing is that the listener method is not invoked.
Is there anyway to debug the life cycle and find what is going wrong?