Panel if you have separate markup, WebMarkupContainer if you want to
include the markup for the container in the parent markup.
Maurice
On Tue, Mar 25, 2008 at 10:40 PM, Ryan O'Hara <[EMAIL PROTECTED]> wrote:
> Thx! That fixed the problem I was experiencing. I want to replace
> the hoverMenu WebMarkupContainer with different classes extending
> panels (or should they now be extending WebMarkupContainers, as
> well?) when particular tabs are hovered. Thanks again for being so
> responsive.
>
> Ryan
>
>
>
> On Mar 25, 2008, at 5:33 PM, Timo Rantalaiho wrote:
>
> > On Tue, 25 Mar 2008, Ryan O'Hara wrote:
> >> WicketMessage: Markup of type 'html' for component
> >> 'org.apache.wicket.markup.html.panel.Panel' not found. Enable debug
> >> messages for org.apache.wicket.util.resource to get a list of all
> >> filenames tried:
> >> [MarkupContainer [Component id = hoverMenu, page =
> >> edu.chop.bic.cnv.ui.Login, path =
> >> 0:loginTabbedHeader:hoverMenu.Panel, isVisible = true, isVersioned =
> >> true]]
> > ...
> >> public TabbedHeader(String panelId){
> >> super(panelId);
> >> add(new Panel("hoverMenu"));
> >> Link link = new Link("loginLink") {
> >> public void onClick(){
> >> setResponsePage(Login.class);
> >> }
> >> };
> >> add(link);
> >> link.add(new Label("login", "Login"));
> >> }
> >
> > Put add(new WebMarkupContainer("hoverMenu")); instead of
> > Panel.
> >
> > ...or better yet remove the whole hoverMenu component if it
> > contains nothing? Or are you going to replace it with
> > something with content?
> >
> > Best wishes,
> > Timo
> >
> > --
> > Timo Rantalaiho
> > Reaktor Innovations Oy <URL: http://www.ri.fi/ >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ===========================
> Ryan O'Hara
> Programmer, Center for Biomedical Informatics
> The Children's Hospital of Philadelphia
> 3535 Market Street, Room 1406
> (215)590-3243
> ===========================
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]