how to forward to a new page on click a tab of tabview
问题 I have a page named Tabview1 which composed of tabview. Tabview1.xhtml: <p:tabView> <p:tab title="1"> <ui:include src="/Apanel.xhtml"/> </p:tab> <p:tab title="2"> </p:tab> <p:tab title="3"> </p:tab> </p:tabView> I want to forward to the page Tabview2.xhtml if click on the tab named 2 . Tabview2.xhtml: <p:tabView> <p:tab title="1"> </p:tab> <p:tab title="2"> <ui:include src="/Bpanel.xhtml"/> </p:tab> <p:tab title="3"> </p:tab> </p:tabView> Who can help me ? 回答1: Tabview creates a list with one