<%--
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * The contents of this file are subject to the terms of the Liferay Enterprise
 * Subscription License ("License"). You may not use this file except in
 * compliance with the License. You can obtain a copy of the License by
 * contacting Liferay, Inc. See the License for the specific language governing
 * permissions and limitations under the License, including but not limited to
 * distribution rights of the Software.
 *
 *
 *
 */
--%>

<%@ taglib uri="http://liferay.com/tld/react" prefix="react" %><%@
taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>

<%@ page import="com.liferay.frontend.taglib.clay.data.set.model.ClayPaginationEntry" %><%@
page import="com.liferay.frontend.taglib.clay.servlet.taglib.util.CreationMenu" %><%@
page import="com.liferay.frontend.taglib.clay.servlet.taglib.util.DropdownItem" %><%@
page import="com.liferay.frontend.taglib.clay.servlet.taglib.util.SortItemList" %><%@
page import="com.liferay.petra.string.StringPool" %><%@
page import="com.liferay.portal.kernel.util.GetterUtil" %><%@
page import="com.liferay.portal.kernel.util.HashMapBuilder" %><%@
page import="com.liferay.portal.kernel.util.PortalUtil" %><%@
page import="com.liferay.portal.kernel.util.Validator" %>

<%@ page import="java.util.List" %><%@
page import="java.util.Map" %>

<%@ page import="javax.portlet.PortletURL" %>

<liferay-theme:defineObjects />

<%
String actionParameterName = (String)request.getAttribute("clay:data-set-display:actionParameterName");
String activeViewSettingsJSON = GetterUtil.getString(request.getAttribute("clay:data-set-display:activeViewSettingsJSON"), "{}");
String apiURL = (String)request.getAttribute("clay:data-set-display:apiURL");
String appURL = (String)request.getAttribute("clay:data-set-display:appURL");
List<DropdownItem> bulkActionDropdownItems = (List<DropdownItem>)request.getAttribute("clay:data-set-display:bulkActionDropdownItems");
Object clayDataSetDisplayViewsContext = request.getAttribute("clay:data-set-display:clayDataSetDisplayViewsContext");
CreationMenu creationMenu = (CreationMenu)request.getAttribute("clay:data-set-display:creationMenu");
String dataProviderKey = (String)request.getAttribute("clay:data-set-display:dataProviderKey");
String formId = (String)request.getAttribute("clay:data-set-display:formId");
String formName = (String)request.getAttribute("clay:data-set-display:formName");
String id = (String)request.getAttribute("clay:data-set-display:id");
int itemsPerPage = (int)request.getAttribute("clay:data-set-display:itemsPerPage");
String namespace = (String)request.getAttribute("clay:data-set-display:namespace");
String nestedItemsKey = (String)request.getAttribute("clay:data-set-display:nestedItemsKey");
String nestedItemsReferenceKey = (String)request.getAttribute("clay:data-set-display:nestedItemsReferenceKey");
int pageNumber = (int)request.getAttribute("clay:data-set-display:pageNumber");
List<ClayPaginationEntry> clayPaginationEntries = (List<ClayPaginationEntry>)request.getAttribute("clay:data-set-display:clayPaginationEntries");
PortletURL portletURL = (PortletURL)request.getAttribute("clay:data-set-display:portletURL");
List<String> selectedItems = (List<String>)request.getAttribute("clay:data-set-display:selectedItems");
String selectedItemsKey = (String)request.getAttribute("clay:data-set-display:selectedItemsKey");
String selectionType = (String)request.getAttribute("clay:data-set-display:selectionType");
boolean showManagementBar = (boolean)request.getAttribute("clay:data-set-display:showManagementBar");
boolean showPagination = (boolean)request.getAttribute("clay:data-set-display:showPagination");
boolean showSearch = (boolean)request.getAttribute("clay:data-set-display:showSearch");
SortItemList sortItemList = (SortItemList)request.getAttribute("clay:headless-data-set-display:sortItemList");
String style = (String)request.getAttribute("clay:data-set-display:style");

String randomNamespace = PortalUtil.generateRandomKey(request, "taglib_step_tracker") + StringPool.UNDERLINE;

String containerId = randomNamespace + "table-id";
%>