Created
April 8, 2012 23:34
-
-
Save eduardolundgren/2340382 to your computer and use it in GitHub Desktop.
Breadcrumb JSP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%-- | |
/** | |
* Copyright (c) 2000-2012 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. | |
*/ | |
--%> | |
<%@ include file="/html/portlet/breadcrumb/init.jsp" %> | |
<liferay-ui:breadcrumb displayStyle="<%= displayStyle %>" /> | |
<%@page import="com.liferay.portlet.dynamicdatamapping.model.DDMStructure"%> | |
<%@page import="com.liferay.portlet.dynamicdatamapping.service.DDMStructureServiceUtil"%> | |
<% | |
long[] groupIds = new long[] {10188}; | |
long[] classNameIds = new long[] {10085}; | |
int total = DDMStructureServiceUtil.searchCount(themeDisplay.getCompanyId(), groupIds, classNameIds, ""); | |
System.out.println("==> Total: " + total); | |
%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment