setObject
public static void setObject(IModel<?> model,
Object value)
Sets a value whose type is unknown. This is a convenience for dealing with the
models with values of unknown type in Wicket (such as Model <?>) that
naturally complain "cannot be applied to given types" when you try to set a value.
- See Also:
Component.getDefaultModel()