Skip to content

Instantly share code, notes, and snippets.

@mjbradford89
Created November 11, 2015 20:28
Show Gist options
  • Save mjbradford89/47e8230ae3784e4b6456 to your computer and use it in GitHub Desktop.
Save mjbradford89/47e8230ae3784e4b6456 to your computer and use it in GitHub Desktop.
<%--
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %><%@
taglib uri="http://liferay.com/tld/ddm" prefix="liferay-ddm" %><%@
taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %><%@
taglib uri="http://liferay.com/tld/site-navigation" prefix="liferay-site-navigation" %><%@
taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@
taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@ page import="com.liferay.portal.kernel.util.ArrayUtil" %><%@
page import="com.liferay.portal.kernel.util.Constants" %><%@
page import="com.liferay.portal.kernel.util.HtmlUtil" %><%@
page import="com.liferay.portal.kernel.util.ParamUtil" %><%@
page import="com.liferay.portal.kernel.util.Validator" %><%@
page import="com.liferay.portal.theme.NavItem" %><%@
page import="com.liferay.site.navigation.menu.web.configuration.SiteNavigationMenuWebConfiguration" %><%@
page import="com.liferay.site.navigation.menu.web.display.context.SiteNavigationMenuDisplayContext" %>
<portlet:defineObjects />
<liferay-theme:defineObjects />
<%
String portletResource = ParamUtil.getString(request, "portletResource");
SiteNavigationMenuWebConfiguration siteNavigationMenuWebConfiguration = (SiteNavigationMenuWebConfiguration)request.getAttribute(SiteNavigationMenuWebConfiguration.class.getName());
SiteNavigationMenuDisplayContext siteNavigationMenuDisplayContext = new SiteNavigationMenuDisplayContext(request, siteNavigationMenuWebConfiguration);
%>
<%@ include file="/init-ext.jsp" %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment