This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wicket -- site map

 
Erik Ostermueller
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you briefly describe the effort it would take to write a program that would build a simple site map of a Wicket Application?

The map would include a list of all the pages. For each page, provide a list of all pages you can navigate to.

Thanks,

--Erik Ostermueller
 
Eelco Hillenius
author
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Erik Ostermueller:
Could you briefly describe the effort it would take to write a program that would build a simple site map of a Wicket Application?

The map would include a list of all the pages. For each page, provide a list of all pages you can navigate to.

Thanks,

--Erik Ostermueller


There is no native construct in Wicket for site maps. It depends on how you want to expose which pages. It's quite trivial to build really. Just keep an index of the pages you have and optionally which paths are allowed a make a component that translates that into links.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic