AJAX + ClientScript

I’ve seen several posts where developers struggle loading Javascript based elements via AJAX calls.



And some solutions have been proposed for example, this patch…


Still, no clear resolution seems to have been incorporated into the Framework.

So I’m left with three or four possible fixes to a problem that ideally should be fixed in the framework or am I mistaken and this problem is easily resolved?

It seems to me, Yii should support loading a _form.php in a cjuidialog and also support any of the forms Javascript based elements like AutoSuggest etc.