Usually you should use a <div>.
If you know that this component cannot have children with block HTML
elements then you can use <span> too.
Read about block vs inline HTML elements in the web.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Jun 3, 2015 at 3:55 PM, lucast <[email protected]> wrote:

> Hi Martin,
> Thank you for your reply.
>
> Yes, you're absolutely right.
>
> I use: *<wicket:container wicket:id="emptyPanel" />* and it is pretty much
> how I add panels in the HTML code.
>
> What should I use instead, div, span, anything else?
>
> Thank you very much for pointing this out. I have been racking my brain for
> almost 5 days in total!!!
>
> Kind regards,
> Lucas
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Panels-not-refreshing-when-calling-AjaxRequestTarget-add-only-in-production-mode-tp4671035p4671044.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to