public function redirectView($view, $rule = null)
    {
        // get the view url form view name
        $viewParts = explode('.', $view);
        $viewMod = $viewParts[0];
        $viewName = $viewParts[count($viewParts) - 1];
        $viewName = strtolower(str_replace("View", "", $viewName));
        $url = OPENBIZ_APP_INDEX_URL . "/$viewMod/$viewName";
        $this->redirectPage($url);
        $this->printOutput();
        //Openbizx::$app->getClientProxy()->printOutput();
    }