Changeset 3413
- Timestamp:
- 02/06/07 14:04:35 (2 years ago)
- Files:
-
- doc/branches/1.0/book/11-Ajax-Integration.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.0/book/11-Ajax-Integration.txt
r3376 r3413 225 225 > 226 226 > [php] 227 > $isAjax = $this-> getIsXmlHttpRequest();227 > $isAjax = $this->isXmlHttpRequest(); 228 228 > 229 229 >Symfony knows that an action is in an Ajax context and can adapt the response processing accordingly. Therefore, by default, Ajax actions don't include the web debug toolbar in the development environment. Also, they skip the decoration process (their template is not included in a layout by default). If you want an Ajax view to be decorated, you need to specify explicitly `has_layout: true` for this view in the module `view.yml` file.