Examples of VariablesHistory


Examples of org.openbravo.base.secureApp.VariablesHistory

      }
      /*
       * try { strHidden = request.getParameter("IsHiddenCall"); } catch (Exception ignored) {} try
       * { strPopUp = request.getParameter("IsPopUpCall"); } catch (Exception ignored) {}
       */
      VariablesHistory variables = new VariablesHistory(request);

      // redirects to the menu or the menu with the target
      String strTarget = request.getRequestURL().toString();
      if (!strTarget.endsWith("/security/Menu.html")) {
        variables.setSessionValue("targetmenu", strTarget);
      }

      // redirects
      String strDireccionLocal = HttpBaseUtils.getLocalAddress(request);
      variables.setSessionValue("target", strDireccionLocal + "/security/Menu.html");
      if (strAjax != null && !strAjax.equals(""))
        bdErrorAjax(response, "Error", "", Utility.messageBD(this.conn, "NotLogged", variables
            .getLanguage()));
      else
        response.sendRedirect(strDireccionLocal + strServletSinIdentificar);
      return null;
    } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.