Package org.osforce.spring4me.web.widget.config

Examples of org.osforce.spring4me.web.widget.config.ConfigFactory


  }

  public String getUrl(String beanName, HttpServletRequest request) throws Exception {
    if(StringUtils.startsWith(beanName, PREFIX_PAGE)) {
      String viewName = getViewName(beanName, request);
      ConfigFactory configFactory = getConfigFactory();
      //
      String theme = (String) request.getAttribute("theme");
      Locale locale = RequestContextUtils.getLocale(request);
      PageConfig pageConfig = configFactory.getPageConfig(viewName, locale);
      request.setAttribute(PageConfig.KEY, pageConfig);
      //
      Boolean popup = request.getAttribute("popup")!=null;
      return getLayout(theme, popup);
    }
View Full Code Here

TOP

Related Classes of org.osforce.spring4me.web.widget.config.ConfigFactory

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.