public function write(__IResponse &$response)
 {
     switch ($this->_position) {
         case self::POSITION_TOP:
             $response->dockContentOnTop($this->getContent(), $this->getId());
             break;
         case self::POSITION_BOTTOM:
             $response->dockContentAtBottom($this->getContent(), $this->getId());
             break;
         case self::POSITION_EMBEDDED:
             $response->placeContentAfterElement($this->getContent(), $this->getElementToPlaceContentAfter(), $this->getId());
             break;
         default:
             $response->addContent($this->getContent(), $this->getId());
             break;
     }
 }
 public function write(__IResponse &$response)
 {
     $response->dockContentOnTop($this->getContent(), $this->getId());
 }