Hey Hausa,

if you replace the entire html, why not do a regular reload?
The point of Ajax reloads is to load less than the whole page,
otherwise there's no benefit.

To answer your question though, have you tried $this -> setLayout
("layout"); in the ajax action?

Daniel



On Oct 5, 7:12 am, HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com>
wrote:
> If I make an AJAX call, Symfony doesn't take the whole templates/
> layout.php with it, only the indexSuccess.php.
> Is there a way to tell that also the layout has to be shown?
>
> I want a total AJAX refresh of the complete HTML.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to