> IMHO it does make sense. When I see several different super(...) calls in
> constructors the first thing that crosses my mind is that these superclass
> constructors have different logic. But it's not true for wicket and in most
> Component subclasses I can call super(id, (IModel)null). Can I?

Yep, you could. Though some constructors in other classes (in or
outside Wicket) might expect not-null arguments passed in in
constructors. It just depends on who implemented it. There is no
golden pattern that everyone follows; if there was, it should probably
be enforced in the language.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to