In a registration form I have to insert edit and delete icons in a form made in JSF.
<h:commandLink action="#{clienteController.editar}">Editar
You may be using commandLink
together with graphicImage
, example:
<h:commandLink action="#{clienteController.editar}">
<h:graphicImage value="img/imagem.png" />
</h:commandLink>