How To Set Dynamic Variable Value In Editablefield Using Yii Booster

HI Guys,

I am trying to pass a variable $time in thr URL parameter. The whole widget is inside a foreach lopp and $time is updated each time the lopp is executed. Now the problem I am facing is that the $time (which is passed in url parameter) is not updated.

$dataProvider = StaffHours::model()->findAll(); 

	$start = strtotime('12:00am');

	$end = strtotime('12:45am');

	for( $i = $start; $i <= $end; $i += 900) 


	    $time = date('g:i A', $i);

            foreach($dataProvider as $data)


                      $monday = unserialize($data->monday);


      	               'type' => 'select',

			'model' => $data,

			'attribute' => 'monday',

			'url' => $this->createUrl('staffhours/editstaffhour&Time='.$time ), //url for submit data

			'source' => array('Online', 'Offline', 'AwayDate'),

			'enabled' => true,

			'options' => array('params' => array('time'=>$time),)