> Hello,
>
> could anybody explain this behavior? i set in my app controller
>
> if($this->RequestHandler->isAjax()) {
>                       $this->layout = 'ajax';
>                       $this->autoRender = false;
>                       Configure::write('debug', 0);
> }
>
> but notices and errors are even so sent. only when i set in core.php
> the debug level to 0, no notices etc. occures.

if requesthandler is working, you can do

 if($this->params['isAjax']==1) {
                        $this->layout = 'ajax';
                        $this->autoRender = false;
                        Configure::write('debug', 0);
 }






>
> greetings
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>
>


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to