thx for the answers. how can i set the context path in tapestry? by the way
it seems that my app is normally running ( i did not set anything despite
the new contxt root/production)


2013/11/15 Thiago H de Paula Figueiredo <thiag...@gmail.com>

> 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