Dzenan, your old version must be:
<html xmlns:wicket>
<wicket:panel>
<ul>
<span wicket:id = "categoriesNestedListView">
<li wicket:id = "category">
<span wicket:id = "namePath">
Name path
</span>
<ul wicket:id = "categoryUrls">
<li>
<a wicket:id = "link">
External link
</a>
</li>
</ul>
</li>
<span wicket:id = "categorySubcategories"/>
</span>
</ul>
</wicket:panel>
</html>
Could you give us the change(s) you made?
Eelco
Johan Compagner wrote:
no this doesn't have anything to do with the those serial id's
This exception doesn't say that you don't have in in the markup
it does say that you do have it in the markup but you don't have it in
the java components.
So a markup container or a page don't have that 'link' as a child.
johan
Dzenan Ridjanovic wrote:
Hi,
I have a class called CategoriesNestedList.
After a small change to display the beginning of a url description (i
HAVE NOT TOUCHED THE LINK ID),
displaying the categories nested list produces an error:
wicket.markup.MarkupException: Unable to find component with id
'link' in
[MarkupContainer [Component id = 0, page =
org.wicket.urls.app.view.category.CategoriesNestedListPage, path =
8:categoriesNestedList:categoriesNestedListView:0:category:categoryUrls:0.ListItem,
isVisible = true, isVersioned = true]]
[markup =
file:/C:/software/tomcat/webapps/urls12/WEB-INF/classes/org/wicket/urls/app/view/category/CategoriesNestedList.html,
index = 13, current = '<a wicket:id = "link">' (line 11, column 13)]
at
wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:277)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:908)
at
wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:679)
at
wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:608)
at wicket.Component.renderComponent(Component.java:1788)
...
However, the link id is in the markup (I have not changed the html
file). I am using Tomcat.
I have restarted the application and Tomcat, but I still get the same
error.
Is this related to those serialization ids that yoyu have been
mentioning?
Dzenan
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user