you can subclass tabbedpanel and override the default markup it uses
by providing your own .html file. the only thing to watch out is that
the nesting of wicket:ids matches between the two html files.

-igor


On Jan 6, 2008 2:54 PM, Fernando Wermus <[EMAIL PROTECTED]> wrote:
> Dears all,
>            I have use the tabbed panel for a menu and a sub menu fine. I
> have a new need for the sub tabbedPanel menu. This subpanel is a sidebar and
> it is rendering in the nested wicket div, but I need to be rendered in
> another tag, the content div tag, which is not nested in the tabbed panel. I
> show you the tags,
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wicket:panel>
>     <div wicket:id="mensajes" id="sidebar">
>         *[I want the sub-tabbedpanel be added here, but the sub-pannel when
> is clicked should be added in the div id="content".
>  This is a sub-tabbedPanel sidebar] *
>         <div id="sidebar-bottom">&nbsp;</div>
>     </div>
>     <div id="content">
>         <div id="main">
>             <div class="node">
>                 <p>
>                     *[The panel should be added here. The content goes
> here.]*
>                 </p>
>             </div>
>         </div>
>     </div>
> </wicket:panel>
>
> The tabs and the panel are not nested. They have a parent in common.
>
> I wanna know if I can solve this with tabbedPanel or another widget, or I
> would need to build my own widget.
>
> ps: I almost shure this cannot be solve using css.
>
> Thanks in advance!
>
> --
> Fernando Wermus.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to