Package com.agiletec.aps.system.services.i18n

Examples of com.agiletec.aps.system.services.i18n.II18nManager


    RequestContext reqCtx = (RequestContext) request.getAttribute(RequestContext.REQCTX);
    try {
      if (null != this.getTitle() && this.getTitle().trim().length() > 0) {
        reqCtx.addExtraParam(SystemConstants.EXTRAPAR_EXTRA_PAGE_TITLES, this.getTitle());
      } else if (null != this.getLabelKey() && this.getLabelKey().trim().length() > 0) {
        II18nManager i18nManager = (II18nManager) ApsWebApplicationUtils.getBean(SystemConstants.I18N_MANAGER, this.pageContext);
        ApsProperties titles = i18nManager.getLabelGroups().get(this.getLabelKey());
        if (null != titles) {
          reqCtx.addExtraParam(SystemConstants.EXTRAPAR_EXTRA_PAGE_TITLES, titles);
        } else {
          reqCtx.addExtraParam(SystemConstants.EXTRAPAR_EXTRA_PAGE_TITLES, this.getLabelKey());
        }
View Full Code Here

TOP

Related Classes of com.agiletec.aps.system.services.i18n.II18nManager

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.