I'm an SF2 noob so bear with me please.  I asked this on the users list but 
didn't get anything useful other than "see the code".  I managed to get back 
to it today and am looking for some guidance.

I'm trying to find a way to disable the WDT on specific pages, not 
sitewide.  There was a way to do this in SF1.4 but after reading through 
WebDebugToolbarListener::onCoreResonse(), I don't think similar 
functionality exists yet.  Please let me know if I'm wrong.

I'm looking for the "right" way to indicate in a action that I don't want 
the injectToolbar() method to be called.  All the logic in onCoreResonse() 
is based on the request and response objects.  Should I be looking to add a 
flag to the response object?  Is there an equivalent to the 
sfConfig::set('sf_web_debug', false) call that was in SF1.4?  

In case you're wondering why, I'm building a site that uses the normally 
generated pages for most of the site but a few pages are using Sencha's 
ExtJS framework for the whole page.  The additions the WDT makes screw up 
the ExtJS viewport layout so I want to disable the WDT on only those pages.

Thanks in advance for any guidance,

Paul

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to