I have just tried to change the markup to:

<ul>    
    <wicket:container wicket:id = "menu"> <li>  </li></wicket:container>
  </ul>


but it has the same result.

And then I tried to remove that element from the markup:


<ul>    
    <wicket:container wicket:id = "menu"> <li> something
</li></wicket:container>
  </ul>


... and the framework missed it:


org.apache.wicket.WicketRuntimeException: The component(s) below failed to
render. A common problem is that you have added a component in code but
forgot to reference it in the markup (thus the component will never be
rendered).

1. [Component id = label, page = com.myapp.wicket.HomePage, path =
0:mainNavigation:menu:0:label.Label, isVisible = true, isVersioned = true]
2. [Component id = label, page = com.myapp.wicket.HomePage, path =
0:mainNavigation:menu:1:label.Label, isVisible = true, isVersioned = true]
3. [Component id = label, page = com.myapp.wicket.HomePage, path =
0:mainNavigation:menu:2:label.Label, isVisible = true, isVersioned = true]

at org.apache.wicket.Page.checkRendering(Page.java:1116)
at org.apache.wicket.Page.renderPage(Page.java:914)


any tips?
-- 
View this message in context: 
http://www.nabble.com/%22Unable-to-find-component-with-id%22-tp19091781p19103768.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to