Thanks for this try,
but
@BeginRender
public Class beginRender()
{
....
....
return Start.class;
}
gives another Exception
org.apache.tapestry5.internal.services.RenderQueueException: Render
queue error in BeginRender[ExceptionReport]:
The return value from a render phase event method was not compatible
the expected return type of java.lang.Boolean. You should change the
method to return the correct type.
I know that I can return Page classes from event handler methods. But
it does not seem to work from RenderPhaseMethods.
Any other ideas?
Thanks
Moritz
Am 01.06.2009 um 23:05 schrieb Thiago H. de Paula Figueiredo:
Em Mon, 01 Jun 2009 17:49:40 -0300, Moritz Gmelin <moritz.gme...@gmx.de
> escreveu:
Hi,
Hi!
You could just return Page1.class in beforeRender() or onActivate()
to redirect instead of injecting Response and return null to
continue processing the page without any redirection. This works in
any Tapestry version. This is documented at http://tapestry.apache.org/tapestry5.1/guide/pagenav.html
.
--
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