Yeah, Panel always has id, so what you do is:

add( new PanelA("id1", new Model1() );
add( new PanelA("id2",  new Model2() );
add( new PanelA("id3",  new Model3() );

All Panels would have their own namespace within themselves.

**
Martin

2010/11/5 James Carman <ja...@carmanconsulting.com>:
> On Fri, Nov 5, 2010 at 8:36 AM, Leszek Gawron <lgaw...@apache.org> wrote:
>>
>> add( new PanelA( new Model1() );
>> add( new PanelA( new Model2() );
>> add( new PanelA( new Model3() );
>>
>> to the same page ?
>>
>
> Different ids?
>
> ---------------------------------------------------------------------
> 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

Reply via email to