Examples of WebConfig


Examples of com.liferay.faces.util.config.WebConfig

    MultiPartConfig facesServletMultiPartConfig = null;

    String appConfigAttrName = ApplicationConfig.class.getName();
    Map<String, Object> applicationMap = externalContext.getApplicationMap();
    ApplicationConfig applicationConfig = (ApplicationConfig) applicationMap.get(appConfigAttrName);
    WebConfig webConfig = applicationConfig.getWebConfig();
    List<ConfiguredServlet> configuredServlets = webConfig.getConfiguredServlets();

    for (ConfiguredServlet configuredServlet : configuredServlets) {

      if (FACES_SERVLET_FQCN.equals(configuredServlet.getServletClass())) {
        facesServletMultiPartConfig = configuredServlet.getMultiPartConfig();
View Full Code Here

Examples of org.projectforge.web.WebConfig

   * @return Default page of ProjectForge. Currently {@link WicketApplication#DEFAULT_PAGE} is the default page (e. g. to redirect after
   *         cancel if no other return page is specified).
   */
  public static Class< ? extends WebPage> getDefaultPage()
  {
    final WebConfig webConfig = ConfigXml.getInstance().getWebConfig();
    return webConfig != null ? webConfig.getDefaultPage() : WicketApplication.DEFAULT_PAGE;
  }
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.