This may help:

        
http://jumpstart.doublenegative.com.au/jumpstart/examples/infrastructure/handlingabadcontext/1

Geoff

On 16/01/2014, at 6:49 PM, Andrey wrote:

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


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

Reply via email to