Hi,

back to my original question: Is this NPE a bug in T5.1 or is redirection not working at all?

M.

Am 01.06.2009 um 23:31 schrieb Thiago H. de Paula Figueiredo:

Em Mon, 01 Jun 2009 18:23:04 -0300, Moritz Gmelin <moritz.gme...@gmx.de > escreveu:

Thanks for this try,

Ooops, my mistake. You can return a Class or page instance only in onActivate().

Try

        public Class onActivate()
        {
                ....
                ....
                if (needsToRedirect) {
                        return Start.class;
                }
                else {
                        return null;
                }
        }

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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


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

Reply via email to