Here is my code :
<a4j:repeat ......>
<rich:datatable>
<rich:column>
<a4j:commandLink value="Edit" action="#{poReceiptBean.testMethod()}"
actionListener="#{poReceiptBean.addRowListener}" oncomplete="#
{rich:component('editReceiptModal')}.show();"></a4j:commandLink>
</rich:column>
</rich:datatable>
</a4j:repeat>
Bean :
public void addRowListener(ActionEvent event){
addInventoryRow = true;
}
public void testMethod() {
System.out.println("hi");
}
both action and actionListener are not invoking bean methods. how to resolve this issue? any help would be appreciated.