carousel render problem

UI Components for JSF
Post Reply
peter
Posts: 27
Joined: 10 Mar 2010, 16:18

19 Mar 2010, 10:19

Hi! I have problem with carousel component. I want it to have drop-down list to selecting the page, but instead of drop-down it renders points.See the picture bellow:
Image
My jsf code look like this:

Code: Select all

<p:carousel value="#{reportsBean.reports}"
                    var="report" 
                    pagerPrefix="#{msg.number}:"
                    rows="1"
                    rendered="#{!(empty reportsBean.reports)}" >
          #{report.number.nr}
        </p:carousel>
Another thing is that carousel is not rendered correctly in google chrome.See the picture below:
Image
I'm using latest 2.0.1-SNAPSHOT, from 18th march, on tomcat 6.20 with mojarra jsf2 implementation and sun jdk6.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

19 Mar 2010, 13:33

Peter, please see;

http://code.google.com/p/primefaces/iss ... ail?id=536

I think you need to set numVisible property as default is 3 items per view.

peter
Posts: 27
Joined: 10 Mar 2010, 16:18

19 Mar 2010, 13:46

But numVisible is not defined, thats what ide tells me.i added numVisible but it didn't help.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

22 Mar 2010, 02:05

Sorry my mistake, please try rows.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests