All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.edit_sharing.jsp Maven / Gradle / Ivy

There is a newer version: 5.0.85
Show newest version
<%--
/**
 * 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" %>

<%
String returnToFullPageURL = ParamUtil.getString(request, "returnToFullPageURL");

Portlet portlet = PortletLocalServiceUtil.getPortletById(company.getCompanyId(), portletResource);

boolean portletPublished = true;

Layout publishedLayout = null;

if (layout.isDraftLayout()) {
	publishedLayout = LayoutLocalServiceUtil.getLayout(layout.getClassPK());

	LayoutTypePortlet publishedLayoutTypePortlet = (LayoutTypePortlet)publishedLayout.getLayoutType();

	portletPublished = publishedLayoutTypePortlet.hasPortletId(portletResource);
}
%>


	
	



	



	

		<%
		if (publishedLayout != null) {
			themeDisplay.setLayout(publishedLayout);
		}

		String widgetURL = PortalUtil.getWidgetURL(portlet, themeDisplay);

		String opensocialGadgetURL = PortalUtil.getGoogleGadgetURL(portlet, themeDisplay);

		String netvibesWidgetURL = PortalUtil.getNetvibesURL(portlet, themeDisplay);

		themeDisplay.setLayout(layout);
		%>

		
<% String facebookAPIKey = GetterUtil.getString(portletPreferences.getValue("lfrFacebookApiKey", null)); String facebookCanvasPageURL = GetterUtil.getString(portletPreferences.getValue("lfrFacebookCanvasPageUrl", null)); %>
http://www.liferay.com/





© 2015 - 2024 Weber Informatics LLC | Privacy Policy