Hi there,

a quick question regarding org.apache.wicket.markup.html.panel.Panel:
we recently had a bug in our software because someone directly created
an instance of Panel to render 'nothing'. This of course failed miserably
because the associated markup for Panel couldn't be found. While
the fix was easy (use EmptyPanel, which has default markup, instead), I
still wonder if there's any situation where it would be correct to directly
instantiate Panel. If there isn't any such situation, I guess it would
make sense to declare Panel to be an abstract class.
...or did I miss something here?

thanks.

cheers,
Jonas

Reply via email to