protected function onComponentTagBody(ComponentTag $tag)
 {
     $this->getResponse()->write('<head>');
     parent::onComponentTagBody($tag);
     $page = $this->getPage();
     $headerResponse = new HeaderResponse($this->getResponse());
     PiconApplication::get()->getComponentRenderHeadListener()->onHeadRendering($this, $headerResponse);
     $page->renderHead($headerResponse);
     $self = $this;
     $callback = function (Component &$component) use($headerResponse, $self) {
         $component->renderHeadContainer($self, $headerResponse);
         return Component::VISITOR_CONTINUE_TRAVERSAL;
     };
     $page->visitChildren(Component::getIdentifier(), $callback);
     $this->getResponse()->write('</head>');
 }