Hi,

I have a "situation" with multiple instances of the same component on a page.

The component uses @ExceptionHandler annotation for centralised exception 
handling, and when a exception happens in this situation I get "Cannot call 
sendRedirect() after the response has been committed".

I figured out this should be handled by activating pre-execution somehow and 
when I do it by passing it through the query string @ExceptionHandler is still 
not working, handling exception locally and returning a redirect works tho, I 
suppose this is a bug and should be corrected.

But anyway, this is not a good way of activating pre-execution anyway since I 
can't know the UUID's of component instances for every page that will have 
multiple instances of same components in it, so my question is; 

Is there maybe some other mechanism to activate pre-execution other then 
request parameters?  Annotation or anything else would be very welcome.

Or am I doing something completely wrong and there is some other elegant way to 
handle this situation ?

Thnx in advance!

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=2115ccff-2815-486f-a4a1-c815fca93f7d


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to