开发者

how to refresh the whole tabpanel in jsf

开发者 https://www.devze.com 2023-01-20 12:12 出处:网络
I am using richfaces and jsf. I am using <rich:tabpanel> to create the tabs. I have taken 4 tabs.

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" />

0

精彩评论

暂无评论...
验证码 换一张
取 消