On Wed, 29 Jul 2015 08:23:53 -0300, Poggenpohl, Daniel
<[email protected]> wrote:
Hello,
Hi!
response and pageRenderLinkSource are both injected in the component.
response.sendRedirect(pageRenderLinkSource.createPageRenderLink(getPageForRole()));
Never use response.sendRedirect() in a page, component or mixin. Just
return the URL you want to redirect to in your event handler event:
java.net.URL or page instance injected using @InjectPage or a logical page
name as a String. This works in pages, components and mixins. More
information on https://tapestry.apache.org/page-navigation.html.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]