When a commandLink is clicked, a new row should be added in the DataTable. The data entered in the previous row is being cleared when the link is clicked.
I added <f:ajax event="click" render="@form" listener="bean.method"/>
for <h:commandLink>
.
What is the solution for this problem.