On Sat, Oct 11, 2008 at 10:46 AM, kiszl <[EMAIL PROTECTED]> wrote:

> Is there a way to set the sf_format variable in the get_partial
> helper ?
> I'd like to send an xml response (with sf_format = 'xml'), but in this
> xml response I'm unable to include my html partials, as symfony
> automatically tries to get their xml versions as well (which of course
> does not exist).

You'll find a quick'n dirty modified get_partial() helper which allows
what you describe here: http://pastebin.com/m4e4800d3

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
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