protected function prepareExecute()
{
parent::prepareExecute();
$catId = $this->input->get('category');
$this->view['category'] = (new CategoryMapper())->findOne($catId);
$this->view['post'] = new Data($this->getUserState($this->getContext('edit.data')));
}