How To Retrieve A Value From Cautocomplete Textfield In Portlet And Access It In Controller

How to retrieve a value from Cautocomplete textfield in portlet and access it in controller,

I have a Portlet , and there i have used CAutocomplete widget to retieve the supplier list, now when the user selects a specific supplier from widget, then the id is retrieved in a texfield , my query is how to pass or access this id in controller or set this id in session

Below is my Cautocomplete code

<?php $form=$this->beginWidget(‘CActiveForm’, array(





<?php echo ‘Select Supplier’;



                     //name of the html field that will be generated


                     //replace controller/action with real ids


         'max'=&gt;10, //specifies the max number of items to display

                     //specifies the number of chars that must be entered 

                     //before autocomplete initiates a lookup


         'delay'=&gt;100, //number of milliseconds before lookup occurs

         'matchCase'=&gt;false, //match case when performing a lookup?

                     //any additional html attributes that go inside of 

                     //the input field can be defined here

         'htmlOptions'=&gt;array('size'=&gt;'20','select' =&gt; 'js:function(event, item){ &#036;(this).parents(&quot;form&quot;).submit(); }','tabindex'=&gt;'1'), 





          echo CHtml::textField('sup_id');


<?php $this->endWidget();