Hi, I'm using p:carousel with p:commandLink in this way :
<p:carousel value="#{categoria.articoli}" var="articolo" rows="3">
<p:column>
<p:commandLink
style="font-weight:bold;color:#B58520"
action="#{menuBuilderBckBean.goToDettaglioArticoloDaCategoria}"
ajax="false" rendered="#{articolo.tipo=='ARTICOLO'}">
<p:graphicImage value="/risorse/immagini/#{articolo.previewImageFile}"
width="100">
</p:graphicImage>
<f:setPropertyActionListener value="#{articolo}"
target="#{menuBuilderBckBean.articoloSelected}" />
<f:setPropertyActionListener value="#{categoria}"
target="#{menuBuilderBckBean.categoriaSelected}" />
</p:commandLink>
</p:column>
</p:carousel>
The problem is that commandLink action is invoked correctly if I don't' scroll the carousel, but after the carousel is scrolled commandLink action is not invoked.Thanks in advance.I'm using primefaces 2.2RC2 , JSF 2 MOJARRA 2.0.3,Websphere 7.
p:commandLink and p:carousel
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
-
- Posts: 11
- Joined: 02 Sep 2010, 16:20
Thanks for response. Yes the working example is ok, the problem is the action in command link, after the p:coursel is scrolled the action is not invoked. I have to use an action in this way because I have a navigation rule. So I solved my problem using a jquery carousel.Thanks.
Hey... look your version..
i was using the 2.2RC2 version, but now I'm using the 2.1 because it's developed fully
i was using the 2.2RC2 version, but now I'm using the 2.1 because it's developed fully