I have Primefaces TabView with two Tab like:
<p:tabView dynamic="true" cache="false"
onTabShow="scrollBottom(#{stanzaBean.activeIndex})"
tabChangeListener="#{messaggioBean.onTabChange}"
activeIndex="#{stanzaBean.activeIndex}" >
it works fine, except that when I change the Tab the activeIndex isn't updated …
I am trying to add a PrimeFaces <p:tab> dynamically. While adding the second tab I am getting the following exception:
"java.lang.IllegalStateException: Component ID tab0 has already been found in the view".
How can I solve …
I've changed my code completely. But active index is still showing problems. Sometimes it gets called and sometimes it doesn't.
What's wrong with the following xhtml code?
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "…