Then your JavaScript can do something like this (jQuery):
var projectPageUrl = $("link[rel='home']").attr("href") + "project/" +
projectId;
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Calculating-wicket-page-URL-in-JavaScript-tp3262
Hello,
I have a common.js file which has a JavaScript function
getProjectPageUrl(projectId) which should return the URL to the Wicket
ProjectPage object which displays properties of the project with the
specified projectId. I am not sure if this is relevant, but ProjectPage is
mounted in my Wicket