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]

Reply via email to