> instead of > item.add(new link("categoryLink"){}); > item.add(new label("categoryname")) > do > Link link=new linke("categoryLink"); > item.add(link); > link.add(new label("categoryname"));
Ok, so Link is a kind of composite component that can have subcomponents - like the label. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user