Hi,

Can I create page render link or component event link using public
interfaces?

Currently my code uses the internal LinkFactory which was changed to
LinkSource? And at one instance it was using PageRenderRequestParameters as
input but now again something else...

I do redirects in a very low level sometimes, so I cannot rely on T5 to
transform my String page name etc to correct url, so I do 

PageRenderRequestParameters prrp = new PageRenderRequestParameters(pageName,
new EmptyEventContext());

pageLink = linkFactory.createPageRenderLink(prrp);
response.sendRedirect(pageLink.toRedirectURI());

Is there a better way to do this?

Thanks in advance!
-- 
View this message in context: 
http://www.nabble.com/How-to-make-link-correctly-tp22450579p22450579.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to