Hi Johannes, If you can hard code the links in your markup, it might be worth to try autolinking.
Tom Johannes Schneider wrote: > Hi, > > I am new to Wicket and I really like the things I have seen so far. But > I also have a few questions. > At the moment I create a small page. Therefore I have created a > NavigationComponent (extends Panel) with its own markup file and some > other resources (css, images). > > Can anybody describe me the best way to add Links (most of them are > BookmarkableLinks) and the corresponding Labels to this component? > At the moment I create a List of Links. Each of those links has a Label > added. Those links are then provided to a DataView and given to the > NavigationComponent. > I don't like this because I have to create the components manually > (Links and Labels) with the "correct" ids. What approach would a wicket > expert take? > > Later I might reuse the NavigationComponent within another application. > But therefore I would like to modify/replace the CSS and replace some > images. What is the Wicket way to achive this? > > > Thanks in advance, > > > Johannes Schneider ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user