My solution is to put a <link> tag on every page with a reference to the home
page URL. That way scripts can always build URLs based on the home page

For example:


  <link rel="home" wicket:id="home-link" />

add(new BookmarkablePageLink("home-link", getApplication().getHomePage()));

Then your JavaScript can do something like this (jQuery):

var projectPageUrl = $("link[rel='home']").attr("href") + "project/" +
View this message in context:
Sent from the Users forum mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to