If I am using some form validator, I notice that getDefaultModelObject
does not have the value from the getInput.  I am assume this
intentional.  Is there a way to force wicket to update the modelObject?
How and when does the modelobject get updated.
 
 
myForm.add(new AbstractFormValidator() {
 
   public void validate() {
 
       String val = component.getInput();  <--- has the correct value
from the request 
       String val2 = component.getModelObject();  <---- does not have
value.
   }
 
});
...
 
In the case above, I could use the proper ajaxbehavior (like onBlur on a
textfield) and the modelObject gets updated.
 
But if I weren't using ajax, is there a way to force wicket to update
the modelObject.

Reply via email to