Note that there are some explanatory texts on larger screens.

plurals
  1. POp:carousel (tab slider) issue
    primarykey
    data
    text
    <p>i'm having problems implementing the Carousel - Tab Slider example shown in the <a href="http://www.primefaces.org/showcase/ui/carouselTabs.jsf" rel="nofollow">Showcase</a> site.</p> <p>Here's my xhtml code:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" template="/WEB-INF/templates/test.xhtml" xmlns:p="http://primefaces.org/ui"&gt; &lt;ui:define name="content"&gt; #{msg['app.menu.home']} &lt;br /&gt;&lt;br /&gt; &lt;h:form id="demo"&gt; &lt;p:carousel id="tabsCarousel" numVisible="1" itemStyle="height:200px;width:600px;" effect="easeInStrong"&gt; &lt;p:tab title="Godfather Part I"&gt; &lt;h:panelGrid columns="2" cellpadding="10"&gt; &lt;p:graphicImage value="/pages/img/godfather1.jpg" /&gt; &lt;h:outputText value="The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. His beloved son Michael has just come home from the war, but does not intend to become part of his father's business. T hrough Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family, kind and benevolent to those who give respect, but given to ruthless violence whenever anything stands against the good of the family." /&gt; &lt;/h:panelGrid&gt; &lt;/p:tab&gt; &lt;p:tab title="Godfather Part II"&gt; &lt;h:panelGrid columns="2" cellpadding="10"&gt; &lt;p:graphicImage value="/pages/img/godfather2.jpg" /&gt; &lt;h:outputText value="Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, The_Godfather, parallels the young Vito Corleone's rise with his son Michael's spiritual fall, deepening The_Godfather's depiction of the dark side of the American dream. In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy, killing the local Black Hand Fanucci after he demands his customary cut of the tyro's business. With Fanucci gone, Vito's communal stature grows."/&gt; &lt;/h:panelGrid&gt; &lt;/p:tab&gt; &lt;p:tab title="Godfather Part III"&gt; &lt;h:panelGrid columns="2" cellpadding="10"&gt; &lt;p:graphicImage value="/pages/img/godfather3.jpg" /&gt; &lt;h:outputText value="After a break of more than 15 years, director Francis Ford Coppola and writer Mario Puzo returned to the well for this third and final story of the fictional Corleone crime family. Two decades have passed, and crime kingpin Michael Corleone, now divorced from his wife Kay has nearly succeeded in keeping his promise that his family would one day be completely legitimate." /&gt; &lt;/h:panelGrid&gt; &lt;/p:tab&gt; &lt;/p:carousel&gt; &lt;/h:form&gt; &lt;/ui:define&gt; &lt;/ui:composition&gt; </code></pre> <p>And here's how its rendering on the browser: <a href="http://i1298.photobucket.com/albums/ag48/franco_prieto/carousel_zps867d9fd4.png" rel="nofollow">http://i1298.photobucket.com/albums/ag48/franco_prieto/carousel_zps867d9fd4.png</a></p> <p>I'm using: jboss-6.1.0.Final, primefaces-3.4.1.jar, primefaces-extensions-0.6.1.jar, cupertino-1.0.8.jar Firefox 19.0</p> <p>Oh, and one more thing, i'm using several other primefaces components and they all work just fine except this one..</p> <p>Can anybody give me a hand?</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload