The Form already does this, is there some other place you need to do this? There is no other nice / wicket way to do this, so if you need this to work when setting the value programatically i'm afraid you will have to do some serious model coding yourself. and i don't think compoundpropertymodel is going to be of much use for you in that case.
Take a look at Form.process() to see how form does this. Maurice On 8/17/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > I'd like to avoid using my real model for user input until it has been > validated (ie avoid putting bad values into the model, reduce interaction > with the middle tier) > > Is there a nice Wicket way of doing this? > > Maybe use CompoundPropertyModel that wraps another IModel that just stores > the values in a Map/Model but then be able to use the > CompoundPropertyModel's normal rules to apply the values to my real model? > > Sorry if I've missed this documented elsewhere. > > Cheers > > Sam > > > -- > View this message in context: > http://www.nabble.com/%22copy%22-from-one-IModel-to-another-tf4285138.html#a12197951 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]