Re: Getting a page URL ..

2014-04-10 Thread Kalle Korhonen
On Thu, Apr 10, 2014 at 5:45 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 10 Apr 2014 20:30:42 -0300, Sanket Sharma > wrote: > > > Also, what would be the best way to replace localhost/hostname for >> outgoing links? Since the application will be running behind a >> fi

Re: Getting a page URL ..

2014-04-10 Thread Thiago H de Paula Figueiredo
On Thu, 10 Apr 2014 20:30:42 -0300, Sanket Sharma wrote: Hi, Hi! Is there a way to get the URL of a page with request parameters in REST format? Tapestry format, with page activation context, which you don't seem to know yet, is REST format already. Please read http://tapestry.apach

Re: Getting a page URL ..

2014-04-10 Thread George Christman
I think you can just add multiple context values to your page render link like so. @Inject private PageRenderLinkSource linkSource; Link link = linkSource.createPageRenderLinkWithContext(YourPage.class, context1, context2); String absoluteURI = link.toAbsoluteURI(); System.out.println("URL " +