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
> panel, like    

> 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-unsubscribe@.apache

> For additional commands, e-mail: 

> users-help@.apache





-
--
http://www.linkedin.com/in/amorozov
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Avoid-panel-s-extra-div-tp4652274p4652591.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Avoid panel's extra div

2012-09-23 Thread Oscar Besga Arcauz
 Perfect !!!

Thanks !!!

> > > Oscar Besga Arcauz  < < < 

-Sebastien  escribió: -
Para: users@wicket.apache.org
De: Sebastien 
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, Sebastien  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 wrote:
>
>>  Hi wickers
>>
>> I 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 panel, like
>>
>>     
>>
>> 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
>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Avoid panel's extra div

2012-09-23 Thread Sebastien
oops: setRenderBodyOnly(true);

On Sun, Sep 23, 2012 at 4:53 PM, Sebastien  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 wrote:
>
>>  Hi wickers
>>
>> I 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 panel, like
>>
>> 
>>
>> 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
>>
>>
>


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 wrote:

>  Hi wickers
>
> I 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
> panel, like
>
> 
>
> 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
>
>


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"));

    

But I was thinking if there is a wicket tag that can avoid using the extra 
panel, like

    

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