Hi
It seems that there is some kind of fromatting in place which is confused
because of my code fragments.
I've just read the help.
So, the mapping between components:
<ul wicket:id = "menu"> -- MenuView view = new MenuView("menu", menu);
add(view); // in HeaderPanel.java
-- item.add(new BookmarkablePageLink("link", clas, new PageParameters("id="
+ element.getId()))); // in MenuView.java
-- item.add(new Label("label", element.getLabel())); // in MenuView.java
HeaderPanel.html
<html xmlns:wicket>
<body>
<wicket:panel>
<h1>Wicket Example</h1>
<p id="titleblock">
Start of Example Title Goes Here
</p>
<ul wicket:id = "menu">
<li> </li>
</ul>
</wicket:panel>
</body>
</html>
HomePage.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<link wicket:id='stylesheet'/>
</head>
<body>
Hello
</body>
</html>
--
View this message in context:
http://www.nabble.com/%22Unable-to-find-component-with-id%22-tp19091781p19102855.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]