Tabview refresh ui:include

UI Components for JSF
Post Reply
carlajavasap
Posts: 1
Joined: 26 May 2012, 16:58

26 May 2012, 19:57

Hi guys,

I have a xhtml page with tabview:

<p:tabView style="background-color: #FFFFCC; width:1200" activeIndex="" >

<p:tab title="Pesquisa" dynamic="true">
<ui:include src="PesquisaCompleta.xhtml"></ui:include>
</p:tab>

The PesquisaCompleta.xhtml page has a commandbutton that calls a method.
This method returns a string for the faces-config navigation rule.
It calls another page resCompleto.xhtml

How can I make the old page disappear (PesquisaCompleta) and this new page (resCompleto) be loaded on the tab I am currently at. This is the third tab of five.

Tks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests