accordionPanel.tabController Documentation

UI Components for JSF
Post Reply
chrishj
Posts: 229
Joined: 11 Jul 2011, 21:58
Location: England, Lancashire
Contact:

24 Jul 2016, 20:46

Could I suggest that the documentation is updated to state that listener for tabController should be passed with TabEvent ?

Web Page

Code: Select all

<p:accordionPanel dynamic="true" cache="true" tabController="#{salesDaybook.selectValid}">
<p:tab id="sel" title="#{formText.selOpt}">
...
Bean

Code: Select all

public boolean selectValid(TabEvent evt){
  Tab currTab = evt.getTab();
  if (currTab.getId().equals("dayBk")){
...
PrimeReact: 9.6.0
NextJs: 13.4.12
Theme Apollo v9.0
Database pg 8.8.0
react-hook-form: 7.38.0

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

24 Jul 2016, 22:58

tabController? never heard of that attribute
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

chrishj
Posts: 229
Joined: 11 Jul 2011, 21:58
Location: England, Lancashire
Contact:

25 Jul 2016, 08:02

The attribute has some documentation on page 15 of User Guide 6.0.
PrimeReact: 9.6.0
NextJs: 13.4.12
Theme Apollo v9.0
Database pg 8.8.0
react-hook-form: 7.38.0

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

25 Jul 2016, 09:45

oh, this is really a new attribute.. sorry ;)
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests