I have no idea how to implement such a model. Do you have any hint? I am not sure where/when exactly the IModel.getObject() method is called and where the missing values can be inserted.
Regards, Kai 2008/6/5 Igor Vaynberg <[EMAIL PROTECTED]>: > right, so like that its not going to work. you need a model in between > that can buffer values and insert missing checked by disabled values. > > -igor > > On Thu, Jun 5, 2008 at 4:36 AM, Kai Mütz <[EMAIL PROTECTED]> wrote: > > Igor Vaynberg <mailto:[EMAIL PROTECTED]> wrote: > >> it is possible, just depends on how you set up your models. it is not > >> possible by directly reading the collection of checkgroup, but you > >> can come up with a different way. > >> > > > > The checkgroup is part of a form based on a CompoundPropertyModel > wrapping a > > User object which has a "roles" property (List). Nothing special. > > > > Kai > > > > > > --------------------------------------------------------------------- > > 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] > >