Hi!

 I was moving my tapestry application on another server from domain to
domain/production, and now, my custom made sitemap viewer does not
generate appropriate urls anymore. (the normal tapestry page links are
working well - so the application in general is working well)

 but not my custom sitemapViewer page. The links which are generated
with writer.element("a", "href", "/" + item.getPage()); only generate
domain/url but not domain/production/url

 for sure, i could write now just "production" as prefix, but i have
also a test instance on tomcat on domain/test

 so maybe, the easiest approach would be to get the absolut url of
tapestry but the only thing i got so far was getting the url of
tapestry via request.getServerName but this also only is giving me the
servername (domain) but not domain/production/

 writer.element("td");

 writer.element("span", "style", "white-space:nowrap;");

 writer.write(prefix);

 writer.element("a", "href", "/" + item.getPage());

 writer.write( messages.get(item.getPage()) );

 writer.end();

 writer.end();


 thx
 alex

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to