How To Display A Command Button To Display A Popup With Yiiwheels And Yiistrap?

I have tried some code in the tutorial. But when adding code to the url with the ID each rows, Its can not be succeed.

Its my code cgridview in action admin :


<?php $this->widget('yiiwheels.widgets.grid.WhGridView', array(

	'id' => 'curremdb-grid',

	'dataProvider' => $model->search(),

	'filter' => $model,

        'pagerCssClass'=>'pagination pagination-centered',

        'type'=>'striped condensed',

        //'type'=>'striped bordered condensed',

//        'itemsCssClass' => 'table-bordered items',

	'columns' => array(

                array(

                            'name' => 'CUR_CODE',

                            'htmlOptions'=>array('width'=>'50px'),

                    ),

		'CUR_NAME',

                array(

                            'header' => 'Tgl Berlaku',

                            'value'=>array($this,'gridTglBerlaku'),

                ),

                array(

                            'name' => 'CUR_RATE',

                            'htmlOptions'=>array('width'=>'75px'),

                    ),

                array(

                            'name' => 'CUR_PAJK',

                            'htmlOptions'=>array('width'=>'50px'),

                    ),

                'CUR_KMKN',

                array(

                            'header' => 'Tgl KMK',

                            'value'=>array($this,'gridTglKMK'),

                ),

		

                array(

                'header'=>'Aksi',

                'class'=>'bootstrap.widgets.TbButtonColumn',

                'template' => '{detil} | {view}{update}{delete}',  

                'deleteConfirmation' => 'Anda yakin mau menghapus data ini?',

                'viewButtonLabel' => 'Lihat',

                'updateButtonLabel' => 'Ubah',

                'deleteButtonLabel' => 'Hapus',

                    

                'buttons'=>array(

                    'detil'=>

                        array(

                            'url'=>'Yii::app()->createUrl("detilMataUang/admin", array("id"=>$data->ID))',

                            'icon'=>'icon-zoom-in',

                            'options'=>array(

                                'ajax'=>array(

                                    'type'=>'GET',

                                    'url'=>"js:$(this).attr('href')",

                                    'success'=>'function(data) { $("#viewModal .modal-body p").html(data); $("#viewModal").modal(); }'

                                    ),

                            ),

                        ),

                ),

                ),

	),

)); ?>

<?php $this->endWidget();?>

<?php 

    $modalcontent = $this->renderPartial('_a', array(), true);

    $this->beginWidget('bootstrap.widgets.TbModal', array('id'=>'viewModal', 'header' => '<h5>Detil Mata Uang</h5>', 

        'content' => $modalcontent,

        'htmlOptions' => array(

            //'id'=>'viewMessage',

            'style' => 'position:absolute;

                        top:50%;

                        left:50%;

                        width:400px;  /* adjust as per your needs */

                        height:400px;   /* adjust as per your needs */

                        margin-left:-200px;   /* negative half of width above */

                        margin-top:-200px;   /* negative half of height above */'

            ),

        'footer' => array(

        TbHtml::button('Close', array('data-dismiss' => 'modal')),

        ),)); ?>

<?php $this->endWidget(); ?>

if not with url, its succeed. How to file _a.php can get ID each rows???

solved