Update just on Tab of accordion Primefaces
I have an accordion with a dynamic number of tabs. The tab title gets set to a CSS class. This makes the background ether green or red, depending on if all the articles in the order are delivered. For every article there is a selectBooleanButton and on every change of these buttons the actual tab should get updated. The problem is: how can I update just one tab? When I update the whole accordion the first tab opens and the other get closed. <p:accordionPanel id="ordersAccordion" cache="true" value="#{ordersBean.orders}" var="order"> <p:tab titleStyleClass="#{ordersBean.isOrderDelivered(order)