Hi, I found a weird scenario:
$this->renderPartial('/theview',array( 'model'=>$model, ),false,true);
...<script src="/js/jquery.myplugin.js" type="text/javscript" />...
Enter Amazon Web Services (AWS). I have a CDN under the same domain of the farm’s load balancer.(ELB in Amazon parlance) Let’s say:
CDN = assets.sheeps.com
ELB = www.sheeps.com
Where assets.sheeps.com holds the published-to-S3 (S3=AWS storage) assets and www.sheeps.com is the frontend for the PHP boxes doing the Yii processing. Well, the action is launched at www.sheeps.com, and renders the view including the correct reference:
...<script src="http://assets.sheeps.com/abc1234/jquery.myplugin.js" type="text/javscript" />...
But here jquery.myplugin.js is not even loaded.
Note: the same code but loaded as a normal page rendered with render() (not within an AJAX rendered dialog), works fine, locally, in our local farm and in AWS.