It's probably because afaik you need to pass any variables you wish to use in a partial, into the partial when you include it.
So you need to do something along the lines of <?php include_partial('global/yourPartial',array('request'=> $request)) ?> Then you should be able to access the request from within the partial. On Jul 15, 6:31 am, Sumedh <sumedh.inam...@gmail.com> wrote: > Hi Friends, > > I am using Symfony 1.0 > > I am setting a request attribute in one partial that is included in > the layout.php. I am trying to access this request attribute in > another partial that is part of content. > > The partial which sets the value is included above the one that is > trying to read it. > > But the value is not available when it is read... > > What might be a possible reason? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---