TabView with ajax event="tabChange" - PF 5.0. - workaround

UI Components for JSF
kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

24 Sep 2014, 23:38

Sorry, but that is what happens when othe people take over threads. I do not read each thread from the start (to time consuming) and responde to maxtorzito

jocupocu
Posts: 1
Joined: 16 Mar 2012, 10:19

18 Dec 2014, 10:40

aka wrote:Found workaround:

Code: Select all

<h:form id="idMyForm">

<p:remoteCommand name="onTabChangeProcess" process="myTabViewId, @this"/> /// workaround

<p:tabView id="myTabViewId" activeIndex="#{myBean.tabindex}" widgetVar="tab" onTabChange="onTabChangeProcess()" >
   <p:ajax event="tabChange"  update="myTabViewId" process="myTabViewId" />   // this process not working
  <p:tab id="tab1" title="title1">
    <p:inputText id="idInputSubject1" value="#{myBean.text1}"
  </p:inputText>
  </p:tab>
.
.
.
</p:tabView>
</h:form>
Can somebody confirm that this is bug, or something wrong with my ajax inside tabView?
I confirm that this workaround solved the problem for 5.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests