Hello!

We are in need of redirect from render phase.
Reasons are: we cannot fetch all required data in onActivate method of
page, because onActivate is called for page even for component events
inside page.
So we load data in setupRender. But there can be problems like data not
found, service unavailable etc.

To solve this we've made our own RedirectException, and exception handler
that catches it and performs redirect.

The last problem we have is spam in logs, that goes from RenderQueueImpl
class.

Is there any correct way in tapestry to redirect during render?

With best regards, Andrey.

Reply via email to