if (pd.getResourceBundle() == null) bundle = new InlinePortletResourceBundle(l.getTitle(), l.getShortTitle(), l.getKeywords()); if (loadedBundle != null) bundle = new InlinePortletResourceBundle(l.getTitle(), l.getShortTitle(), l.getKeywords(), loadedBundle); bundle = new InlinePortletResourceBundle(l.getTitle(), l.getShortTitle(), l.getKeywords());
l.setTitle(fallback.getTitle()); l.setShortTitle(fallback.getShortTitle()); l.setKeywords(fallback.getKeywords());
title = requestContext.getPreferedLanguage(portletDef).getTitle();
protected PortletContent createPortletContent(RequestContext request, PortletWindow portletWindow, int expirationCache) { ContentCacheKey cacheKey = portletContentCache.createCacheKey(request, portletWindow.getFragment().getId()); String title = portletWindow.getFragment().getTitle(); if (title == null) { title = request.getPreferedLanguage(portletWindow.getPortletDefinition()).getTitle(); } if (title == null) { title = portletWindow.getPortletDefinition().getPortletName(); } return new PortletContentImpl(cacheKey, expirationCache, title, portletWindow.getPortletMode(), portletWindow.getWindowState()); }
fieldMap.put(ParsedObject.FIELDNAME_TITLE, lang.getTitle()); fieldMap.put(ParsedObject.FIELDNAME_TITLE, lang.getShortTitle()); for (String keyword : lang.getKeywordList())
copyLanguage.setTitle(language.getTitle()); copyLanguage.setShortTitle(language.getShortTitle()); copyLanguage.setKeywords(language.getKeywords());