Following Code: (just Stubs used for Form / onSubmit for illustration)

 

Form {  

onSubmit { 

 

Users foo = (Users) this.getModelObject();

String bar = foo.getNick();

 

//Hibernate-Validator validateForm()

if (!validateForm(foo)) {

 (…)

}

 

 

When I use the debugger and look at foo, every variable is filled with null,
but bar contains the right value?

Why is this the way it is? Can I change it? 

Because Hibernate Validator also can´t read out the correct content and says
it is null or empty :(

 

Thanks for you help.

Markus

 

Reply via email to