After using property models, it's nice to have automatic binding to variables in objects... However, I can't seem to get the same thing to work with local variables... as an example...
new CheckBox("toggleSomething", new PropertyModel(someObject, "toggleableProperty")); works beautifully... However, new CheckBox("toggleSomething", new Model(toggleableObject)); //toggleableObject is a Boolean doesn't seem to change anything on form submit, that toggleable object only dictates the initial state of the checkbox, but doesn't change with it.... What am I missing? -- View this message in context: http://www.nabble.com/Newbie-Question%2C-Very-Basic-Model-Use-tp19837933p19837933.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]