Package org.vosao.entity

Examples of org.vosao.entity.ConfigEntity


  public VelocityContext createContext(final String languageCode,
      PageEntity page) {
    LanguageEntity language = getDao().getLanguageDao().getByCode(
        languageCode);
    VelocityContext context = new VelocityContext();
    ConfigEntity configEntity = getBusiness().getConfigBusiness().getConfig();
    addVelocityTools(context);
    context.put("language", language);
    context.put("locale", new Locale(language.getCode()));
    context.put("config", configEntity);
    context.put("service", getVelocityService());
View Full Code Here

TOP

Related Classes of org.vosao.entity.ConfigEntity

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.