Hi,

 

I have a tabbedPanel consisting of various tabs. Each tabs content is added as a sub view (using jsp:include) to the main JSF.

Each tab is supposed to provide standard add, edit, delete, search functionality for the selected tab using various included JSFs.

 

 How can I show a different included JSF in the selected tab depending on the action without losing the selected tab?

 

 1. One approach can be to have all forms/pages added as sub views to the tab and control their rendered attribute using the backing bean (rendering only one at a time).

2. Another could be to provide the name of the included JSF at runtime which is again difficult to achieve with <jsp: include>

 

I think there would be a better way which I am missing. Can somebody please suggest?

 

Thanks

Amit Modi

Reply via email to