protected function validateEditPage()
    {
        $this->setSubmitted('page', null, false);
        $this->setSubmitted('form', true);
        $this->setSubmitted('update', $this->data_page);
        $this->setSubmittedBool('status');
        $this->setSubmittedBool('blog_post');

        if (empty($this->data_page['page_id'])) {
            $this->setSubmitted('user_id', $this->uid);
        }

        $this->validateComponent('page');

        return !$this->hasErrors();
    }