/modules/apps/polls/polls-web/src/main/resources/META-INF/resources/init.jsp
https://github.com/ambrinchaudhary/liferay-portal · JavaServer Pages · 100 lines · 76 code · 11 blank · 13 comment · 0 complexity · 4a2297bdc5adf20573dc00eb53b825b3 MD5 · raw file
- <%--
- /**
- * 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/clay" prefix="clay" %><%@
- taglib uri="http://liferay.com/tld/frontend" prefix="liferay-frontend" %><%@
- taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %><%@
- taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %><%@
- taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@
- taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %><%@
- taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
- <%@ page import="com.liferay.petra.string.CharPool" %><%@
- page import="com.liferay.petra.string.StringPool" %><%@
- page import="com.liferay.polls.constants.PollsPortletKeys" %><%@
- page import="com.liferay.polls.constants.PollsWebKeys" %><%@
- page import="com.liferay.polls.exception.DuplicateVoteException" %><%@
- page import="com.liferay.polls.exception.NoSuchChoiceException" %><%@
- page import="com.liferay.polls.exception.NoSuchQuestionException" %><%@
- page import="com.liferay.polls.exception.QuestionChoiceException" %><%@
- page import="com.liferay.polls.exception.QuestionDescriptionException" %><%@
- page import="com.liferay.polls.exception.QuestionExpirationDateException" %><%@
- page import="com.liferay.polls.exception.QuestionTitleException" %><%@
- page import="com.liferay.polls.model.PollsChoice" %><%@
- page import="com.liferay.polls.model.PollsQuestion" %><%@
- page import="com.liferay.polls.model.PollsVote" %><%@
- page import="com.liferay.polls.service.PollsChoiceLocalServiceUtil" %><%@
- page import="com.liferay.polls.service.PollsQuestionLocalServiceUtil" %><%@
- page import="com.liferay.polls.service.PollsVoteLocalServiceUtil" %><%@
- page import="com.liferay.polls.web.internal.portlet.action.EditQuestionMVCActionCommand" %><%@
- page import="com.liferay.polls.web.internal.portlet.display.context.PollsDisplayContext" %><%@
- page import="com.liferay.polls.web.internal.portlet.util.PollsUtil" %><%@
- page import="com.liferay.polls.web.internal.security.permission.resource.PollsPermission" %><%@
- page import="com.liferay.polls.web.internal.security.permission.resource.PollsQuestionPermission" %><%@
- page import="com.liferay.portal.kernel.bean.BeanParamUtil" %><%@
- page import="com.liferay.portal.kernel.dao.search.SearchContainer" %><%@
- page import="com.liferay.portal.kernel.exception.PortalException" %><%@
- page import="com.liferay.portal.kernel.language.LanguageUtil" %><%@
- page import="com.liferay.portal.kernel.model.Portlet" %><%@
- page import="com.liferay.portal.kernel.model.User" %><%@
- page import="com.liferay.portal.kernel.portlet.LiferayWindowState" %><%@
- page import="com.liferay.portal.kernel.security.permission.ActionKeys" %><%@
- page import="com.liferay.portal.kernel.security.permission.ResourceActionsUtil" %><%@
- page import="com.liferay.portal.kernel.service.PortletLocalServiceUtil" %><%@
- page import="com.liferay.portal.kernel.service.UserLocalServiceUtil" %><%@
- page import="com.liferay.portal.kernel.service.permission.PortletPermissionUtil" %><%@
- page import="com.liferay.portal.kernel.util.Constants" %><%@
- page import="com.liferay.portal.kernel.util.FastDateFormatFactoryUtil" %><%@
- page import="com.liferay.portal.kernel.util.GetterUtil" %><%@
- page import="com.liferay.portal.kernel.util.HtmlUtil" %><%@
- page import="com.liferay.portal.kernel.util.ListUtil" %><%@
- page import="com.liferay.portal.kernel.util.LocaleUtil" %><%@
- page import="com.liferay.portal.kernel.util.LocalizationUtil" %><%@
- page import="com.liferay.portal.kernel.util.ParamUtil" %><%@
- page import="com.liferay.portal.kernel.util.PortalUtil" %><%@
- page import="com.liferay.portal.kernel.util.StringUtil" %><%@
- page import="com.liferay.portal.kernel.util.TextFormatter" %><%@
- page import="com.liferay.portal.kernel.util.WebKeys" %><%@
- page import="com.liferay.taglib.search.ResultRow" %>
- <%@ page import="java.text.Format" %><%@
- page import="java.text.NumberFormat" %>
- <%@ page import="java.util.ArrayList" %><%@
- page import="java.util.Date" %><%@
- page import="java.util.List" %><%@
- page import="java.util.Locale" %><%@
- page import="java.util.Map" %>
- <%@ page import="javax.portlet.PortletRequest" %><%@
- page import="javax.portlet.PortletURL" %><%@
- page import="javax.portlet.ResourceURL" %><%@
- page import="javax.portlet.WindowState" %>
- <liferay-frontend:defineObjects />
- <liferay-theme:defineObjects />
- <portlet:defineObjects />
- <%
- Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale, timeZone);
- %>