Package com.liferay.util

Examples of com.liferay.util.ObjectValuePair


              String[] p_and_v =parameters[j].split("=");
              parameterMap.put(p_and_v[0], new String[] {p_and_v[1]});
              j++;
            }
           
            ObjectValuePair obj=  new ObjectValuePair("/portal/layout", new LinkedHashMap(parameterMap));
            request.getSession().setAttribute(WebKeys.LAST_PATH, obj);
         
     

View Full Code Here


          parameterMap = req.getParameterMap();
        }

        ses.setAttribute(
          WebKeys.LAST_PATH,
          new ObjectValuePair(
            path, new LinkedHashMap(parameterMap)));
      }
    }

    // Auto login
View Full Code Here

    if (!forwardByLastPath) {
      return defaultPathSB;
    }

    ObjectValuePair ovp =
      (ObjectValuePair)ses.getAttribute(WebKeys.LAST_PATH);

    if (ovp == null) {
      return defaultPathSB;
    }

    String lastPath = (String)ovp.getKey();

    if (userId != null) {
      lastPath = StringUtil.replace(
        lastPath, _PATH_PORTAL_PUBLIC_LAYOUT, _PATH_PORTAL_LAYOUT);
    }

    Map parameterMap = (Map)ovp.getValue();

    ActionMapping mapping =
      (ActionMapping)moduleConfig.findActionConfig(lastPath);

    if (parameterMap == null) {
View Full Code Here

TOP

Related Classes of com.liferay.util.ObjectValuePair

Copyright © 2018 www.massapicom. 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.