Re: Avoid panel's extra div

2012-10-02 Thread Alexander Morozov
Also take a look at tag https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html . Oscar Besga Arcauz wrote Hi wickersI am using a lot of panels in my wicket webapp, with the usual    add(new MyPanel(myPanel));    But I was thinking if there is a wicket tag that can avoid using the extra

Avoid panel's extra div

2012-09-23 Thread Oscar Besga Arcauz
Hi wickers I am using a lot of panels in my wicket webapp, with the usual     add(new MyPanel(myPanel));     div wicket:id=myPanel!-- here goes wicket panel stuff--/div But I was thinking if there is a wicket tag that can avoid using the extra panel, like     wicket:panel id=myPanel!-- here

Re: Avoid panel's extra div

2012-09-23 Thread Sebastien
Hi Oscar, If I understand, the problem is that the div of the parent page is rendered, right? If so, you can decide to not render the parent component's tag by using myPanel.getRenderBodyOnly(true); Hope this helps, Sebastien. On Sun, Sep 23, 2012 at 4:17 PM, Oscar Besga Arcauz

Re: Avoid panel's extra div

2012-09-23 Thread Sebastien
oops: setRenderBodyOnly(true); On Sun, Sep 23, 2012 at 4:53 PM, Sebastien seb...@gmail.com wrote: Hi Oscar, If I understand, the problem is that the div of the parent page is rendered, right? If so, you can decide to not render the parent component's tag by using

Re: Avoid panel's extra div

2012-09-23 Thread Oscar Besga Arcauz
Perfect !!! Thanks !!! Oscar Besga Arcauz -Sebastien seb...@gmail.com escribió: - Para: users@wicket.apache.org De: Sebastien seb...@gmail.com Fecha: 23/09/2012 16:55 Asunto: Re: Avoid panel's extra div oops: setRenderBodyOnly(true); On Sun, Sep 23, 2012 at 4:53 PM