Package org.broadleafcommerce.common.site.domain

Examples of org.broadleafcommerce.common.site.domain.Theme


    @Override
    protected String computeResourceName(final TemplateProcessingParameters templateProcessingParameters) {
        String themePath = null;
   
        Theme theme = BroadleafRequestContext.getBroadleafRequestContext().getTheme();
        if (theme != null && theme.getPath() != null) {
            themePath = theme.getPath();
        }            

        checkInitialized();

        final String templateName = templateProcessingParameters.getTemplateName();
View Full Code Here


        brc.setLocale(locale);
        brc.setBroadleafCurrency(currency);
        brc.setSandBox(currentSandbox);

        // Note that this must happen after the request context is set up as resolving a theme is dependent on site
        Theme theme = themeResolver.resolveTheme(request);
        brc.setTheme(theme);

        brc.setMessageSource(messageSource);
        brc.setTimeZone(timeZone);
        brc.setRequestDTO(requestDTO);
View Full Code Here

TOP

Related Classes of org.broadleafcommerce.common.site.domain.Theme

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.