I'm a little bit lost with a PrimeFaces program I'm trying to understand.
Basically I have a Car.xhtml page. On this page I have a
commandbutton "id=save" "actionListener="#{CarView.save}"
To me it seemed pretty obvious that if I click on the button I m supposed to launch a method called save on the CarView.java.
There is a method save, but whatever I do, it seems that it's never called.
If I change "
{carView.save}"
into "{carView.save2}
"` it tells me save2 doesn't exist and if I change the method save(ActionEvent actionEvent) into save2(ActionEvent actionEvent), I have the same message.
I cannot find any other method with the name save. And this program actually saves everything.I've spent a few hours but I'm still lost. Where should I look ?