I am using richfaces and jsf.
I am using <rich:tabpanel>
to create the tabs.
I have taken 4 tabs.
In 1st tab , one refresh button is available. If I click that button, the whole tabpanel is refreshed. whatever the data开发者_运维技巧 is kept in tab2, tab3 and tab4 will be clear.
use <a4j:support reRender="tabPanelComponentId">
inside your button, or use <a4j:commandButton reRender="tabPanelComponentId" />
精彩评论