Hi guys,

I have a scenario where we are using requestAction which hits a fatal
error internally. The following actions happen correct, and the system
displays a costom error page. However, the View contents still have
the contents from the view the RequestAction was called from.

How do we clear the View of its output, so that only the error page
content is sent to the browser?

Tried to get the View from the controller, and then set $View->output
= '' but this did nothing. I suspect becuase I was getting the
incorrect View object.

Does anyone have a suggestion on how to set the View output of the
View before the requestAction was called and set it to ''? Is it even
possible?

G
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to