done in 1.5.x, in 1.4.x we will leave it as is in case people are
using it as a placeholder in unit tests (as was the case in a couple
of ours)

nice catch, thanks.

-igor

On Fri, Oct 16, 2009 at 2:23 AM, Jonas <[email protected]> wrote:
> 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