Transfer Data From One Window To Main Page Form

Hi guys,

I’m still in the process of learning yii… And i have fair knowledge about AJAX calls and some built-in yii dialog tools.

What i want to this is this:

I have a form that needs filling up, and on one of the text boxes, it is ‘disabled’.

What I want to happen is when someone double clicks on the disabled text box, it brings up a separate window which shows a view from a different model. In the pop up window, individuals will be able to search for a ‘particular’ row, which then can be passed to the main page’s form’s textbox through a button click.

I’m using Yii’s built-in crud generator. I’ve been trying… but can’t seem to find resources for help.

I’ll provide screenshots of a php-based solution