Revision #5 has been created by François Gannaz on Sep 13, 2012, 3:05:16 PM with the memo:
Fixed my mistake about the default config Yii generates
« previous (#4)
Elementary introduction to using jQuery ajax and the yii framework
[...]The URL of the AJAX request is relative: "index.php?r=app/ajaxProcessor". It makes 2 assumptions:
* The page that initiates the call has an URL ending with "index.php" or its directory.
* Yii reads the route (controller and action) through the GET parameter "r".
With a recent version of Yii, both assumptions
with the default configuration.
### The solutions