public function getUrl($altUrl = false)
    {
        $url = $this->getUrlFromSubmitFields();
        // alt url or current page
        if (!$url && $altUrl)
            $url = $altUrl;
        return $url ? $url : Yii::app()->homeUrl;
    }