I have a strange behaviour using two timelines inside a accordion:
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<title>AccordionTest</title>
</h:head>
<h:body>
<p:accordionPanel>
<p:tab title="Timeline one">
<h:form id="timelineForm">
<pe:timeline value="#{basicTimeLineController.timelines}"
height="200"></pe:timeline>
</h:form>
</p:tab>
<p:tab title="Timeline two">
<h:form id="timelineForm2">
<pe:timeline value="#{basicTimeLineController.timelines}"
height="200"></pe:timeline>
</h:form>
</p:tab>
</p:accordionPanel>
</h:body>
</html>
Any idea about that?
Thanks Gianluca