When I interact with a dataTable that has a column named DELETE (which is a link) and has a listener attached to it, I experience an issue. After clicking on the link for the first time (click 1), the row gets deleted as expected. However, subsequent clicks on other rows (click 2 and onwards) do not trigger any action. It seems like nothing happens when I click again after the initial deletion. To make it work, I need to click one more time (click 3) which is something I want to avoid.
It's worth noting that the "delete()" method in my_user is not being reached after "click 2".
Below is the code snippet for the column:
<h:column>
<f:facet name="header">#{lng.del}</f:facet>
<h:form>
<h:commandLink action="#">
<f:ajax event="click" listener="#{my_user.delete}" render="@all" />
<h:graphicImage name="delete.png" library="images" styleClass="tableIcon" />
</h:commandLink>
</h:form>
</h:column>