I want to load the content of the tabs when they are clicked. I am using the ontabenter attribute of the <rich:tab and I was able to call the action on the bean.
The issue is after the action is complete when the page gets rendered First tab is getting selected automatically.
How do I get it to render the tab I clicked.
I also tried action attribute of the <tich:tab but looks like it is not calling the bean method.
Anyhelp will be appreciated.
<rich:tabPanel id="homepageDtlTabs" switchType="client" >
<rich:tab>...</rich:tab>
<rich:tab>...</rich:tab>
<rich:tab>...</rich:tab>
<rich:tab name="inventory" label="Inventory Details" ontabenter="getInventoryDetails();" >
.............
.................
</rich:tab>
<rich:tabPanel>
Thanks
Kiran.