On Fri, 15 Nov 2013 17:39:32 -0200, Alexander Sommer <alexander.som...@gmail.com> wrote:

 Hi!

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

If the URLs you're generating are Tapestry pages, use PageRenderLinkSource and Link.toAbsoluteURL() and they'll take care of it for you. See also the BaseURLSource service for an alternative.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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

Reply via email to