Board index JavaServer Faces General <p:carousel> first attribute

<p:carousel> first attribute

Components, Ajax Framework, Utilities and More.

Post 09 Sep 2010, 20:32

Posts: 293
Location: Canada
Any value other than 0 for carousel first attribute doesn't work.

<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


Posts: 14909
Location: Cybertron

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


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


Posts: 14909
Location: Cybertron

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


Posts: 1
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


Return to General