List of usage examples for com.liferay.portal.kernel.dao.search SearchContainer getOrderByComparator
public OrderByComparator<R> getOrderByComparator()
From source file:com.liferay.asset.categories.admin.web.internal.display.context.AssetCategoriesDisplayContext.java
License:Open Source License
public SearchContainer getCategoriesSearchContainer() throws PortalException { if (_categoriesSearchContainer != null) { return _categoriesSearchContainer; }//from w ww . j a va2 s . c om SearchContainer categoriesSearchContainer = new SearchContainer(_renderRequest, getIteratorURL(), null, "there-are-no-categories"); if (Validator.isNull(getKeywords())) { if (isShowCategoriesAddButton()) { categoriesSearchContainer .setEmptyResultsMessageCssClass("there-are-no-categories.-you-can-add-a-category-by-" + "clicking-the-plus-button-on-the-bottom-right-corner"); categoriesSearchContainer .setEmptyResultsMessageCssClass("taglib-empty-result-message-header-has-plus-btn"); } } else { categoriesSearchContainer.setSearch(true); } categoriesSearchContainer.setOrderByCol(getOrderByCol()); boolean orderByAsc = false; String orderByType = getOrderByType(); if (orderByType.equals("asc")) { orderByAsc = true; } OrderByComparator<AssetCategory> orderByComparator = new AssetCategoryCreateDateComparator(orderByAsc); categoriesSearchContainer.setOrderByComparator(orderByComparator); categoriesSearchContainer.setOrderByType(orderByType); EmptyOnClickRowChecker emptyOnClickRowChecker = new EmptyOnClickRowChecker(_renderResponse); StringBundler sb = new StringBundler(7); sb.append("^(?!.*"); sb.append(_renderResponse.getNamespace()); sb.append("redirect).*(/vocabulary/"); sb.append(getVocabularyId()); sb.append("/category/"); sb.append(getCategoryId()); sb.append(")"); emptyOnClickRowChecker.setRememberCheckBoxStateURLRegex(sb.toString()); categoriesSearchContainer.setRowChecker(emptyOnClickRowChecker); List<AssetCategory> categories = null; int categoriesCount = 0; ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); long scopeGroupId = themeDisplay.getScopeGroupId(); if (Validator.isNotNull(getKeywords())) { AssetCategoryDisplay assetCategoryDisplay = null; Sort sort = null; if (isFlattenedNavigationAllowed()) { sort = new Sort("leftCategoryId", Sort.INT_TYPE, orderByAsc); } else { sort = new Sort("createDate", Sort.LONG_TYPE, orderByAsc); } assetCategoryDisplay = AssetCategoryServiceUtil.searchCategoriesDisplay(new long[] { scopeGroupId }, getKeywords(), new long[] { getVocabularyId() }, new long[0], categoriesSearchContainer.getStart(), categoriesSearchContainer.getEnd(), sort); categoriesCount = assetCategoryDisplay.getTotal(); categoriesSearchContainer.setTotal(categoriesCount); categories = assetCategoryDisplay.getCategories(); } else if (isFlattenedNavigationAllowed()) { AssetCategory category = getCategory(); if (Validator.isNull(category)) { categoriesCount = AssetCategoryServiceUtil .getVocabularyCategoriesCount(themeDisplay.getScopeGroupId(), getVocabularyId()); categories = AssetCategoryServiceUtil.getVocabularyCategories(getVocabularyId(), categoriesSearchContainer.getStart(), categoriesSearchContainer.getEnd(), new AssetCategoryLeftCategoryIdComparator(orderByAsc)); } else { categoriesCount = AssetCategoryServiceUtil.getVocabularyCategoriesCount( themeDisplay.getScopeGroupId(), category.getCategoryId(), getVocabularyId()); categories = AssetCategoryServiceUtil.getVocabularyCategories(category.getCategoryId(), getVocabularyId(), categoriesSearchContainer.getStart(), categoriesSearchContainer.getEnd(), new AssetCategoryLeftCategoryIdComparator(orderByAsc)); } categoriesSearchContainer.setTotal(categoriesCount); } else { categoriesCount = AssetCategoryServiceUtil.getVocabularyCategoriesCount(scopeGroupId, getCategoryId(), getVocabularyId()); categoriesSearchContainer.setTotal(categoriesCount); categories = AssetCategoryServiceUtil.getVocabularyCategories(scopeGroupId, getCategoryId(), getVocabularyId(), categoriesSearchContainer.getStart(), categoriesSearchContainer.getEnd(), categoriesSearchContainer.getOrderByComparator()); } categoriesSearchContainer.setResults(categories); _categoriesSearchContainer = categoriesSearchContainer; return _categoriesSearchContainer; }
From source file:com.liferay.asset.categories.admin.web.internal.display.context.AssetCategoriesDisplayContext.java
License:Open Source License
public SearchContainer getVocabulariesSearchContainer() throws PortalException { if (_vocabulariesSearchContainer != null) { return _vocabulariesSearchContainer; }//from w ww . j a v a 2s .c om SearchContainer vocabulariesSearchContainer = new SearchContainer(_renderRequest, _renderResponse.createRenderURL(), null, "there-are-no-vocabularies"); String keywords = getKeywords(); if (Validator.isNull(keywords)) { if (isShowVocabulariesAddButton()) { vocabulariesSearchContainer .setEmptyResultsMessage("there-are-no-vocabularies.-you-can-add-a-vocabulary-by-" + "clicking-the-plus-button-on-the-bottom-right-corner"); vocabulariesSearchContainer .setEmptyResultsMessageCssClass("taglib-empty-result-message-header-has-plus-btn"); } } else { vocabulariesSearchContainer.setSearch(true); } vocabulariesSearchContainer.setOrderByCol(getOrderByCol()); String orderByType = getOrderByType(); boolean orderByAsc = false; if (orderByType.equals("asc")) { orderByAsc = true; } OrderByComparator<AssetVocabulary> orderByComparator = new AssetVocabularyCreateDateComparator(orderByAsc); vocabulariesSearchContainer.setOrderByComparator(orderByComparator); vocabulariesSearchContainer.setOrderByType(orderByType); EmptyOnClickRowChecker emptyOnClickRowChecker = new EmptyOnClickRowChecker(_renderResponse); StringBundler sb = new StringBundler(5); sb.append("^(?!.*"); sb.append(_renderResponse.getNamespace()); sb.append("redirect).*(/vocabulary/"); sb.append(getVocabularyId()); sb.append(")"); emptyOnClickRowChecker.setRememberCheckBoxStateURLRegex(sb.toString()); vocabulariesSearchContainer.setRowChecker(emptyOnClickRowChecker); List<AssetVocabulary> vocabularies = null; int vocabulariesCount = 0; ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); long scopeGroupId = themeDisplay.getScopeGroupId(); if (Validator.isNotNull(keywords)) { Sort sort = new Sort("createDate", Sort.LONG_TYPE, orderByAsc); AssetVocabularyDisplay assetVocabularyDisplay = AssetVocabularyServiceUtil.searchVocabulariesDisplay( scopeGroupId, keywords, true, vocabulariesSearchContainer.getStart(), vocabulariesSearchContainer.getEnd(), sort); vocabulariesCount = assetVocabularyDisplay.getTotal(); vocabulariesSearchContainer.setTotal(vocabulariesCount); vocabularies = assetVocabularyDisplay.getVocabularies(); } else { vocabulariesCount = AssetVocabularyServiceUtil.getGroupVocabulariesCount(scopeGroupId); vocabulariesSearchContainer.setTotal(vocabulariesCount); vocabularies = AssetVocabularyServiceUtil.getGroupVocabularies(scopeGroupId, true, vocabulariesSearchContainer.getStart(), vocabulariesSearchContainer.getEnd(), vocabulariesSearchContainer.getOrderByComparator()); if (vocabulariesCount == 0) { vocabulariesCount = AssetVocabularyServiceUtil.getGroupVocabulariesCount(scopeGroupId); vocabulariesSearchContainer.setTotal(vocabulariesCount); } } vocabulariesSearchContainer.setResults(vocabularies); _vocabulariesSearchContainer = vocabulariesSearchContainer; return _vocabulariesSearchContainer; }
From source file:com.liferay.asset.tags.admin.web.internal.display.context.AssetTagsDisplayContext.java
License:Open Source License
public SearchContainer getTagsSearchContainer() throws PortalException { if (_tagsSearchContainer != null) { return _tagsSearchContainer; }/* w w w . j a v a 2s .co m*/ SearchContainer tagsSearchContainer = new SearchContainer(_renderRequest, _renderResponse.createRenderURL(), null, "there-are-no-tags"); String keywords = getKeywords(); if (Validator.isNull(keywords)) { if (isShowAddButton()) { tagsSearchContainer.setEmptyResultsMessage("there-are-no-tags.-you-can-add-a-tag-by-clicking-the-" + "plus-button-on-the-bottom-right-corner"); tagsSearchContainer .setEmptyResultsMessageCssClass("taglib-empty-result-message-header-has-plus-btn"); } } else { tagsSearchContainer.setSearch(true); } tagsSearchContainer.setRowChecker(new EmptyOnClickRowChecker(_renderResponse)); ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); if (Validator.isNotNull(keywords)) { Sort sort = null; String orderByCol = getOrderByCol(); if (orderByCol.equals("name")) { sort = SortFactoryUtil.getSort(AssetTag.class, Sort.STRING_TYPE, Field.NAME, getOrderByType()); } else if (orderByCol.equals("usages")) { sort = SortFactoryUtil.getSort(AssetTag.class, Sort.INT_TYPE, "assetCount_Number", getOrderByType()); } BaseModelSearchResult<AssetTag> baseModelSearchResult = AssetTagLocalServiceUtil.searchTags( new long[] { themeDisplay.getScopeGroupId() }, keywords, tagsSearchContainer.getStart(), tagsSearchContainer.getEnd(), sort); tagsSearchContainer.setResults(baseModelSearchResult.getBaseModels()); tagsSearchContainer.setTotal(baseModelSearchResult.getLength()); } else { String orderByCol = getOrderByCol(); tagsSearchContainer.setOrderByCol(orderByCol); OrderByComparator<AssetTag> orderByComparator = null; boolean orderByAsc = false; String orderByType = getOrderByType(); if (orderByType.equals("asc")) { orderByAsc = true; } if (orderByCol.equals("name")) { orderByComparator = new AssetTagNameComparator(orderByAsc); } else if (orderByCol.equals("usages")) { orderByComparator = new AssetTagAssetCountComparator(orderByAsc); } tagsSearchContainer.setOrderByComparator(orderByComparator); tagsSearchContainer.setOrderByType(orderByType); long scopeGroupId = themeDisplay.getScopeGroupId(); int tagsCount = AssetTagServiceUtil.getTagsCount(scopeGroupId, keywords); tagsSearchContainer.setTotal(tagsCount); List<AssetTag> tags = AssetTagServiceUtil.getTags(scopeGroupId, StringPool.BLANK, tagsSearchContainer.getStart(), tagsSearchContainer.getEnd(), tagsSearchContainer.getOrderByComparator()); tagsSearchContainer.setResults(tags); } _tagsSearchContainer = tagsSearchContainer; return _tagsSearchContainer; }
From source file:com.liferay.asset.tags.selector.web.internal.display.context.AssetTagsSelectorDisplayContext.java
License:Open Source License
public SearchContainer getTagsSearchContainer() { if (_tagsSearchContainer != null) { return _tagsSearchContainer; }// ww w .j a v a 2s . c o m ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); SearchContainer tagsSearchContainer = new SearchContainer(_renderRequest, getPortletURL(), null, "there-are-no-tags"); String keywords = getKeywords(); if (Validator.isNotNull(keywords)) { tagsSearchContainer.setSearch(true); } String orderByCol = getOrderByCol(); tagsSearchContainer.setOrderByCol(orderByCol); boolean orderByAsc = false; String orderByType = getOrderByType(); if (orderByType.equals("asc")) { orderByAsc = true; } tagsSearchContainer.setOrderByComparator(new AssetTagNameComparator(orderByAsc)); tagsSearchContainer.setOrderByType(orderByType); tagsSearchContainer.setRowChecker(new EntriesChecker(_renderRequest, _renderResponse)); int tagsCount = AssetTagServiceUtil.getTagsCount(themeDisplay.getScopeGroupId(), keywords); tagsSearchContainer.setTotal(tagsCount); List<AssetTag> tags = AssetTagServiceUtil.getTags(getGroupIds(), keywords, tagsSearchContainer.getStart(), tagsSearchContainer.getEnd(), tagsSearchContainer.getOrderByComparator()); tagsSearchContainer.setResults(tags); _tagsSearchContainer = tagsSearchContainer; return _tagsSearchContainer; }
From source file:com.liferay.dynamic.data.mapping.data.provider.web.internal.display.context.DDMDataProviderDisplayContext.java
License:Open Source License
public List<DDMDataProviderInstance> getSearchContainerResults( SearchContainer<DDMDataProviderInstance> searchContainer) throws PortalException { DDMDataProviderSearchTerms searchTerms = (DDMDataProviderSearchTerms) searchContainer.getSearchTerms(); if (searchTerms.isAdvancedSearch()) { return _ddmDataProviderInstanceService.search(_ddmDataProviderRequestHelper.getCompanyId(), new long[] { _ddmDataProviderRequestHelper.getScopeGroupId() }, searchTerms.getName(), searchTerms.getDescription(), searchTerms.isAndOperator(), searchContainer.getStart(), searchContainer.getEnd(), searchContainer.getOrderByComparator()); } else {//w w w .j av a 2 s.c om return _ddmDataProviderInstanceService.search(_ddmDataProviderRequestHelper.getCompanyId(), new long[] { _ddmDataProviderRequestHelper.getScopeGroupId() }, searchTerms.getKeywords(), searchContainer.getStart(), searchContainer.getEnd(), searchContainer.getOrderByComparator()); } }
From source file:com.liferay.journal.web.internal.display.context.JournalDisplayContext.java
License:Open Source License
public SearchContainer getSearchContainer(boolean showVersions) throws PortalException { ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); SearchContainer articleSearchContainer = new SearchContainer(_liferayPortletRequest, getPortletURL(), null, null);// w ww . ja v a2 s.c o m if (!isSearch()) { articleSearchContainer .setEmptyResultsMessageCssClass("taglib-empty-result-message-header-has-plus-btn"); } else { articleSearchContainer.setSearch(true); } OrderByComparator<JournalArticle> orderByComparator = JournalPortletUtil .getArticleOrderByComparator(getOrderByCol(), getOrderByType()); articleSearchContainer.setOrderByCol(getOrderByCol()); articleSearchContainer.setOrderByComparator(orderByComparator); articleSearchContainer.setOrderByType(getOrderByType()); EntriesChecker entriesChecker = new EntriesChecker(_liferayPortletRequest, _liferayPortletResponse); entriesChecker.setCssClass("entry-selector"); entriesChecker.setRememberCheckBoxStateURLRegex( "^(?!.*" + _liferayPortletResponse.getNamespace() + "redirect).*(folderId=" + getFolderId() + ")"); articleSearchContainer.setRowChecker(entriesChecker); EntriesMover entriesMover = new EntriesMover(themeDisplay.getScopeGroupId()); articleSearchContainer.setRowMover(entriesMover); if (isNavigationMine() || isNavigationRecent()) { boolean includeOwner = true; if (isNavigationMine()) { includeOwner = false; } if (isNavigationRecent()) { articleSearchContainer.setOrderByCol("create-date"); articleSearchContainer.setOrderByType(getOrderByType()); } int total = JournalArticleServiceUtil.getGroupArticlesCount(themeDisplay.getScopeGroupId(), themeDisplay.getUserId(), getFolderId(), getStatus(), includeOwner); articleSearchContainer.setTotal(total); List results = JournalArticleServiceUtil.getGroupArticles(themeDisplay.getScopeGroupId(), themeDisplay.getUserId(), getFolderId(), getStatus(), includeOwner, articleSearchContainer.getStart(), articleSearchContainer.getEnd(), articleSearchContainer.getOrderByComparator()); articleSearchContainer.setResults(results); } else if (Validator.isNotNull(getDDMStructureKey())) { int total = JournalArticleServiceUtil.getArticlesCountByStructureId(themeDisplay.getScopeGroupId(), getDDMStructureKey(), getStatus()); articleSearchContainer.setTotal(total); List results = JournalArticleServiceUtil.getArticlesByStructureId(themeDisplay.getScopeGroupId(), getDDMStructureKey(), getStatus(), articleSearchContainer.getStart(), articleSearchContainer.getEnd(), articleSearchContainer.getOrderByComparator()); articleSearchContainer.setResults(results); } else if (Validator.isNotNull(getDDMTemplateKey())) { List<Long> folderIds = new ArrayList<>(1); if (getFolderId() != JournalFolderConstants.DEFAULT_PARENT_FOLDER_ID) { folderIds.add(getFolderId()); } int total = JournalArticleServiceUtil.searchCount(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), folderIds, JournalArticleConstants.CLASSNAME_ID_DEFAULT, getKeywords(), -1.0, getDDMStructureKey(), getDDMTemplateKey(), null, null, getStatus(), null); articleSearchContainer.setTotal(total); List results = JournalArticleServiceUtil.search(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), folderIds, JournalArticleConstants.CLASSNAME_ID_DEFAULT, getKeywords(), -1.0, getDDMStructureKey(), getDDMTemplateKey(), null, null, getStatus(), null, articleSearchContainer.getStart(), articleSearchContainer.getEnd(), articleSearchContainer.getOrderByComparator()); articleSearchContainer.setResults(results); } else if (isSearch()) { List<Long> folderIds = new ArrayList<>(1); if (getFolderId() != JournalFolderConstants.DEFAULT_PARENT_FOLDER_ID) { folderIds.add(getFolderId()); } JournalWebConfiguration journalWebConfiguration = (JournalWebConfiguration) _request .getAttribute(JournalWebConfiguration.class.getName()); if (journalWebConfiguration.journalArticlesSearchWithIndex()) { boolean orderByAsc = false; if (Objects.equals(getOrderByType(), "asc")) { orderByAsc = true; } Sort sort = null; if (Objects.equals(getOrderByCol(), "display-date")) { sort = new Sort("displayDate", Sort.LONG_TYPE, orderByAsc); } else if (Objects.equals(getOrderByCol(), "id")) { sort = new Sort(DocumentImpl.getSortableFieldName(Field.ARTICLE_ID), Sort.STRING_TYPE, !orderByAsc); } else if (Objects.equals(getOrderByCol(), "modified-date")) { sort = new Sort(Field.MODIFIED_DATE, Sort.LONG_TYPE, orderByAsc); } else if (Objects.equals(getOrderByCol(), "title")) { sort = new Sort("title", Sort.STRING_TYPE, !orderByAsc); } LinkedHashMap<String, Object> params = new LinkedHashMap<>(); params.put("expandoAttributes", getKeywords()); Indexer indexer = JournalSearcher.getInstance(); SearchContext searchContext = buildSearchContext(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), folderIds, JournalArticleConstants.CLASSNAME_ID_DEFAULT, getDDMStructureKey(), getDDMTemplateKey(), getKeywords(), params, articleSearchContainer.getStart(), articleSearchContainer.getEnd(), sort, showVersions); Hits hits = indexer.search(searchContext); int total = hits.getLength(); articleSearchContainer.setTotal(total); List results = new ArrayList<>(); Document[] documents = hits.getDocs(); for (int i = 0; i < documents.length; i++) { Document document = documents[i]; JournalArticle article = null; JournalFolder folder = null; String className = document.get(Field.ENTRY_CLASS_NAME); long classPK = GetterUtil.getLong(document.get(Field.ENTRY_CLASS_PK)); if (className.equals(JournalArticle.class.getName())) { if (!showVersions) { article = JournalArticleLocalServiceUtil.fetchLatestArticle(classPK, WorkflowConstants.STATUS_ANY, false); } else { String articleId = document.get(Field.ARTICLE_ID); long groupId = GetterUtil.getLong(document.get(Field.GROUP_ID)); double version = GetterUtil.getDouble(document.get(Field.VERSION)); article = JournalArticleLocalServiceUtil.fetchArticle(groupId, articleId, version); } results.add(article); } else if (className.equals(JournalFolder.class.getName())) { folder = JournalFolderLocalServiceUtil.getFolder(classPK); results.add(folder); } } articleSearchContainer.setResults(results); } else { int total = JournalArticleServiceUtil.searchCount(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), folderIds, JournalArticleConstants.CLASSNAME_ID_DEFAULT, getKeywords(), -1.0, getDDMStructureKey(), getDDMTemplateKey(), null, null, getStatus(), null); articleSearchContainer.setTotal(total); List results = JournalArticleServiceUtil.search(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), folderIds, JournalArticleConstants.CLASSNAME_ID_DEFAULT, getKeywords(), -1.0, getDDMStructureKey(), getDDMTemplateKey(), null, null, getStatus(), null, articleSearchContainer.getStart(), articleSearchContainer.getEnd(), articleSearchContainer.getOrderByComparator()); articleSearchContainer.setResults(results); } } else { int total = JournalFolderServiceUtil.getFoldersAndArticlesCount(themeDisplay.getScopeGroupId(), 0, getFolderId(), getStatus()); articleSearchContainer.setTotal(total); OrderByComparator<Object> folderOrderByComparator = null; boolean orderByAsc = false; if (Objects.equals(getOrderByType(), "asc")) { orderByAsc = true; } if (Objects.equals(getOrderByCol(), "display-date")) { folderOrderByComparator = new FolderArticleDisplayDateComparator(orderByAsc); } else if (Objects.equals(getOrderByCol(), "id")) { folderOrderByComparator = new FolderArticleArticleIdComparator(orderByAsc); } else if (Objects.equals(getOrderByCol(), "modified-date")) { folderOrderByComparator = new FolderArticleModifiedDateComparator(orderByAsc); } else if (Objects.equals(getOrderByCol(), "title")) { folderOrderByComparator = new FolderArticleTitleComparator(orderByAsc); } List results = JournalFolderServiceUtil.getFoldersAndArticles(themeDisplay.getScopeGroupId(), 0, getFolderId(), getStatus(), themeDisplay.getLocale(), articleSearchContainer.getStart(), articleSearchContainer.getEnd(), folderOrderByComparator); articleSearchContainer.setResults(results); } return articleSearchContainer; }
From source file:com.liferay.layout.prototype.web.internal.display.context.LayoutPrototypeDisplayContext.java
License:Open Source License
public SearchContainer getSearchContainer() { ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); SearchContainer searchContainer = new SearchContainer(_renderRequest, _renderResponse.createRenderURL(), null, "there-are-no-page-templates"); if (isShowAddButton()) { searchContainer/*w w w . j a v a 2s. co m*/ .setEmptyResultsMessageCssClass("there-are-no-page-templates.-you-can-add-a-page-template-by-" + "clicking-the-plus-button-on-the-bottom-right-corner"); searchContainer.setEmptyResultsMessageCssClass("taglib-empty-result-message-header-has-plus-btn"); } searchContainer.setId("layoutPrototype"); searchContainer.setRowChecker(new EmptyOnClickRowChecker(_renderResponse)); boolean orderByAsc = false; if (getOrderByType().equals("asc")) { orderByAsc = true; } OrderByComparator<LayoutPrototype> orderByComparator = new LayoutPrototypeCreateDateComparator(orderByAsc); searchContainer.setOrderByCol(getOrderByCol()); searchContainer.setOrderByComparator(orderByComparator); searchContainer.setOrderByType(getOrderByType()); searchContainer.setTotal(getTotal()); List results = LayoutPrototypeLocalServiceUtil.search(themeDisplay.getCompanyId(), getActive(), searchContainer.getStart(), searchContainer.getEnd(), searchContainer.getOrderByComparator()); searchContainer.setResults(results); return searchContainer; }
From source file:com.liferay.layout.set.prototype.web.internal.display.context.LayoutSetPrototypeDisplayContext.java
License:Open Source License
public SearchContainer getSearchContainer() { ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); SearchContainer searchContainer = new SearchContainer(_renderRequest, _renderResponse.createRenderURL(), null, "there-are-no-site-templates"); if (isShowAddButton()) { searchContainer.setEmptyResultsMessage("there-are-no-site-templates.-you-can-add-a-site-template-by-" + "clicking-the-plus-button-on-the-bottom-right-corner"); searchContainer.setEmptyResultsMessageCssClass("taglib-empty-result-message-header-has-plus-btn"); }/*w w w. ja v a2 s. c om*/ searchContainer.setId("layoutSetPrototype"); searchContainer.setRowChecker(new EmptyOnClickRowChecker(_renderResponse)); boolean orderByAsc = false; if (getOrderByType().equals("asc")) { orderByAsc = true; } OrderByComparator<LayoutSetPrototype> orderByComparator = new LayoutSetPrototypeCreateDateComparator( orderByAsc); searchContainer.setOrderByCol(getOrderByCol()); searchContainer.setOrderByComparator(orderByComparator); searchContainer.setOrderByType(getOrderByType()); searchContainer.setTotal(getTotal()); List results = LayoutSetPrototypeLocalServiceUtil.search(themeDisplay.getCompanyId(), getActive(), searchContainer.getStart(), searchContainer.getEnd(), searchContainer.getOrderByComparator()); searchContainer.setResults(results); return searchContainer; }
From source file:com.liferay.site.teams.web.internal.display.context.SiteTeamsDisplayContext.java
License:Open Source License
public SearchContainer getSearchContainer() throws PortalException { ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); SearchContainer searchContainer = new TeamSearch(_renderRequest, getPortletURL()); searchContainer.setEmptyResultsMessage("there-are-no-site-teams"); if (Validator.isNull(getKeywords())) { if (isShowAddButton()) { searchContainer.setEmptyResultsMessage("there-are-no-site-teams.-you-can-add-a-site-team-by-" + "clicking-the-plus-button-on-the-bottom-right-corner"); searchContainer.setEmptyResultsMessageCssClass("taglib-empty-result-message-header-has-plus-btn"); }/*from ww w . j av a 2s .c o m*/ } else { searchContainer.setSearch(true); } searchContainer.setId("teams"); searchContainer.setRowChecker(new EmptyOnClickRowChecker(_renderResponse)); searchContainer.setTotal(getTotal()); List results = TeamServiceUtil.search(themeDisplay.getScopeGroupId(), getKeywords(), getKeywords(), new LinkedHashMap<String, Object>(), searchContainer.getStart(), searchContainer.getEnd(), searchContainer.getOrderByComparator()); searchContainer.setResults(results); return searchContainer; }
From source file:org.apache.jsp.html.view_jsp.java
License:Open Source License
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;//from w ww . jav a 2 s .c om HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2010 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. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2010 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. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // portlet:defineObjects com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .get(com.liferay.taglib.portlet.DefineObjectsTag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletConfig portletConfig = null; java.lang.String portletName = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context .findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context .findAttribute("resourceResponse"); out.write('\n'); out.write('\n'); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); // portlet:renderURL com.liferay.taglib.portlet.RenderURLTag _jspx_th_portlet_005frenderURL_005f0 = (com.liferay.taglib.portlet.RenderURLTag) _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fvar .get(com.liferay.taglib.portlet.RenderURLTag.class); _jspx_th_portlet_005frenderURL_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005frenderURL_005f0.setParent(null); // /html/view.jsp(19,0) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005frenderURL_005f0.setVar("addSloganURL"); int _jspx_eval_portlet_005frenderURL_005f0 = _jspx_th_portlet_005frenderURL_005f0.doStartTag(); if (_jspx_eval_portlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_portlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_portlet_005frenderURL_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_portlet_005frenderURL_005f0.doInitBody(); } do { out.write('\n'); out.write(' '); out.write(' '); if (_jspx_meth_portlet_005fparam_005f0(_jspx_th_portlet_005frenderURL_005f0, _jspx_page_context)) return; out.write('\n'); int evalDoAfterBody = _jspx_th_portlet_005frenderURL_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_portlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_portlet_005frenderURL_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fvar .reuse(_jspx_th_portlet_005frenderURL_005f0); return; } _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fvar .reuse(_jspx_th_portlet_005frenderURL_005f0); java.lang.String addSloganURL = null; addSloganURL = (java.lang.String) _jspx_page_context.findAttribute("addSloganURL"); out.write('\n'); out.write('\n'); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f0.setParent(null); // /html/view.jsp(23,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fif_005f0.setTest( PortletPermissionUtil.contains(permissionChecker, portletDisplay.getId(), "ADD_SLOGAN")); int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag(); if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write(" <input type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f0(_jspx_th_c_005fif_005f0, _jspx_page_context)) return; out.write("\" onClick=\"location.href = '"); out.print(addSloganURL.toString()); out.write("';\" />\n"); int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); out.write('\n'); out.write('\n'); String tabs1 = ParamUtil.getString(request, "tabs1", "by-rating"); String tabs1Values = "by-rating,by-date"; PortletURL tabsURL = renderResponse.createRenderURL(); tabsURL.setParameter("jspPage", "/html/view.jsp"); tabsURL.setParameter("tabs1", tabs1); PortletURL iteratorURL = renderResponse.createRenderURL(); iteratorURL.setParameter("tabs1", tabs1); out.write('\n'); out.write('\n'); // liferay-portlet:renderURL com.liferay.taglib.portlet.RenderURLTag _jspx_th_liferay_002dportlet_005frenderURL_005f0 = (com.liferay.taglib.portlet.RenderURLTag) _005fjspx_005ftagPool_005fliferay_002dportlet_005frenderURL_0026_005fvarImpl .get(com.liferay.taglib.portlet.RenderURLTag.class); _jspx_th_liferay_002dportlet_005frenderURL_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dportlet_005frenderURL_005f0.setParent(null); // /html/view.jsp(41,0) name = varImpl type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dportlet_005frenderURL_005f0.setVarImpl("searchURL"); int _jspx_eval_liferay_002dportlet_005frenderURL_005f0 = _jspx_th_liferay_002dportlet_005frenderURL_005f0 .doStartTag(); if (_jspx_eval_liferay_002dportlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_liferay_002dportlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_liferay_002dportlet_005frenderURL_005f0 .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_liferay_002dportlet_005frenderURL_005f0.doInitBody(); } do { out.write('\n'); out.write(' '); out.write(' '); if (_jspx_meth_portlet_005fparam_005f1(_jspx_th_liferay_002dportlet_005frenderURL_005f0, _jspx_page_context)) return; out.write('\n'); int evalDoAfterBody = _jspx_th_liferay_002dportlet_005frenderURL_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_liferay_002dportlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_liferay_002dportlet_005frenderURL_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dportlet_005frenderURL_0026_005fvarImpl .reuse(_jspx_th_liferay_002dportlet_005frenderURL_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dportlet_005frenderURL_0026_005fvarImpl .reuse(_jspx_th_liferay_002dportlet_005frenderURL_005f0); javax.portlet.PortletURL searchURL = null; searchURL = (javax.portlet.PortletURL) _jspx_page_context.findAttribute("searchURL"); out.write('\n'); out.write('\n'); // aui:form com.liferay.taglib.aui.FormTag _jspx_th_aui_005fform_005f0 = (com.liferay.taglib.aui.FormTag) _005fjspx_005ftagPool_005faui_005fform_0026_005fname_005fmethod_005faction .get(com.liferay.taglib.aui.FormTag.class); _jspx_th_aui_005fform_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005fform_005f0.setParent(null); // /html/view.jsp(45,0) name = action type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fform_005f0.setAction(searchURL); // /html/view.jsp(45,0) null _jspx_th_aui_005fform_005f0.setDynamicAttribute(null, "method", new String("get")); // /html/view.jsp(45,0) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fform_005f0.setName("fm0"); int _jspx_eval_aui_005fform_005f0 = _jspx_th_aui_005fform_005f0.doStartTag(); if (_jspx_eval_aui_005fform_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_aui_005fform_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_aui_005fform_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_aui_005fform_005f0.doInitBody(); } do { out.write('\n'); out.write(' '); out.write(' '); if (_jspx_meth_liferay_002dportlet_005frenderURLParams_005f0(_jspx_th_aui_005fform_005f0, _jspx_page_context)) return; out.write('\n'); out.write(' '); out.write(' '); // aui:input com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f0 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .get(com.liferay.taglib.aui.InputTag.class); _jspx_th_aui_005finput_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005finput_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fform_005f0); // /html/view.jsp(47,2) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setName("redirect"); // /html/view.jsp(47,2) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setType("hidden"); // /html/view.jsp(47,2) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setValue(currentURL); int _jspx_eval_aui_005finput_005f0 = _jspx_th_aui_005finput_005f0.doStartTag(); if (_jspx_th_aui_005finput_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .reuse(_jspx_th_aui_005finput_005f0); return; } _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .reuse(_jspx_th_aui_005finput_005f0); out.write('\n'); out.write(' '); out.write(' '); // aui:input com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f1 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .get(com.liferay.taglib.aui.InputTag.class); _jspx_th_aui_005finput_005f1.setPageContext(_jspx_page_context); _jspx_th_aui_005finput_005f1 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fform_005f0); // /html/view.jsp(48,2) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setName("groupId"); // /html/view.jsp(48,2) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setType("hidden"); // /html/view.jsp(48,2) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setValue(String.valueOf(scopeGroupId)); int _jspx_eval_aui_005finput_005f1 = _jspx_th_aui_005finput_005f1.doStartTag(); if (_jspx_th_aui_005finput_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .reuse(_jspx_th_aui_005finput_005f1); return; } _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .reuse(_jspx_th_aui_005finput_005f1); out.write("\n"); out.write("\n"); out.write(" <div class=\"portlet-toolbar search-form\">\n"); out.write(" <span class=\"aui-search-bar\">\n"); out.write(" "); // aui:input com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f2 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005ftype_005ftitle_005fsize_005fname_005flabel_005finlineField_005fnobody .get(com.liferay.taglib.aui.InputTag.class); _jspx_th_aui_005finput_005f2.setPageContext(_jspx_page_context); _jspx_th_aui_005finput_005f2 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fform_005f0); // /html/view.jsp(52,7) name = inlineField type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setInlineField(true); // /html/view.jsp(52,7) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setLabel(""); // /html/view.jsp(52,7) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setName("keywords"); // /html/view.jsp(52,7) null _jspx_th_aui_005finput_005f2.setDynamicAttribute(null, "size", new String("30")); // /html/view.jsp(52,7) name = title type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setTitle("search-entries"); // /html/view.jsp(52,7) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setType("text"); int _jspx_eval_aui_005finput_005f2 = _jspx_th_aui_005finput_005f2.doStartTag(); if (_jspx_th_aui_005finput_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005finput_0026_005ftype_005ftitle_005fsize_005fname_005flabel_005finlineField_005fnobody .reuse(_jspx_th_aui_005finput_005f2); return; } _005fjspx_005ftagPool_005faui_005finput_0026_005ftype_005ftitle_005fsize_005fname_005flabel_005finlineField_005fnobody .reuse(_jspx_th_aui_005finput_005f2); out.write("\n"); out.write("\n"); out.write(" "); if (_jspx_meth_aui_005fbutton_005f0(_jspx_th_aui_005fform_005f0, _jspx_page_context)) return; out.write("\n"); out.write(" </span>\n"); out.write(" </div>\n"); int evalDoAfterBody = _jspx_th_aui_005fform_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_aui_005fform_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_aui_005fform_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005fform_0026_005fname_005fmethod_005faction .reuse(_jspx_th_aui_005fform_005f0); return; } _005fjspx_005ftagPool_005faui_005fform_0026_005fname_005fmethod_005faction .reuse(_jspx_th_aui_005fform_005f0); out.write('\n'); out.write('\n'); out.write('\n'); // aui:form com.liferay.taglib.aui.FormTag _jspx_th_aui_005fform_005f1 = (com.liferay.taglib.aui.FormTag) _005fjspx_005ftagPool_005faui_005fform_0026_005fonSubmit_005fname_005fmethod_005faction .get(com.liferay.taglib.aui.FormTag.class); _jspx_th_aui_005fform_005f1.setPageContext(_jspx_page_context); _jspx_th_aui_005fform_005f1.setParent(null); // /html/view.jsp(60,0) name = action type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fform_005f1.setAction(tabsURL); // /html/view.jsp(60,0) null _jspx_th_aui_005fform_005f1.setDynamicAttribute(null, "method", new String("get")); // /html/view.jsp(60,0) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fform_005f1.setName("fm1"); // /html/view.jsp(60,0) name = onSubmit type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fform_005f1.setOnSubmit("submitForm(this); return false;"); int _jspx_eval_aui_005fform_005f1 = _jspx_th_aui_005fform_005f1.doStartTag(); if (_jspx_eval_aui_005fform_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_aui_005fform_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_aui_005fform_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_aui_005fform_005f1.doInitBody(); } do { out.write('\n'); if (_jspx_meth_liferay_002dportlet_005frenderURLParams_005f1(_jspx_th_aui_005fform_005f1, _jspx_page_context)) return; out.write('\n'); out.write('\n'); // liferay-ui:tabs com.liferay.taglib.ui.TabsTag _jspx_th_liferay_002dui_005ftabs_005f0 = (com.liferay.taglib.ui.TabsTag) _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005ftabsValues_005fportletURL_005fnames_005fnobody .get(com.liferay.taglib.ui.TabsTag.class); _jspx_th_liferay_002dui_005ftabs_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005ftabs_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fform_005f1); // /html/view.jsp(63,0) name = names type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setNames(tabs1Values); // /html/view.jsp(63,0) name = tabsValues type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setTabsValues(tabs1Values); // /html/view.jsp(63,0) name = portletURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setPortletURL(tabsURL); int _jspx_eval_liferay_002dui_005ftabs_005f0 = _jspx_th_liferay_002dui_005ftabs_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005ftabs_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005ftabsValues_005fportletURL_005fnames_005fnobody .reuse(_jspx_th_liferay_002dui_005ftabs_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005ftabsValues_005fportletURL_005fnames_005fnobody .reuse(_jspx_th_liferay_002dui_005ftabs_005f0); out.write('\n'); out.write('\n'); // c:choose org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f0 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose .get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class); _jspx_th_c_005fchoose_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fchoose_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fform_005f1); int _jspx_eval_c_005fchoose_005f0 = _jspx_th_c_005fchoose_005f0.doStartTag(); if (_jspx_eval_c_005fchoose_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write('\n'); out.write(' '); out.write(' '); // c:when org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f0 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class); _jspx_th_c_005fwhen_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fwhen_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0); // /html/view.jsp(70,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fwhen_005f0.setTest(tabs1.equals("by-rating")); int _jspx_eval_c_005fwhen_005f0 = _jspx_th_c_005fwhen_005f0.doStartTag(); if (_jspx_eval_c_005fwhen_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write(" "); // liferay-ui:search-container com.liferay.taglib.ui.SearchContainerTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 = (com.liferay.taglib.ui.SearchContainerTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_0026_005fiteratorURL_005femptyResultsMessage_005fdelta .get(com.liferay.taglib.ui.SearchContainerTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f0); // /html/view.jsp(71,4) name = emptyResultsMessage type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 .setEmptyResultsMessage("there-are-no-slogans"); // /html/view.jsp(71,4) name = delta type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0.setDelta(20); // /html/view.jsp(71,4) name = iteratorURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 .setIteratorURL(iteratorURL); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_005f0 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 .doStartTag(); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { com.liferay.portal.kernel.dao.search.SearchContainer searchContainer = null; if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0.doInitBody(); } searchContainer = (com.liferay.portal.kernel.dao.search.SearchContainer) _jspx_page_context .findAttribute("searchContainer"); do { out.write("\n"); out.write(" "); // liferay-ui:search-container-results java.util.List results = null; java.lang.Integer total = null; com.liferay.taglib.ui.SearchContainerResultsTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0 = (com.liferay.taglib.ui.SearchContainerResultsTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dresults .get(com.liferay.taglib.ui.SearchContainerResultsTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0 .doStartTag(); results = (java.util.List) _jspx_page_context.findAttribute("results"); total = (java.lang.Integer) _jspx_page_context.findAttribute("total"); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write(" "); results = ActionUtil.getSlogans(renderRequest, searchContainer.getStart(), searchContainer.getEnd()); total = ActionUtil.getSlogansCount(renderRequest); pageContext.setAttribute("results", results); pageContext.setAttribute("total", total); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0 .doAfterBody(); results = (java.util.List) _jspx_page_context .findAttribute("results"); total = (java.lang.Integer) _jspx_page_context .findAttribute("total"); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dresults .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0); return; } results = (java.util.List) _jspx_page_context.findAttribute("results"); total = (java.lang.Integer) _jspx_page_context.findAttribute("total"); _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dresults .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f0); out.write("\n"); out.write("\n"); out.write(" "); // liferay-ui:search-container-row com.liferay.taglib.ui.SearchContainerRowTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 = (com.liferay.taglib.ui.SearchContainerRowTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002drow_0026_005fmodelVar_005fkeyProperty_005fclassName .get(com.liferay.taglib.ui.SearchContainerRowTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0); // /html/view.jsp(82,6) name = className type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .setClassName("org.tvd.thptty.slogan.model.Slogan"); // /html/view.jsp(82,6) name = keyProperty type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .setKeyProperty("sloganId"); // /html/view.jsp(82,6) name = modelVar type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .setModelVar("slogan"); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .doStartTag(); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { java.lang.Integer index = null; org.tvd.thptty.slogan.model.Slogan slogan = null; com.liferay.portal.kernel.dao.search.ResultRow row = null; if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .setBodyContent( (javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .doInitBody(); } index = (java.lang.Integer) _jspx_page_context .findAttribute("index"); slogan = (org.tvd.thptty.slogan.model.Slogan) _jspx_page_context .findAttribute("slogan"); row = (com.liferay.portal.kernel.dao.search.ResultRow) _jspx_page_context .findAttribute("row"); do { out.write("\n"); out.write("\n"); out.write(" "); // portlet:renderURL com.liferay.taglib.portlet.RenderURLTag _jspx_th_portlet_005frenderURL_005f1 = (com.liferay.taglib.portlet.RenderURLTag) _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar .get(com.liferay.taglib.portlet.RenderURLTag.class); _jspx_th_portlet_005frenderURL_005f1 .setPageContext(_jspx_page_context); _jspx_th_portlet_005frenderURL_005f1.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0); // /html/view.jsp(87,8) name = windowState type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005frenderURL_005f1 .setWindowState("maximized"); // /html/view.jsp(87,8) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005frenderURL_005f1.setVar("rowURL"); int _jspx_eval_portlet_005frenderURL_005f1 = _jspx_th_portlet_005frenderURL_005f1 .doStartTag(); if (_jspx_eval_portlet_005frenderURL_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_portlet_005frenderURL_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_portlet_005frenderURL_005f1.setBodyContent( (javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_portlet_005frenderURL_005f1.doInitBody(); } do { out.write("\n"); out.write(" "); if (_jspx_meth_portlet_005fparam_005f2( _jspx_th_portlet_005frenderURL_005f1, _jspx_page_context)) return; out.write("\n"); out.write(" "); // portlet:param com.liferay.taglib.util.ParamTag _jspx_th_portlet_005fparam_005f3 = (com.liferay.taglib.util.ParamTag) _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .get(com.liferay.taglib.util.ParamTag.class); _jspx_th_portlet_005fparam_005f3 .setPageContext(_jspx_page_context); _jspx_th_portlet_005fparam_005f3.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_portlet_005frenderURL_005f1); // /html/view.jsp(89,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005fparam_005f3 .setName("resourcePrimKey"); // /html/view.jsp(89,10) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005fparam_005f3 .setValue(String.valueOf(slogan.getSloganId())); int _jspx_eval_portlet_005fparam_005f3 = _jspx_th_portlet_005fparam_005f3 .doStartTag(); if (_jspx_th_portlet_005fparam_005f3 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .reuse(_jspx_th_portlet_005fparam_005f3); return; } _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .reuse(_jspx_th_portlet_005fparam_005f3); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_portlet_005frenderURL_005f1 .doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_portlet_005frenderURL_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_portlet_005frenderURL_005f1 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar .reuse(_jspx_th_portlet_005frenderURL_005f1); return; } _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar .reuse(_jspx_th_portlet_005frenderURL_005f1); java.lang.String rowURL = null; rowURL = (java.lang.String) _jspx_page_context .findAttribute("rowURL"); out.write("\n"); out.write("\n"); out.write(" "); // liferay-ui:search-container-column-text com.liferay.taglib.ui.SearchContainerColumnTextTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 = (com.liferay.taglib.ui.SearchContainerColumnTextTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fname .get(com.liferay.taglib.ui.SearchContainerColumnTextTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0); // /html/view.jsp(92,8) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 .setName("rating"); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 .doStartTag(); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 .setBodyContent( (javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 .doInitBody(); } do { out.write("\n"); out.write(" "); // liferay-ui:ratings-score com.liferay.taglib.ui.RatingsScoreTag _jspx_th_liferay_002dui_005fratings_002dscore_005f0 = (com.liferay.taglib.ui.RatingsScoreTag) _005fjspx_005ftagPool_005fliferay_002dui_005fratings_002dscore_0026_005fscore_005fnobody .get(com.liferay.taglib.ui.RatingsScoreTag.class); _jspx_th_liferay_002dui_005fratings_002dscore_005f0 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fratings_002dscore_005f0 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0); // /html/view.jsp(93,10) name = score type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fratings_002dscore_005f0 .setScore(slogan.getAverageScore()); int _jspx_eval_liferay_002dui_005fratings_002dscore_005f0 = _jspx_th_liferay_002dui_005fratings_002dscore_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005fratings_002dscore_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fratings_002dscore_0026_005fscore_005fnobody .reuse(_jspx_th_liferay_002dui_005fratings_002dscore_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fratings_002dscore_0026_005fscore_005fnobody .reuse(_jspx_th_liferay_002dui_005fratings_002dscore_005f0); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 .doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fname .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fname .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f0); out.write("\n"); out.write(" "); // liferay-ui:search-container-column-text com.liferay.taglib.ui.SearchContainerColumnTextTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 = (com.liferay.taglib.ui.SearchContainerColumnTextTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fhref_005fnobody .get(com.liferay.taglib.ui.SearchContainerColumnTextTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0); // /html/view.jsp(96,8) name = href type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 .setHref(rowURL); // /html/view.jsp(96,8) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 .setName("slogan-text"); // /html/view.jsp(96,8) name = property type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 .setProperty("sloganText"); // /html/view.jsp(96,8) name = orderable type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 .setOrderable(true); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 .doStartTag(); if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fhref_005fnobody .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fhref_005fnobody .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f1); out.write("\n"); out.write(" "); if (_jspx_meth_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002djsp_005f0( _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0, _jspx_page_context)) return; out.write("\n"); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .doAfterBody(); index = (java.lang.Integer) _jspx_page_context .findAttribute("index"); slogan = (org.tvd.thptty.slogan.model.Slogan) _jspx_page_context .findAttribute("slogan"); row = (com.liferay.portal.kernel.dao.search.ResultRow) _jspx_page_context .findAttribute("row"); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002drow_0026_005fmodelVar_005fkeyProperty_005fclassName .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002drow_0026_005fmodelVar_005fkeyProperty_005fclassName .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f0); out.write("\n"); out.write("\n"); out.write(" "); if (_jspx_meth_liferay_002dui_005fsearch_002diterator_005f0( _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0, _jspx_page_context)) return; out.write("\n"); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 .doAfterBody(); searchContainer = (com.liferay.portal.kernel.dao.search.SearchContainer) _jspx_page_context .findAttribute("searchContainer"); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_0026_005fiteratorURL_005femptyResultsMessage_005fdelta .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_0026_005fiteratorURL_005femptyResultsMessage_005fdelta .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_005f0); out.write('\n'); out.write(' '); out.write(' '); int evalDoAfterBody = _jspx_th_c_005fwhen_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fwhen_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f0); return; } _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f0); out.write("\n"); out.write("\n"); out.write(" "); // c:when org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f1 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class); _jspx_th_c_005fwhen_005f1.setPageContext(_jspx_page_context); _jspx_th_c_005fwhen_005f1 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0); // /html/view.jsp(114,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fwhen_005f1.setTest(tabs1.equals("by-date")); int _jspx_eval_c_005fwhen_005f1 = _jspx_th_c_005fwhen_005f1.doStartTag(); if (_jspx_eval_c_005fwhen_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write(" "); // liferay-ui:search-container com.liferay.taglib.ui.SearchContainerTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 = (com.liferay.taglib.ui.SearchContainerTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_0026_005fiteratorURL_005femptyResultsMessage_005fdelta .get(com.liferay.taglib.ui.SearchContainerTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f1); // /html/view.jsp(115,4) name = emptyResultsMessage type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 .setEmptyResultsMessage("there-are-no-slogans"); // /html/view.jsp(115,4) name = delta type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1.setDelta(20); // /html/view.jsp(115,4) name = iteratorURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 .setIteratorURL(iteratorURL); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_005f1 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 .doStartTag(); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { com.liferay.portal.kernel.dao.search.SearchContainer searchContainer = null; if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1.doInitBody(); } searchContainer = (com.liferay.portal.kernel.dao.search.SearchContainer) _jspx_page_context .findAttribute("searchContainer"); do { out.write("\n"); out.write(" "); // liferay-ui:search-container-results java.util.List results = null; java.lang.Integer total = null; com.liferay.taglib.ui.SearchContainerResultsTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1 = (com.liferay.taglib.ui.SearchContainerResultsTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dresults .get(com.liferay.taglib.ui.SearchContainerResultsTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1 .doStartTag(); results = (java.util.List) _jspx_page_context.findAttribute("results"); total = (java.lang.Integer) _jspx_page_context.findAttribute("total"); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write(" "); //List<Slogan> tempResults = ActionUtil.getSlogans(renderRequest); results = ActionUtil.getSlogans(renderRequest, searchContainer.getStart(), searchContainer.getEnd(), searchContainer.getOrderByComparator()); total = ActionUtil.getSlogansCount(renderRequest); pageContext.setAttribute("results", results); pageContext.setAttribute("total", total); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1 .doAfterBody(); results = (java.util.List) _jspx_page_context .findAttribute("results"); total = (java.lang.Integer) _jspx_page_context .findAttribute("total"); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dresults .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1); return; } results = (java.util.List) _jspx_page_context.findAttribute("results"); total = (java.lang.Integer) _jspx_page_context.findAttribute("total"); _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dresults .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dresults_005f1); out.write("\n"); out.write("\n"); out.write(" "); // liferay-ui:search-container-row com.liferay.taglib.ui.SearchContainerRowTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 = (com.liferay.taglib.ui.SearchContainerRowTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002drow_0026_005fmodelVar_005fkeyProperty_005fclassName .get(com.liferay.taglib.ui.SearchContainerRowTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1); // /html/view.jsp(129,6) name = className type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .setClassName("org.tvd.thptty.slogan.model.Slogan"); // /html/view.jsp(129,6) name = keyProperty type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .setKeyProperty("sloganId"); // /html/view.jsp(129,6) name = modelVar type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .setModelVar("slogan"); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .doStartTag(); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { java.lang.Integer index = null; org.tvd.thptty.slogan.model.Slogan slogan = null; com.liferay.portal.kernel.dao.search.ResultRow row = null; if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .setBodyContent( (javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .doInitBody(); } index = (java.lang.Integer) _jspx_page_context .findAttribute("index"); slogan = (org.tvd.thptty.slogan.model.Slogan) _jspx_page_context .findAttribute("slogan"); row = (com.liferay.portal.kernel.dao.search.ResultRow) _jspx_page_context .findAttribute("row"); do { out.write("\n"); out.write("\n"); out.write(" "); // portlet:renderURL com.liferay.taglib.portlet.RenderURLTag _jspx_th_portlet_005frenderURL_005f2 = (com.liferay.taglib.portlet.RenderURLTag) _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar .get(com.liferay.taglib.portlet.RenderURLTag.class); _jspx_th_portlet_005frenderURL_005f2 .setPageContext(_jspx_page_context); _jspx_th_portlet_005frenderURL_005f2.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1); // /html/view.jsp(134,8) name = windowState type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005frenderURL_005f2 .setWindowState("maximized"); // /html/view.jsp(134,8) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005frenderURL_005f2.setVar("rowURL"); int _jspx_eval_portlet_005frenderURL_005f2 = _jspx_th_portlet_005frenderURL_005f2 .doStartTag(); if (_jspx_eval_portlet_005frenderURL_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_portlet_005frenderURL_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_portlet_005frenderURL_005f2.setBodyContent( (javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_portlet_005frenderURL_005f2.doInitBody(); } do { out.write("\n"); out.write(" "); if (_jspx_meth_portlet_005fparam_005f4( _jspx_th_portlet_005frenderURL_005f2, _jspx_page_context)) return; out.write("\n"); out.write(" "); // portlet:param com.liferay.taglib.util.ParamTag _jspx_th_portlet_005fparam_005f5 = (com.liferay.taglib.util.ParamTag) _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .get(com.liferay.taglib.util.ParamTag.class); _jspx_th_portlet_005fparam_005f5 .setPageContext(_jspx_page_context); _jspx_th_portlet_005fparam_005f5.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_portlet_005frenderURL_005f2); // /html/view.jsp(136,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005fparam_005f5 .setName("resourcePrimKey"); // /html/view.jsp(136,10) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005fparam_005f5 .setValue(String.valueOf(slogan.getSloganId())); int _jspx_eval_portlet_005fparam_005f5 = _jspx_th_portlet_005fparam_005f5 .doStartTag(); if (_jspx_th_portlet_005fparam_005f5 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .reuse(_jspx_th_portlet_005fparam_005f5); return; } _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .reuse(_jspx_th_portlet_005fparam_005f5); out.write("\n"); out.write(" "); // portlet:param com.liferay.taglib.util.ParamTag _jspx_th_portlet_005fparam_005f6 = (com.liferay.taglib.util.ParamTag) _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .get(com.liferay.taglib.util.ParamTag.class); _jspx_th_portlet_005fparam_005f6 .setPageContext(_jspx_page_context); _jspx_th_portlet_005fparam_005f6.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_portlet_005frenderURL_005f2); // /html/view.jsp(137,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005fparam_005f6.setName("redirect"); // /html/view.jsp(137,10) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_portlet_005fparam_005f6.setValue(currentURL); int _jspx_eval_portlet_005fparam_005f6 = _jspx_th_portlet_005fparam_005f6 .doStartTag(); if (_jspx_th_portlet_005fparam_005f6 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .reuse(_jspx_th_portlet_005fparam_005f6); return; } _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody .reuse(_jspx_th_portlet_005fparam_005f6); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_portlet_005frenderURL_005f2 .doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_portlet_005frenderURL_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_portlet_005frenderURL_005f2 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar .reuse(_jspx_th_portlet_005frenderURL_005f2); return; } _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar .reuse(_jspx_th_portlet_005frenderURL_005f2); java.lang.String rowURL = null; rowURL = (java.lang.String) _jspx_page_context .findAttribute("rowURL"); out.write("\n"); out.write("\n"); out.write(" "); // liferay-ui:search-container-column-text com.liferay.taglib.ui.SearchContainerColumnTextTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 = (com.liferay.taglib.ui.SearchContainerColumnTextTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fnobody .get(com.liferay.taglib.ui.SearchContainerColumnTextTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1); // /html/view.jsp(140,8) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 .setName("slogan-date"); // /html/view.jsp(140,8) name = property type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 .setProperty("sloganDate"); // /html/view.jsp(140,8) name = orderable type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 .setOrderable(true); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 .doStartTag(); if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fnobody .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fnobody .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f2); out.write("\n"); out.write("\n"); out.write(" "); // liferay-ui:search-container-column-text com.liferay.taglib.ui.SearchContainerColumnTextTag _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 = (com.liferay.taglib.ui.SearchContainerColumnTextTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fhref_005fnobody .get(com.liferay.taglib.ui.SearchContainerColumnTextTag.class); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1); // /html/view.jsp(145,8) name = href type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 .setHref(rowURL); // /html/view.jsp(145,8) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 .setName("slogan-text"); // /html/view.jsp(145,8) name = property type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 .setProperty("sloganText"); // /html/view.jsp(145,8) name = orderable type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 .setOrderable(true); int _jspx_eval_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 .doStartTag(); if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fhref_005fnobody .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_0026_005fproperty_005forderable_005fname_005fhref_005fnobody .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002dtext_005f3); out.write("\n"); out.write("\n"); out.write(" "); if (_jspx_meth_liferay_002dui_005fsearch_002dcontainer_002dcolumn_002djsp_005f1( _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1, _jspx_page_context)) return; out.write("\n"); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .doAfterBody(); index = (java.lang.Integer) _jspx_page_context .findAttribute("index"); slogan = (org.tvd.thptty.slogan.model.Slogan) _jspx_page_context .findAttribute("slogan"); row = (com.liferay.portal.kernel.dao.search.ResultRow) _jspx_page_context .findAttribute("row"); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002drow_0026_005fmodelVar_005fkeyProperty_005fclassName .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_002drow_0026_005fmodelVar_005fkeyProperty_005fclassName .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_002drow_005f1); out.write("\n"); out.write("\n"); out.write(" "); if (_jspx_meth_liferay_002dui_005fsearch_002diterator_005f1( _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1, _jspx_page_context)) return; out.write("\n"); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 .doAfterBody(); searchContainer = (com.liferay.portal.kernel.dao.search.SearchContainer) _jspx_page_context .findAttribute("searchContainer"); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_liferay_002dui_005fsearch_002dcontainer_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_0026_005fiteratorURL_005femptyResultsMessage_005fdelta .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dcontainer_0026_005fiteratorURL_005femptyResultsMessage_005fdelta .reuse(_jspx_th_liferay_002dui_005fsearch_002dcontainer_005f1); out.write("\n"); out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_c_005fwhen_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fwhen_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f1); return; } _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f1); out.write('\n'); int evalDoAfterBody = _jspx_th_c_005fchoose_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fchoose_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0); return; } _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0); out.write('\n'); int evalDoAfterBody = _jspx_th_aui_005fform_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_aui_005fform_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_aui_005fform_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005fform_0026_005fonSubmit_005fname_005fmethod_005faction .reuse(_jspx_th_aui_005fform_005f1); return; } _005fjspx_005ftagPool_005faui_005fform_0026_005fonSubmit_005fname_005fmethod_005faction .reuse(_jspx_th_aui_005fform_005f1); out.write('\n'); out.write('\n'); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }