> 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?
Yes, form component models are not updated until they pass validation, that is very intentional. :) (E.g. if you have a Date text field and someone types "beer", what would you expect to be written to the model?) > How and when does the modelobject get updated. When all validation succeeds and it progresses into a submit. > But if I weren't using ajax, is there a way to force wicket to update > the modelObject. That will happen automatically after validation passes. Validation should ideally only check inputs and give any errors. - Tor Iver --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
