public function actionView($tag = null, $panel = null)
{
if ($tag === null) {
$tags = array_keys($this->getManifest());
$tag = reset($tags);
$this->redirect(array('view', 'tag' => $tag, 'panel' => $panel));
}
$this->loadData($tag);
if (isset($this->component->panels[$panel])) {
$activePanel = $this->getOwner()->panels[$panel];
} else {
$activePanel = $this->getOwner()->panels['request'];
}
$this->render('view', array('tag' => $tag, 'summary' => $this->summary, 'manifest' => $this->getManifest(), 'panels' => $this->getOwner()->panels, 'activePanel' => $activePanel));
}