Hi, You can't do it.
But you can render a component in your action : public function executeAjax() { sfLoader::loadHelpers(array('Partial')); return $this->renderText(get_component('module', 'action', $params)); } Note: since sf 1.1, you can use the renderComponent() method On Thu, Jan 8, 2009 at 10:26 AM, Sumedh <sumedh.inam...@gmail.com> wrote: > > Hi Friends, > > I am using Symfony 1.0... > > I want to execute a component in an AJAX call... > > How can I refer to it in the routing.yml? If I refer to it just like I > do other actions, the rule doesn't get executed...it returns a 404... > > > -- Noël GUILBERT http://www.sensiolabs.com http://www.symfony-project.com Sensio Labs Tél: +33 1 40 99 80 80 --~--~---------~--~----~------------~-------~--~----~ 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 symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---