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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -