Echo Widget In Template Of Cdetailview

This is my CDetailView and it has a lot of code in template


<?php $this->widget('zii.widgets.CDetailView', array(

	'data'=>array($model,$slika),

	'attributes'=>array(

		//'ID',

		//'IDkorisnik',

		array

		(

			

			'template'=>'alot of code',

		),


	),

)); ?>

How to implement this widget within that "template". Since that widget is an object, I cannot echo it.


<?php

$this->widget('application.extensions.gmap.GMap', array(

	'id' => 'gmap',//id of the <div> container created

	'label'=>$model->country.", ".$model->city,

	'key'=>'ABQIAAAAnfs7bKE82qgb3Zc2YyS-oBT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSySz_REpPq-4WZA27OwgbtyR3VcA',

	'address' => array

	(

		'address' => '',//address of the place

		'city' => $model->city, //city

		'country' => $model->country,

	)

));


?>

You can set the third parameter of widget method, see this reference: http://www.yiiframework.com/doc/api/1.1/CBaseController#widget-detail

thank you (Y)