jsf - remove row from datatable -
i don't know how remove row datatable.
this facelet:
<p:commandbutton id="confirm" value="valider" update=":messages" oncomplete="dialogdelete.hide()" actionlistener="#{agentbean.btndelete}" styleclass="ui-confirmdialog-yes" icon="icon-ok"/>
session bean:
public void delete (agentministere agentministere) { agentministerefacade.remove(agentministere); }
managed bean:
public string btndelete (){ manager.delete(agentministere); return "agentlist"; }
Comments
Post a Comment