On Mon, 08 Nov 2010 09:57:47 -0200, Juan E. Maya <[email protected]> wrote:

Hi Hugo,

Hi, Juan!

what u could do is to create the Link to the page u want to send
redirect and then use the response. It would be something like:
Link redirectTo =
pageRenderLinkSource.createPageRenderLinkWithContext(pageClass,
context);
response.sendRedirect(link);

The onActivate() return value is the way to go in Tapestry. Using Response.sendRedirect() should only be used in RequestFilters and Dispatchers.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to