/**
  * Signál pro výběr metaatributu
  * @param int $datasource
  * @param int $column
  */
 public function handleSelectMetaAttribute($datasource, $column)
 {
     $this->onComponentShow();
     $this->template->setFile(__DIR__ . '/selectMetaAttribute.latte');
     try {
         /** @noinspection PhpUndefinedFieldInspection */
         $this->template->datasourceColumn = $this->datasourcesFacade->findDatasourceColumn($datasource, $column);
         /** @noinspection PhpUndefinedFieldInspection */
         $this->template->metaAttributes = $this->metaAttributesFacade->findMetaAttributes();
     } catch (\Exception $e) {
         $this->flashMessage($this->translator->translate('Ooops, some error...'), 'error');
         $this->onComponentHide();
     }
 }