public function showErrorMessage($errMsg)
    {
        if (!$errMsg) {
            return;
        }
        if ($this->isRpc) {
            $_GET['ob_err_msg'] = $errMsg;
            ob_end_clean();
            $form = "common.form.ErrorPopupForm";
            $html = Openbizx::getObject($form)->render();
            $html = $this->buildTargetContent("DIALOG", $html);
            $this->_formsOutput[] = $html;
        } else {
            $this->_errorOutput($errMsg);
        }
    }