META-INF.resources.article_title.jsp Maven / Gradle / Ivy
<%--
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
--%>
<%@ include file="/init.jsp" %>
<%
ResultRow row = (ResultRow)request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);
JournalArticle article = (JournalArticle)row.getObject();
%>
<%= HtmlUtil.escape(article.getTitle(locale)) %>
<%
Group group = GroupLocalServiceUtil.getGroup(article.getGroupId());
%>
-
:
-
<%
String groupDescriptiveName = null;
if (group.isLayout()) {
Group parentGroup = group.getParentGroup();
groupDescriptiveName = parentGroup.getDescriptiveName(locale);
}
else {
groupDescriptiveName = group.getDescriptiveName(locale);
}
%>
<%= HtmlUtil.escape(groupDescriptiveName) %>
-
:
-
<%= HtmlUtil.escape(group.getDescriptiveName(locale)) %>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy