Yes :) I am aware of it :) I thought he wanted to do it outside a page
:) Thanks! :)

On Mon, Nov 8, 2010 at 1:32 PM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Mon, 08 Nov 2010 09:57:47 -0200, Juan E. Maya <maya.j...@gmail.com>
> 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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to