-
1. Re: Rich TabPanel Issue
snandula Sep 29, 2012 9:20 AM (in response to snandula)Can someone help? i am stuck..
-
2. Re: Rich TabPanel Issue
snandula Oct 1, 2012 1:25 PM (in response to snandula)Experts! any help?
-
3. Re: Rich TabPanel Issue
neikius Oct 25, 2012 9:23 AM (in response to snandula)There are strange things regarding tabPanel. I suggest you do it some other way.
-
4. Re: Rich TabPanel Issue
sivaprasad9394 Oct 25, 2012 11:48 PM (in response to snandula)Hi Srinivas,
I have worked in Richfaces3 only completely.Try like the below solution it will work for you even if you are working with Richfaces4 also,May be you can try it properly,
try like below,
1) In our case instead of action in the <rich:tab we are using ontabenter function and calling the backend,
2) <a4j:function will call the backend bean and display the datatable properly in the screen.
3) Because we are rendering only the specific region here.
<a4j:jsFunction name="CaregiverLoad" limitToList="true" immediate="true"
actionListener="#{sampleBean.CaregiverAction}"/>
<a4j:jsFunction name="loadAwardDecisions" limitToList="true" immediate="true"
actionListener="#{sampleBean.loadAwardDecisionsAction}"/>
<rich:tabPanel switchType="ajax">
<rich:tab limitToList="true" header="Caregiver" styleClass="rf-tab" ontabenter="CaregiverLoad()">
<a4j:region id="Caregiverregion">
<ui:include src="CaregiverInfo.xhtml" />
</a4j:region>
</rich:tab>
<rich:tab limitToList="true" header="Award" styleClass="rf-tab" ontabenter="loadAwardDecisions()">
<a4j:region id="awardregion">
<ui:include src="awardDecision.xhtml" />
</a4j:region>
</rich:tab>
</rich:tabPanel>
Thanks,
Siva