Hi,
I have used a4j:commandLink inside p:carousel and my method in a4j:commandLink is not getting called. Instead of p:carousel if I use dataGrid it works.
Same problem is being faced in this post also http://primefaces.prime.com.tr/forum/vi ... f=3&t=5380
Does a4j:commandLink work inside p:carousel?
Below is my code,
<p:carousel value="#{myBean.myList}" var="myVar" effect="elasticOut" itemStyleClass="carItem" rows="3" autoPlayInterval="2000" circular="true" scrollIncrement="1">
<h:panelGrid style="width:100%" cellpadding="1">
<p:graphicImage value="/images/#{myVar.imageName}.jpg"/>
<br></br>
<a4j:commandLink value="(View)" oncomplete="#{rich:component('addPanel')}.show()" action="#{myBean.getMovies}">
<a4j:param assignTo="#{myBean.id}" value="#{myVar.id}" />
</a4j:commandLink>
.........................................
Am using primefaces-2.2.RC2.jar
Regards,
a4j:commandLink not working inside p:carousel
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You need a p:column as a child of carousel as documented in user's guide and showcase sample.
Also we have p:commandLink alternative.
Also we have p:commandLink alternative.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests