Hi, All
I found out the solution:
Wicket is very strict with the hierarchy. If I define the markup this way:
<ul wicket:id = "menu">
<li> </li>
</ul>
then I have to create components that way:
BookmarkablePageLink link=new BookmarkablePageLink("link", clas,
new PageParameters("id=" + element.getId()));
link.add(new Label("label", element.getLabel()));
item.add(link);
so the component hierarchy must match.
Thanks to everybody.
--
View this message in context:
http://www.nabble.com/%22Unable-to-find-component-with-id%22-tp19091781p19104593.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]