How To Pass Variable In The Popup Link On Cbuttoncolumn

How to pass variable in the popup link on CButtonColumn

array(

	'class'=>'CButtonColumn',


	'header' => 'View',	


	'template'=>'{Details}',


	'buttons'=>array(


	'Details' => array(


	'label'=>'Details',


  'click'=>//onclick I need one popup window here with the link and value("/CRM/default/activityListDetails", array("activity_id"=>$data[\'activity_id\'],"client_id"=>$data[\'client_id\'] ))}',	


	),


	),


	),

Hi

what is the solution for it…

Look at this tutorial :

http://www.yiiframework.com/wiki/145/cjuidialog-for-create-new-model/

Here is for create new model but you can apply it for any other function like edit, view etc…