After I debugged the code and watched how the object Questionario is made I can see that there is no property punteggioMassimo, even if it is declared on the class.
//QuestionarioBase.java
public class QuestionarioBase extends com.xxx.cms.classgenerator.BaseBean implements Serializable {
//some other properties
protected Integer punteggioMassimo;
//some other getter and setter
public Integer getPunteggioMassimo() {
return punteggioMassimo;
}
public void setPunteggioMassimo(Integer punteggioMassimo) {
this.punteggioMassimo = punteggioMassimo;
}
This class is extended by Questionario.java which has nothing in it.
public class Questionario extends QuestionarioBase implements Serializable {
}
When the object is created in the controller it initializes all the properties besides punteggioMassimo. I also tried to force the initialization using the setPunteggioMassimo in the Expression tab of eclipse, but I had no luck with it!
Here is a picture of the Expression tab:
Aucun commentaire:
Enregistrer un commentaire