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
> myPanel.getRenderBodyOnly(true);
>
> Hope this helps,
> Sebastien.
>
>
> On Sun, Sep 23, 2012 at 4:17 PM, Oscar Besga Arcauz <obe...@isdefe.es>wrote:
>
>>  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 goes wicket panel stuff and
>> enclosing  wicket tag is not present on result page--></wicket>
>>
>> I've tried with wicket:panel, wicket:container, wicket:enclosure with no
>> luck...
>>
>> I'm wrong or there's a way.. ?
>>
>> Thanks !!
>>
>>     > > > Oscar Besga Arcauz  < < <
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

Reply via email to