Heh, well, not with my implementation.

I'm setting layout based on permissions (so if you have "admin" permissions
you have an "admin" layout).

AJAX request processing comes after ACL checking, so I need a way to set the
layout to FALSE if the request is an AJAX request. 

-----Original Message-----
From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Ian P. Christian
Sent: 10 January 2008 14:18
To: symfony-users@googlegroups.com
Subject: [symfony-users] Re: any way to access getisXmlHttpRequest
preExecute?


Lee Bolding wrote:
> I've got a custom class that extends sfActions, and in it's preExecute
> method I want to disable layout for any AJAX requests.

This is done automagically for you in symfony anyway.

-- 

Ian P. Christian ~ http://pookey.co.uk




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