I have a CJuiDialog which loads a view with an Ajax call from a controller.
The controller passes the requested view with renderPartial if the request is an Ajax call. I do process the output since there is an CJuiAutoComplete in the view.
The problem is,
when processOutput() is false within renderPartial, CJuiDialog fetches the view and opens the dialog properly but without the AutoComplete working since all the scripts are stripped.
and when processOutput() is true (which should be to have a working CJuiAutoComplete) it fetches the view and required scripts but it doesn’t open the dialog.
Any idea what is wrong here?