Carousel without panel

UI Components for JSF
Post Reply
maxtorzito
Posts: 96
Joined: 19 Jan 2011, 17:00

02 Sep 2011, 19:58

Its possible to use a carousel without (inside) a panel? when i use a div instead of a panel doesnt work, this is the normal behaivor?

Code: Select all

<p:panel style="width:  500px;" >
                <p:carousel value="#{myBean.list}" circular="true" effectDuration="2000" var="edicion"
                            effect="fade"
                            style="width: 500px; height: 500px; background-color: red;">
                    <h:panelGrid columns="1" style="width:117px; height: 120px;">
                    <p:graphicImage value="images/ediciones_anteriores/#{edicion.img}.png"/>
                </h:panelGrid>
            </p:carousel>
        </p:panel>

If i remove the <p:panel..... the Carousel dont work!! test it in Chrome and Firefox

Primefaces 5.0
Primefaces Extensions 1.2.1
Omnifaces 1.8.1
JDK 1.7.0_25
MyFaces 2.1.15
Ubuntu
Apache TomEE 1.7.0 JAX-RS

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 57 guests