You have to create other templates file :

err404Success.php
err404Success.xml.php
err404Success.json.php

After that, it's a matter of sf_format, in your routes.

2009/10/29 Tomasz Ignatiuk <[email protected]>

>
> Hi
>
> I have set error_404_module for my app.
> I also added web services in a module called API. And I would like to
> change error_404_module for this module, in order to prepeare an error
> page as a formatted XML page. Does anyone know how to make it?
>
> Tom
> >
>


-- 
Alexandre Salomé -- [email protected]

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