RE: getInput and getDefaultModelObject and validation

2011-07-29 Thread Wilhelmsen Tor Iver
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

RE: getInput and getDefaultModelObject and validation

2011-07-29 Thread Brown, Berlin [GCG-PFS]
type. -Original Message- From: Wilhelmsen Tor Iver [mailto:toriv...@arrive.no] Sent: Friday, July 29, 2011 3:20 AM To: users@wicket.apache.org Subject: RE: getInput and getDefaultModelObject and validation If I am using some form validator, I notice that getDefaultModelObject does

RE: getInput and getDefaultModelObject and validation

2011-07-29 Thread Wilhelmsen Tor Iver
Is there a way to force a modelobject update on each individual field and then do my form validation. It seems you want to use getConvertedInput(). Going via the model to get the converted value is just a detour when you are in a validator. If you push data to the model and then decide it is

RE: getInput and getDefaultModelObject and validation

2011-07-29 Thread Brown, Berlin [GCG-PFS]
, July 29, 2011 5:04 AM To: users@wicket.apache.org Subject: RE: getInput and getDefaultModelObject and validation Is there a way to force a modelobject update on each individual field and then do my form validation. It seems you want to use getConvertedInput(). Going via the model to get