Hello,

If i understand you right, you'd like to redefine the "error page: 500"
template. Yes, you can redefine these default "factory standard"
templates. If you begin reading the chapter 19 of symfony book
you will get rapid enlightenment i hope. :)

> I'm working on a Symfony project which has a rich-javascript front-
> end.  If there is an exception on the server side I'd like the server
> to respond with some JSON data to the effect of: { errors: [ { id:
> "Server Exception, msg: "Exception message" } ] }.  Does Symfony
> support a way to define an uncaught exception template that I can use
> to format this JSON from the uncaught exception?

Szabolcs Heilig

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to