On Tue, 01 Nov 2011 19:37:06 -0200, Tony Nelson <tnel...@starpoint.com> wrote:

    void setupRender() {
        try {
response.sendRedirect(linkSource.createPageRenderLinkWithContext(ViewUser.class, userId));
        } catch (IOException ioe) {
            // shrug?
        }

    }

Why don't you do the redirection the Tapestry way by returning a ViewUser instance on onActivate() instead of using Response.sendRedirect()?

The exception I get is:
java.lang.NullPointerException
        
org.apache.tapestry5.internal.services.assets.CompressionAnalyzerImpl.isCompressable(CompressionAnalyzerImpl.java:34)

This is an exception I once get in 5.1.0.5, but for a completely unrelated scenario.

--
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