<p:carousel> first attribute

UI Components for JSF
Post Reply
User avatar
bardu
Posts: 293
Joined: 30 Dec 2009, 08:27
Location: Canada

09 Sep 2010, 20:32

Any value other than 0 for carousel first attribute doesn't work.

Code: Select all

<ui:define name="dialogs">
        <p:dialog  header="#{msgs.wildlife_viewing_sidebar_wildlife}" modal="true" widgetVar="dlg1"  width="500" height="475" resizable="false" >
            <p:carousel id="carousel" rows="1" first="#{wildlifeViewingBean.first}" var="wl" itemStyleClass="wildlife-carousel-item" value="#{wildlifeViewingBean.wildlife}" >
                <h:panelGrid columns="1" style="width:100%" cellpadding="5">
                    <h:panelGrid style="text-align: left; font-weight: bold; color: orange;" >
                        <h:outputText value="#{wl.name}" escape="false" style=" " />
                    </h:panelGrid>
                    <h:panelGrid style="width: 100%; height: 260px; text-align: justify;">
                        <img alt="Could not load image!" src="#{wl.imageLink}" class="float-right" />
                        <h:outputText value="#{wl.yukonDesc}" escape="false" />
                    </h:panelGrid>
                </h:panelGrid>
            </p:carousel>
            <h:panelGrid styleClass="ui-corner-all dialog-close" >
                <p:commandButton value="#{msgs.close}" onclick="dlg1.hide()"/>
            </h:panelGrid>
        </p:dialog>
    </ui:define>
JSF-2.0, mojarra-2.1 | PrimeFaces-3.0-M1 | GFv3.1 | NetBeans 7 | Ubuntu 11.04
www.yukonlive.ca
www.yukonlive.de

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

09 Sep 2010, 23:33

We need an issue ticket to have a look in detail.

User avatar
bardu
Posts: 293
Joined: 30 Dec 2009, 08:27
Location: Canada

09 Sep 2010, 23:45

JSF-2.0, mojarra-2.1 | PrimeFaces-3.0-M1 | GFv3.1 | NetBeans 7 | Ubuntu 11.04
www.yukonlive.ca
www.yukonlive.de

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

16 Sep 2010, 20:14

Thanks, will look into this by 2.2.RC1 for sure.

janfran
Posts: 1
Joined: 25 Dec 2010, 15:46

29 Dec 2010, 20:54

Hello, i got the same problem with 2.2.RC2.
It would be very kind to look at this. I saw other posts on this subject.
I also noticed that the mentionned issue was in "new features"category... perhaps it's why we don't have news?
Thanks in advance to primefaces team.
Primefaces 2.2.RC2 - JSF 2.0 - Netbeans 6.9.1 - Firefox - Windows 7

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

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