How to override ContentFlow configuration in Primefaces
问题 I want to override onclickActiveItem function and need to retrieve current active item index or call something with onMakeActive in Primefaces, what best way to do ? I was able to call function with the following way : <p:contentFlow value="#{imagesView.images}" var="image" widgetVar="img"> <p:graphicImage value="/images/imgs/img#{image}.jpg" styleClass="content" onclick="select(#{image})" /> </p:contentFlow> then in javascript : function setImageIndex(i){ return; } function select(i) {