Feature Requests item #1259375, was opened at 2005-08-15 01:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1259375&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: 1.1 Status: Open Priority: 5 Submitted By: Eelco Hillenius (eelco12) Assigned to: Nobody/Anonymous (nobody) Summary: make our error messages friendlier Initial Comment: >From the mailing list: 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? ----------------------- one reply: ---------------------------------------- I've shown wicket to a few folks and they're all confused by this. I think people could get up to speed far faster if the error message included comments to the effect: ''This means that you declared wicket:id="foo" in your markup but never bound "foo" to a model in your code.'' or ''This means that you bound "foo" to a model in your code, but the markup never declares wicket:id="foo".'' It's kind of simple and dumb, but I love systems that include friendly error messages that follow the formal, detailed ones. ------------------------------------------------------- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1259375&group_id=119783 ------------------------------------------------------- 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-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop