I have this form:
<h:form>
<h:outputLabel value="Entrez un id du compte a supprimer" for="id"/>
<h:inputText id="id" value=""/>
<h:commandButton id="supprimer" value="Supprimer" action="#{compteBancaireMBean.supprimer}"/>
</h:form>
And this action method:
public String supprimer() {
gestionnaireDeCompteBancaire.supprimer(comptebancaire.getId());
return "CompteList";
}
When I submit the form, I get the following exception:
javax.el.PropertyNotWritableException: /Supprimer.xhtml @14,44 value="": Illegal Syntax for Set Operation
How is this caused and how can I solve it?