-
1. How can I save the current tab in a rich:tabPanel?
iabughosh May 11, 2011 9:00 AM (in response to pschuett)hi peter,
i think you should handle the tab selection and set tab name into your bean property , ex :
<h:form>
<a4j:jsFunction name="setActiveTab">
<a4j:param name="activeTab" assignTo="#{user.activeTab}"/>
</a4j:jsFunction>
<rich:tabPanel switchType="client" activeItem="#{user.activeTab == null ? 'tab2' : user.activeTab}" >
<rich:tab name="tab1" header="Hasta Bilgi Formu" onenter="setActiveTab('tab1')">
....
regards.
-
2. How can I save the current tab in a rich:tabPanel?
daniell May 11, 2011 10:20 AM (in response to iabughosh)Isn't it sufficient to use the value-attribute of the tabPanel?
<rich:tabPanel value="#{myBB.activeTab}" ...>
-
3. How can I save the current tab in a rich:tabPanel?
iabughosh May 11, 2011 10:32 AM (in response to daniell)i don't think so, i think RF team added activeItem property for this purpose .
-
4. How can I save the current tab in a rich:tabPanel?
daniell May 12, 2011 2:44 AM (in response to iabughosh)Oh - I just saw in the tags that you're talking about RF4. I was wondering if there is such attribute in RF3