I have strange problem with p:commandLink
tag when i use it with the ui:repeat
tag !
commandLink doesn't work at all .
this my xhtml code :
<h:form>
<ui:repeat varStatus="miteraionno" value="#{bussinessOwnerViewerMB.bOwner.bOBranches}" var="branch" >
<div class="details" >
<ul class="services">
<li>
<p:commandLink actionListener="#{bussinessOwnerViewerMB.testMethod}" styleClass="nav_services" oncomplete="">
<h:outputText value="#{branch.branchName}"/>
</p:commandLink>
</li>
</ul>
</div>
</ui:repeat>
the ActionListener is just test method :
public void testMethod(){
System.out.println("BussinessOwnerViewerMB.changeMapListener()");
}
i try c:foreach
but it gives me the same result !
any help will be appreciated ..