Hi,
I have faced a problem in richfaces Tab. The problem is, I have three tabs and want to load each tab contents dynamically when the user clicks. Each tab contains different xhtml.
But for the first time, all the contents are loading. i.e. the managed bean of each xhtml is called even if only the first tab is required to load.
Each tab also retrieves data from the database also. So i want to avoid the unnecessary database calls for those tab contents which are not being displayed.
Can any body please help to solve this problem.
Thanks in advance
Pronobesh
You can use switchType attribute of rich tab. use switchType="ajax" or client, and try to keep ManagedBean scope as ViewScoped(available from jsf2)