> I would like to build my own breadcrumb type of navigation widget and I'm > looking for some direction as to what I might use to "discover" what page is > currently being served
RequestCycle#getResponsePage does a best effort guess for getting the 'current' page. You can only use that method after resolving of the request target (where we determine what kind of request it is). > and how I might detect a history of pages leading up > to the current one the user is viewing? Would I tap into the > page-versioning thing that Wicket does for maintaining the session? That would be possible, but probably not the easiest thing. Do you really want to track all the versions, or would just the plain page requests suffice. In case of the latter, you could work with a base page, and let the constructor register itself for tracking is the session. It might also give you a bit more control of when you actually want to include a page as a bread crumb, and when it is merely an intermediate page. > I'm aware that there is a breadcrumb control out there already but I need > something a little more simplistic that won't require me creating a bunch of > panels. Yeah, the one in extensions works best if you use a lot of component replacements. If you work more page based you might want something else. Please do share if you found a solution you like. Eelco ------------------------------------------------------------------------- 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