org.apache.jsp.html.portlet.asset_005fpublisher.view_jsp.java Source code

Java tutorial

Introduction

Here is the source code for org.apache.jsp.html.portlet.asset_005fpublisher.view_jsp.java

Source

    package org.apache.jsp.html.portlet.asset_005fpublisher;

    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import com.liferay.counter.service.CounterLocalServiceUtil;
    import com.liferay.portal.NoSuchUserException;
    import com.liferay.portal.kernel.captcha.CaptchaMaxChallengesException;
    import com.liferay.portal.kernel.captcha.CaptchaTextException;
    import com.liferay.portal.kernel.bean.BeanParamUtil;
    import com.liferay.portal.kernel.bean.BeanPropertiesUtil;
    import com.liferay.portal.kernel.cal.Recurrence;
    import com.liferay.portal.kernel.configuration.Filter;
    import com.liferay.portal.kernel.dao.orm.QueryUtil;
    import com.liferay.portal.kernel.dao.search.DAOParamUtil;
    import com.liferay.portal.kernel.dao.search.DisplayTerms;
    import com.liferay.portal.kernel.dao.search.ResultRow;
    import com.liferay.portal.kernel.dao.search.RowChecker;
    import com.liferay.portal.kernel.dao.search.ScoreSearchEntry;
    import com.liferay.portal.kernel.dao.search.SearchContainer;
    import com.liferay.portal.kernel.dao.search.SearchEntry;
    import com.liferay.portal.kernel.dao.search.TextSearchEntry;
    import com.liferay.portal.kernel.exception.PortalException;
    import com.liferay.portal.kernel.exception.SystemException;
    import com.liferay.portal.kernel.io.unsync.UnsyncStringReader;
    import com.liferay.portal.kernel.json.JSONArray;
    import com.liferay.portal.kernel.json.JSONFactoryUtil;
    import com.liferay.portal.kernel.json.JSONObject;
    import com.liferay.portal.kernel.language.LanguageUtil;
    import com.liferay.portal.kernel.language.LanguageWrapper;
    import com.liferay.portal.kernel.language.UnicodeLanguageUtil;
    import com.liferay.portal.kernel.log.Log;
    import com.liferay.portal.kernel.log.LogFactoryUtil;
    import com.liferay.portal.kernel.log.LogUtil;
    import com.liferay.portal.kernel.messaging.DestinationNames;
    import com.liferay.portal.kernel.messaging.MessageBusUtil;
    import com.liferay.portal.kernel.portlet.DynamicRenderRequest;
    import com.liferay.portal.kernel.portlet.LiferayPortletMode;
    import com.liferay.portal.kernel.portlet.LiferayPortletRequest;
    import com.liferay.portal.kernel.portlet.LiferayPortletResponse;
    import com.liferay.portal.kernel.portlet.LiferayPortletURL;
    import com.liferay.portal.kernel.portlet.LiferayWindowState;
    import com.liferay.portal.kernel.search.Field;
    import com.liferay.portal.kernel.servlet.BrowserSnifferUtil;
    import com.liferay.portal.kernel.servlet.ImageServletTokenUtil;
    import com.liferay.portal.kernel.servlet.ServletContextUtil;
    import com.liferay.portal.kernel.servlet.SessionErrors;
    import com.liferay.portal.kernel.servlet.SessionMessages;
    import com.liferay.portal.kernel.servlet.StringServletResponse;
    import com.liferay.portal.kernel.util.ArrayUtil;
    import com.liferay.portal.kernel.util.BooleanWrapper;
    import com.liferay.portal.kernel.util.BreadcrumbsUtil;
    import com.liferay.portal.kernel.util.CalendarFactoryUtil;
    import com.liferay.portal.kernel.util.CalendarUtil;
    import com.liferay.portal.kernel.util.CharPool;
    import com.liferay.portal.kernel.util.Constants;
    import com.liferay.portal.kernel.util.ContentTypes;
    import com.liferay.portal.kernel.util.DateFormatFactoryUtil;
    import com.liferay.portal.kernel.util.DateUtil;
    import com.liferay.portal.kernel.util.FastDateFormatFactoryUtil;
    import com.liferay.portal.kernel.util.FileUtil;
    import com.liferay.portal.kernel.util.GetterUtil;
    import com.liferay.portal.kernel.util.HtmlUtil;
    import com.liferay.portal.kernel.util.Http;
    import com.liferay.portal.kernel.util.HttpUtil;
    import com.liferay.portal.kernel.util.IntegerWrapper;
    import com.liferay.portal.kernel.util.JavaConstants;
    import com.liferay.portal.kernel.util.KeyValuePair;
    import com.liferay.portal.kernel.util.KeyValuePairComparator;
    import com.liferay.portal.kernel.util.ListUtil;
    import com.liferay.portal.kernel.util.LocaleUtil;
    import com.liferay.portal.kernel.util.LocalizationUtil;
    import com.liferay.portal.kernel.util.LongWrapper;
    import com.liferay.portal.kernel.util.MathUtil;
    import com.liferay.portal.kernel.util.ObjectValuePair;
    import com.liferay.portal.kernel.util.ObjectValuePairComparator;
    import com.liferay.portal.kernel.util.OrderByComparator;
    import com.liferay.portal.kernel.util.OrderedProperties;
    import com.liferay.portal.kernel.util.ParamUtil;
    import com.liferay.portal.kernel.util.PrefsParamUtil;
    import com.liferay.portal.kernel.util.PropertiesParamUtil;
    import com.liferay.portal.kernel.util.PropertiesUtil;
    import com.liferay.portal.kernel.util.PropsKeys;
    import com.liferay.portal.kernel.util.Randomizer;
    import com.liferay.portal.kernel.util.ReleaseInfo;
    import com.liferay.portal.kernel.util.ServerDetector;
    import com.liferay.portal.kernel.util.SetUtil;
    import com.liferay.portal.kernel.util.SortedProperties;
    import com.liferay.portal.kernel.util.StackTraceUtil;
    import com.liferay.portal.kernel.util.StringBundler;
    import com.liferay.portal.kernel.util.StringComparator;
    import com.liferay.portal.kernel.util.StringPool;
    import com.liferay.portal.kernel.util.StringUtil;
    import com.liferay.portal.kernel.util.Time;
    import com.liferay.portal.kernel.util.TimeZoneUtil;
    import com.liferay.portal.kernel.util.UnicodeFormatter;
    import com.liferay.portal.kernel.util.UnicodeProperties;
    import com.liferay.portal.kernel.util.Validator;
    import com.liferay.portal.kernel.workflow.WorkflowConstants;
    import com.liferay.portal.language.LanguageImpl;
    import com.liferay.portal.model.*;
    import com.liferay.portal.model.impl.*;
    import com.liferay.portal.security.auth.AuthTokenUtil;
    import com.liferay.portal.security.auth.PrincipalException;
    import com.liferay.portal.security.permission.ActionKeys;
    import com.liferay.portal.security.permission.PermissionChecker;
    import com.liferay.portal.service.*;
    import com.liferay.portal.service.permission.GroupPermissionUtil;
    import com.liferay.portal.service.permission.LayoutPermissionUtil;
    import com.liferay.portal.service.permission.LayoutPrototypePermissionUtil;
    import com.liferay.portal.service.permission.LayoutSetPrototypePermissionUtil;
    import com.liferay.portal.service.permission.PortletPermissionUtil;
    import com.liferay.portal.struts.StrutsUtil;
    import com.liferay.portal.theme.PortletDisplay;
    import com.liferay.portal.theme.ThemeDisplay;
    import com.liferay.portal.util.ContentUtil;
    import com.liferay.portal.util.CookieKeys;
    import com.liferay.portal.util.JavaScriptBundleUtil;
    import com.liferay.portal.util.Portal;
    import com.liferay.portal.util.PortalUtil;
    import com.liferay.portal.util.PortletCategoryKeys;
    import com.liferay.portal.util.PortletKeys;
    import com.liferay.portal.util.PrefsPropsUtil;
    import com.liferay.portal.util.PropsUtil;
    import com.liferay.portal.util.PropsValues;
    import com.liferay.portal.util.SessionClicks;
    import com.liferay.portal.util.SessionTreeJSClicks;
    import com.liferay.portal.util.ShutdownUtil;
    import com.liferay.portal.util.WebAppPool;
    import com.liferay.portal.util.WebKeys;
    import com.liferay.portal.util.comparator.PortletCategoryComparator;
    import com.liferay.portal.util.comparator.PortletTitleComparator;
    import com.liferay.portlet.InvokerPortlet;
    import com.liferay.portlet.PortalPreferences;
    import com.liferay.portlet.PortletConfigFactoryUtil;
    import com.liferay.portlet.PortletInstanceFactoryUtil;
    import com.liferay.portlet.PortletPreferencesFactoryUtil;
    import com.liferay.portlet.PortletResponseImpl;
    import com.liferay.portlet.PortletSetupUtil;
    import com.liferay.portlet.PortletURLImpl;
    import com.liferay.portlet.PortletURLUtil;
    import com.liferay.portlet.RenderParametersPool;
    import com.liferay.portlet.RenderRequestFactory;
    import com.liferay.portlet.RenderRequestImpl;
    import com.liferay.portlet.RenderResponseFactory;
    import com.liferay.portlet.RenderResponseImpl;
    import com.liferay.portlet.UserAttributes;
    import com.liferay.portlet.portletconfiguration.util.PortletConfigurationUtil;
    import com.liferay.util.CreditCard;
    import com.liferay.util.Encryptor;
    import com.liferay.util.JS;
    import com.liferay.util.PKParser;
    import com.liferay.util.PwdGenerator;
    import com.liferay.util.State;
    import com.liferay.util.StateUtil;
    import com.liferay.util.TextFormatter;
    import com.liferay.util.UniqueList;
    import com.liferay.util.format.PhoneNumberUtil;
    import com.liferay.util.log4j.Levels;
    import com.liferay.util.mail.InternetAddressUtil;
    import com.liferay.util.portlet.PortletRequestUtil;
    import com.liferay.util.servlet.DynamicServletRequest;
    import com.liferay.util.servlet.SessionParameters;
    import com.liferay.util.servlet.UploadException;
    import com.liferay.util.xml.XMLFormatter;
    import java.io.Serializable;
    import java.math.BigDecimal;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.text.DateFormat;
    import java.text.DecimalFormat;
    import java.text.Format;
    import java.text.MessageFormat;
    import java.text.NumberFormat;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Calendar;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Currency;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.GregorianCalendar;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.MissingResourceException;
    import java.util.Properties;
    import java.util.ResourceBundle;
    import java.util.Set;
    import java.util.Stack;
    import java.util.TimeZone;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import javax.portlet.MimeResponse;
    import javax.portlet.PortletConfig;
    import javax.portlet.PortletContext;
    import javax.portlet.PortletException;
    import javax.portlet.PortletMode;
    import javax.portlet.PortletPreferences;
    import javax.portlet.PortletRequest;
    import javax.portlet.PortletResponse;
    import javax.portlet.PortletSession;
    import javax.portlet.PortletURL;
    import javax.portlet.RenderRequest;
    import javax.portlet.RenderResponse;
    import javax.portlet.ResourceURL;
    import javax.portlet.UnavailableException;
    import javax.portlet.ValidatorException;
    import javax.portlet.WindowState;
    import org.apache.commons.math.util.MathUtils;
    import org.apache.struts.Globals;
    import com.liferay.portal.kernel.search.Hits;
    import com.liferay.portal.kernel.search.Indexer;
    import com.liferay.portal.kernel.search.IndexerRegistryUtil;
    import com.liferay.portal.kernel.search.SearchContext;
    import com.liferay.portal.kernel.search.SearchContextFactory;
    import com.liferay.portal.kernel.portlet.LiferayPortletResponse;
    import com.liferay.portal.kernel.portlet.LiferayPortletRequest;
    import com.liferay.portal.kernel.xml.Document;
    import com.liferay.portal.kernel.xml.Element;
    import com.liferay.portal.kernel.xml.SAXReaderUtil;
    import com.liferay.portal.security.permission.ResourceActionsUtil;
    import com.liferay.portal.security.permission.comparator.ModelResourceComparator;
    import com.liferay.portlet.PortalPreferences;
    import com.liferay.portlet.PortletContextImpl;
    import com.liferay.portlet.asset.AssetRendererFactoryRegistryUtil;
    import com.liferay.portlet.asset.NoSuchEntryException;
    import com.liferay.portlet.asset.NoSuchTagException;
    import com.liferay.portlet.asset.NoSuchTagPropertyException;
    import com.liferay.portlet.asset.model.AssetCategory;
    import com.liferay.portlet.asset.model.AssetEntry;
    import com.liferay.portlet.asset.model.AssetRenderer;
    import com.liferay.portlet.asset.model.AssetRendererFactory;
    import com.liferay.portlet.asset.model.AssetTag;
    import com.liferay.portlet.asset.model.AssetTagProperty;
    import com.liferay.portlet.asset.model.AssetVocabulary;
    import com.liferay.portlet.asset.service.AssetCategoryLocalServiceUtil;
    import com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil;
    import com.liferay.portlet.asset.service.AssetEntryServiceUtil;
    import com.liferay.portlet.asset.service.AssetTagLocalServiceUtil;
    import com.liferay.portlet.asset.service.AssetTagPropertyLocalServiceUtil;
    import com.liferay.portlet.asset.service.AssetVocabularyLocalServiceUtil;
    import com.liferay.portlet.asset.service.persistence.AssetEntryQuery;
    import com.liferay.portlet.asset.util.AssetUtil;
    import com.liferay.portlet.assetpublisher.search.AssetDisplayTerms;
    import com.liferay.portlet.assetpublisher.search.AssetSearch;
    import com.liferay.portlet.assetpublisher.search.AssetSearchTerms;
    import com.liferay.portlet.assetpublisher.util.AssetPublisherUtil;
    import com.liferay.portlet.blogs.model.BlogsEntry;
    import com.liferay.portlet.blogs.service.BlogsEntryLocalServiceUtil;
    import com.liferay.portlet.blogs.service.BlogsEntryServiceUtil;
    import com.liferay.portlet.blogs.service.permission.BlogsEntryPermission;
    import com.liferay.portlet.blogs.service.permission.BlogsPermission;
    import com.liferay.portlet.bookmarks.model.BookmarksEntry;
    import com.liferay.portlet.bookmarks.model.BookmarksFolder;
    import com.liferay.portlet.bookmarks.model.BookmarksFolderConstants;
    import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalServiceUtil;
    import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceUtil;
    import com.liferay.portlet.bookmarks.service.permission.BookmarksEntryPermission;
    import com.liferay.portlet.bookmarks.service.permission.BookmarksFolderPermission;
    import com.liferay.portlet.bookmarks.service.permission.BookmarksPermission;
    import com.liferay.portlet.bookmarks.util.BookmarksUtil;
    import com.liferay.portlet.documentlibrary.model.DLFileEntry;
    import com.liferay.portlet.documentlibrary.model.DLFolder;
    import com.liferay.portlet.documentlibrary.model.DLFolderConstants;
    import com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl;
    import com.liferay.portlet.documentlibrary.model.impl.DLFolderImpl;
    import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil;
    import com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil;
    import com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil;
    import com.liferay.portlet.documentlibrary.service.permission.DLFileEntryPermission;
    import com.liferay.portlet.documentlibrary.service.permission.DLPermission;
    import com.liferay.portlet.documentlibrary.util.DLUtil;
    import com.liferay.portlet.documentlibrary.util.DocumentConversionUtil;
    import com.liferay.portlet.imagegallery.model.IGFolder;
    import com.liferay.portlet.imagegallery.model.IGFolderConstants;
    import com.liferay.portlet.imagegallery.model.IGImage;
    import com.liferay.portlet.imagegallery.service.IGFolderLocalServiceUtil;
    import com.liferay.portlet.imagegallery.service.IGImageLocalServiceUtil;
    import com.liferay.portlet.imagegallery.service.permission.IGImagePermission;
    import com.liferay.portlet.imagegallery.service.permission.IGPermission;
    import com.liferay.portlet.journalcontent.util.JournalContentUtil;
    import com.liferay.portlet.journal.NoSuchArticleException;
    import com.liferay.portlet.journal.action.EditArticleAction;
    import com.liferay.portlet.journal.model.JournalArticle;
    import com.liferay.portlet.journal.model.JournalArticleConstants;
    import com.liferay.portlet.journal.model.JournalArticleDisplay;
    import com.liferay.portlet.journal.model.JournalArticleResource;
    import com.liferay.portlet.journal.search.ArticleDisplayTerms;
    import com.liferay.portlet.journal.search.ArticleSearch;
    import com.liferay.portlet.journal.search.ArticleSearchTerms;
    import com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil;
    import com.liferay.portlet.journal.service.JournalArticleServiceUtil;
    import com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceUtil;
    import com.liferay.portlet.journal.service.permission.JournalArticlePermission;
    import com.liferay.portlet.journal.service.permission.JournalPermission;
    import com.liferay.portlet.messageboards.model.MBMessage;
    import com.liferay.portlet.messageboards.service.MBMessageLocalServiceUtil;
    import com.liferay.portlet.messageboards.service.permission.MBMessagePermission;
    import com.liferay.portlet.wiki.model.WikiNode;
    import com.liferay.portlet.wiki.model.WikiPage;
    import com.liferay.portlet.wiki.model.WikiPageDisplay;
    import com.liferay.portlet.wiki.model.WikiPageResource;
    import com.liferay.portlet.wiki.model.impl.WikiPageImpl;
    import com.liferay.portlet.wiki.service.WikiNodeLocalServiceUtil;
    import com.liferay.portlet.wiki.service.WikiPageLocalServiceUtil;
    import com.liferay.portlet.wiki.service.WikiPageResourceLocalServiceUtil;
    import com.liferay.portlet.wiki.service.permission.WikiPagePermission;
    import com.liferay.portlet.wiki.util.WikiCacheUtil;
    import com.liferay.portlet.wiki.util.WikiUtil;
    import com.liferay.util.RSSUtil;
    import com.liferay.util.xml.DocUtil;

    public final class view_jsp extends org.apache.jasper.runtime.HttpJspBase
            implements org.apache.jasper.runtime.JspSourceDependent {

        private String _checkViewURL(String viewURL, String currentURL, ThemeDisplay themeDisplay) {
            if (Validator.isNotNull(viewURL) && viewURL.startsWith(themeDisplay.getURLPortal())) {
                viewURL = HttpUtil.setParameter(viewURL, "redirect", currentURL);
            }

            return viewURL;
        }

        public PortletURL getAddPortletURL(RenderRequest renderRequest, PortletResponse portletResponse,
                String[] allAssetTagNames, String className) throws Exception {
            ThemeDisplay themeDisplay = (ThemeDisplay) renderRequest.getAttribute(WebKeys.THEME_DISPLAY);

            AssetRendererFactory assetRendererFactory = AssetRendererFactoryRegistryUtil
                    .getAssetRendererFactoryByClassName(className);

            PortletURL addPortletURL = null;

            if (assetRendererFactory != null) {
                addPortletURL = assetRendererFactory.getURLAdd((LiferayPortletRequest) renderRequest,
                        (LiferayPortletResponse) portletResponse);

                if (addPortletURL != null) {
                    addPortletURL.setWindowState(WindowState.MAXIMIZED);
                    addPortletURL.setPortletMode(PortletMode.VIEW);

                    addPortletURL.setParameter("redirect", themeDisplay.getURLCurrent());
                    addPortletURL.setParameter("backURL", themeDisplay.getURLCurrent());

                    String referringPortletResource = ParamUtil.getString(renderRequest, "portletResource");

                    if (Validator.isNotNull(referringPortletResource)) {
                        addPortletURL.setParameter("referringPortletResource", referringPortletResource);
                    } else {
                        PortletDisplay portletDisplay = themeDisplay.getPortletDisplay();

                        addPortletURL.setParameter("referringPortletResource", portletDisplay.getId());

                        addPortletURL.setParameter("assetTagNames", StringUtil.merge(allAssetTagNames));
                    }
                }
            }

            return addPortletURL;
        }

        public Map<String, PortletURL> getAddPortletURLs(RenderRequest renderRequest, PortletResponse portletResponse,
                String[] allAssetTagNames, long[] classNameIds) throws Exception {
            ThemeDisplay themeDisplay = (ThemeDisplay) renderRequest.getAttribute(WebKeys.THEME_DISPLAY);

            Map<String, PortletURL> addPortletURLs = new TreeMap<String, PortletURL>(
                    new ModelResourceComparator(themeDisplay.getLocale()));

            for (long classNameId : classNameIds) {
                ClassName className = ClassNameServiceUtil.getClassName(classNameId);

                PortletURL addPortletURL = getAddPortletURL(renderRequest, portletResponse, allAssetTagNames,
                        className.getValue());

                if (addPortletURL != null) {
                    addPortletURLs.put(className.getValue(), addPortletURL);
                }
            }

            return addPortletURLs;
        }

        private static Log _log = LogFactoryUtil.getLog("portal-web.docroot.html.portlet.asset_publisher.view.jsp");

        private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

        private static java.util.List _jspx_dependants;

        static {
            _jspx_dependants = new java.util.ArrayList(33);
            _jspx_dependants.add("/html/portlet/asset_publisher/init.jsp");
            _jspx_dependants.add("/html/portlet/init.jsp");
            _jspx_dependants.add("/html/common/init.jsp");
            _jspx_dependants.add("/html/common/init-ext.jsp");
            _jspx_dependants.add("/html/portlet/init-ext.jsp");
            _jspx_dependants.add("/html/portlet/asset_publisher/init-ext.jsp");
            _jspx_dependants.add("/html/portlet/asset_publisher/add_asset.jspf");
            _jspx_dependants.add("/html/portlet/asset_publisher/view_dynamic_list.jspf");
            _jspx_dependants.add("/html/portlet/asset_publisher/view_dynamic_list_asset.jspf");
            _jspx_dependants.add("/html/portlet/asset_publisher/view_display.jspf");
            _jspx_dependants.add("/html/portlet/asset_publisher/view_manual.jspf");
            _jspx_dependants.add("/WEB-INF/tld/displaytag.tld");
            _jspx_dependants.add("/WEB-INF/tld/c.tld");
            _jspx_dependants.add("/WEB-INF/tld/fmt.tld");
            _jspx_dependants.add("/WEB-INF/tld/fn.tld");
            _jspx_dependants.add("/WEB-INF/tld/sql.tld");
            _jspx_dependants.add("/WEB-INF/tld/x.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-portlet.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-aui.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-portlet-ext.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-security.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-theme.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-ui.tld");
            _jspx_dependants.add("/WEB-INF/tld/liferay-util.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-bean.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-bean-el.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-html.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-html-el.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-logic.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-logic-el.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-nested.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-tiles.tld");
            _jspx_dependants.add("/WEB-INF/tld/struts-tiles-el.tld");
        }

        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005faui_005fform_0026_005fname;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002dmenu_0026_005fshowWhenSingleIcon_005fmessage_005ficon_005falign;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fsrc_005fmessage_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fchoose;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dpaginator_0026_005ftype_005fsearchContainer_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fportlet_005fresourceURL_0026_005fvar;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005ftarget_005fmethod_005flabel_005fimage_005fnobody;
        private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fliferay_002dutil_005fhtml_002dtop;

        private javax.el.ExpressionFactory _el_expressionfactory;
        private org.apache.AnnotationProcessor _jsp_annotationprocessor;

        public Object getDependants() {
            return _jspx_dependants;
        }

        public void _jspInit() {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005faui_005fform_0026_005fname = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002dmenu_0026_005fshowWhenSingleIcon_005fmessage_005ficon_005falign = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fsrc_005fmessage_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fc_005fchoose = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dpaginator_0026_005ftype_005fsearchContainer_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fportlet_005fresourceURL_0026_005fvar = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005ftarget_005fmethod_005flabel_005fimage_005fnobody = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _005fjspx_005ftagPool_005fliferay_002dutil_005fhtml_002dtop = org.apache.jasper.runtime.TagHandlerPool
                    .getTagHandlerPool(getServletConfig());
            _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext())
                    .getExpressionFactory();
            _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext()
                    .getAttribute(org.apache.AnnotationProcessor.class.getName());
        }

        public void _jspDestroy() {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.release();
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody.release();
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
            _005fjspx_005ftagPool_005faui_005fform_0026_005fname.release();
            _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002dmenu_0026_005fshowWhenSingleIcon_005fmessage_005ficon_005falign
                    .release();
            _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fsrc_005fmessage_005fnobody.release();
            _005fjspx_005ftagPool_005fc_005fchoose.release();
            _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.release();
            _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.release();
            _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody.release();
            _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dpaginator_0026_005ftype_005fsearchContainer_005fnobody
                    .release();
            _005fjspx_005ftagPool_005fportlet_005fresourceURL_0026_005fvar.release();
            _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody.release();
            _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005ftarget_005fmethod_005flabel_005fimage_005fnobody
                    .release();
            _005fjspx_005ftagPool_005fliferay_002dutil_005fhtml_002dtop.release();
        }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    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; charset=UTF-8");
      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-2011 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-2011 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-2011 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-2011 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");
      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");
      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");
      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");
      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");
      //  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');

/**
 * Copyright (c) 2000-2011 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');
      //  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');

WindowState windowState = null;
PortletMode portletMode = null;

PortletURL currentURLObj = null;

if (renderRequest != null) {
   windowState = renderRequest.getWindowState();
   portletMode = renderRequest.getPortletMode();

   currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse);
}
else if (resourceRequest != null) {
   windowState = resourceRequest.getWindowState();
   portletMode = resourceRequest.getPortletMode();

   currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse);
}

String currentURL = currentURLObj.toString();
//String currentURL = PortalUtil.getCurrentURL(request);

      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 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");
      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");
      out.write("\n");
      out.write("\n");

PortletPreferences preferences = renderRequest.getPreferences();

String portletResource = ParamUtil.getString(request, "portletResource");

if (Validator.isNotNull(portletResource)) {
   preferences = PortletPreferencesFactoryUtil.getPortletSetup(request, portletResource);
}

String selectionStyle = preferences.getValue("selection-style", null);

if (Validator.isNull(selectionStyle)) {
   selectionStyle = "dynamic";
}

boolean defaultScope = GetterUtil.getBoolean(preferences.getValue("default-scope", null), true);

long[] groupIds = AssetPublisherUtil.getGroupIds(preferences, scopeGroupId, layout);

long[] availableClassNameIds = AssetRendererFactoryRegistryUtil.getClassNameIds();

boolean anyAssetType = GetterUtil.getBoolean(preferences.getValue("any-asset-type", Boolean.TRUE.toString()));

long[] classNameIds = AssetPublisherUtil.getClassNameIds(preferences, availableClassNameIds);

AssetEntryQuery   assetEntryQuery = new AssetEntryQuery();

String[] allAssetTagNames = new String[0];

if (selectionStyle.equals("dynamic")) {
   assetEntryQuery = AssetPublisherUtil.getAssetEntryQuery(preferences, scopeGroupId);

   allAssetTagNames = AssetPublisherUtil.getAssetTagNames(preferences, scopeGroupId);
}

long assetVocabularyId = GetterUtil.getLong(preferences.getValue("asset-vocabulary-id", StringPool.BLANK));

long assetCategoryId = ParamUtil.getLong(request, "categoryId");

String assetCategoryName = null;
String assetVocabularyName = null;

if (assetCategoryId > 0) {
   assetEntryQuery.setAllCategoryIds(new long[] {assetCategoryId});

   AssetCategory assetCategory = AssetCategoryLocalServiceUtil.getCategory(assetCategoryId);

   assetCategoryName = assetCategory.getName();

   AssetVocabulary assetVocabulary = AssetVocabularyLocalServiceUtil.getAssetVocabulary(assetCategory.getVocabularyId());

   assetVocabularyName = assetVocabulary.getName();

   PortalUtil.setPageKeywords(assetCategory.getName(), request);
}

String assetTagName = ParamUtil.getString(request, "tag");

if (Validator.isNotNull(assetTagName)) {
   allAssetTagNames = new String[] {assetTagName};

   long[] assetTagIds = AssetTagLocalServiceUtil.getTagIds(scopeGroupId, allAssetTagNames);

   assetEntryQuery.setAllTagIds(assetTagIds);

   PortalUtil.setPageKeywords(assetTagName, request);
}

boolean mergeUrlTags = GetterUtil.getBoolean(preferences.getValue("merge-url-tags", null), true);

String displayStyle = GetterUtil.getString(preferences.getValue("display-style", "abstracts"));

if (Validator.isNull(displayStyle)) {
   displayStyle = "abstracts";
}

boolean showAssetTitle = GetterUtil.getBoolean(preferences.getValue("show-asset-title", null), true);
boolean showContextLink = GetterUtil.getBoolean(preferences.getValue("show-context-link", null), true);
int abstractLength = GetterUtil.getInteger(preferences.getValue("abstract-length", StringPool.BLANK), 200);
String assetLinkBehaviour = GetterUtil.getString(preferences.getValue("asset-link-behaviour", "showFullContent"));
String orderByColumn1 = GetterUtil.getString(preferences.getValue("order-by-column-1", "modifiedDate"));
String orderByColumn2 = GetterUtil.getString(preferences.getValue("order-by-column-2", "title"));
String orderByType1 = GetterUtil.getString(preferences.getValue("order-by-type-1", "DESC"));
String orderByType2 = GetterUtil.getString(preferences.getValue("order-by-type-2", "ASC"));
boolean excludeZeroViewCount = GetterUtil.getBoolean(preferences.getValue("exclude-zero-view-count", "0"));
int delta = GetterUtil.getInteger(preferences.getValue("delta", StringPool.BLANK), SearchContainer.DEFAULT_DELTA);
String paginationType = GetterUtil.getString(preferences.getValue("pagination-type", "none"));
boolean showAvailableLocales = GetterUtil.getBoolean(preferences.getValue("show-available-locales", StringPool.BLANK));
boolean enableRatings = GetterUtil.getBoolean(preferences.getValue("enable-ratings", null));
boolean enableComments = GetterUtil.getBoolean(preferences.getValue("enable-comments", null));
boolean enableCommentRatings = GetterUtil.getBoolean(preferences.getValue("enable-comment-ratings", null));
boolean enableTagBasedNavigation = GetterUtil.getBoolean(preferences.getValue("enable-tag-based-navigation", null));

String[] conversions = DocumentConversionUtil.getConversions("html");
String[] extensions = preferences.getValues("extensions", new String[0]);
boolean openOfficeServerEnabled = PrefsPropsUtil.getBoolean(PropsKeys.OPENOFFICE_SERVER_ENABLED, PropsValues.OPENOFFICE_SERVER_ENABLED);
boolean enableConversions = openOfficeServerEnabled && (extensions != null) && (extensions.length > 0);
boolean enablePrint = GetterUtil.getBoolean(preferences.getValue("enable-print", null));
boolean enableFlags = GetterUtil.getBoolean(preferences.getValue("enable-flags", null));

String defaultMetadataFields = StringPool.BLANK;
String allMetadataFields = "create-date,modified-date,publish-date,expiration-date,priority,author,view-count,categories,tags";

String[] metadataFields = StringUtil.split(preferences.getValue("metadata-fields", defaultMetadataFields));

boolean enableRSS = GetterUtil.getBoolean(preferences.getValue("enable-rss", null));
int rssDelta = GetterUtil.getInteger(preferences.getValue("rss-delta", "20"));
String rssDisplayStyle = preferences.getValue("rss-display-style", RSSUtil.DISPLAY_STYLE_ABSTRACT);
String rssFormat = preferences.getValue("rss-format", "atom10");
String rssName = preferences.getValue("rss-name", portletDisplay.getTitle());

String[] assetEntryXmls = preferences.getValues("asset-entry-xml", new String[0]);

boolean viewInContext = assetLinkBehaviour.equals("viewInPortlet");

boolean showPortletWithNoResults = false;
boolean groupByClass = (assetVocabularyId == -1);
boolean allowEmptyResults = false;

Format dateFormatDate = FastDateFormatFactoryUtil.getDate(locale, timeZone);

      out.write('\n');
      out.write('\n');

/**
 * Copyright (c) 2000-2011 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');

if (mergeUrlTags) {
   String[] compilerTagNames = (String[])request.getAttribute(WebKeys.TAGS_COMPILER_ENTRIES);

   Set<String> layoutTagNames = AssetUtil.getLayoutTagNames(request);

   if (!layoutTagNames.isEmpty()) {
      compilerTagNames = ArrayUtil.append(compilerTagNames, layoutTagNames.toArray(new String[layoutTagNames.size()]));
   }

   String titleEntry = null;

   if ((compilerTagNames != null) && (compilerTagNames.length > 0)) {
      String[] newAssetTagNames = ArrayUtil.append(allAssetTagNames, compilerTagNames);

      allAssetTagNames = newAssetTagNames;

      titleEntry = compilerTagNames[compilerTagNames.length - 1];
   }

   String portletTitle = HtmlUtil.unescape(portletDisplay.getTitle());

   portletTitle = AssetUtil.substituteTagPropertyVariables(scopeGroupId, titleEntry, portletTitle);

   renderResponse.setTitle(portletTitle);
}

allAssetTagNames = ArrayUtil.distinct(allAssetTagNames, new StringComparator());

for (String curAssetTagName : allAssetTagNames) {
   try {
      AssetTag assetTag = AssetTagLocalServiceUtil.getTag(scopeGroupId, curAssetTagName);

      AssetTagProperty journalTemplateIdProperty = AssetTagPropertyLocalServiceUtil.getTagProperty(assetTag.getTagId(), "journal-template-id");

      String journalTemplateId = journalTemplateIdProperty.getValue();

      request.setAttribute(WebKeys.JOURNAL_TEMPLATE_ID, journalTemplateId);

      break;
   }
   catch (NoSuchTagException nste) {
   }
   catch (NoSuchTagPropertyException nstpe) {
   }
}

if (enableTagBasedNavigation && selectionStyle.equals("manual") && ((assetEntryQuery.getAllCategoryIds().length > 0) || (assetEntryQuery.getAllTagIds().length > 0))) {
   selectionStyle = "dynamic";
}

Group group = themeDisplay.getScopeGroup();

      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/portlet/asset_publisher/view.jsp(73,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( (group != null) && (!group.hasStagingGroup() || group.isStagingGroup()) );
      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('   ');
          //  aui:form
          com.liferay.taglib.aui.FormTag _jspx_th_aui_005fform_005f0 = (com.liferay.taglib.aui.FormTag) _005fjspx_005ftagPool_005faui_005fform_0026_005fname.get(com.liferay.taglib.aui.FormTag.class);
          _jspx_th_aui_005fform_005f0.setPageContext(_jspx_page_context);
          _jspx_th_aui_005fform_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0);
          // /html/portlet/asset_publisher/view.jsp(74,1) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_aui_005fform_005f0.setName("fm");
          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("\t\t<div class=\"add-asset-selector\">\n");
              out.write("\t\t\t");

/**
 * Copyright (c) 2000-2011 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');

Map<String, PortletURL> addPortletURLs = getAddPortletURLs(renderRequest, renderResponse, allAssetTagNames, classNameIds);

              out.write('\n');
              out.write('\n');
              //  c:if
              org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (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_005f1.setPageContext(_jspx_page_context);
              _jspx_th_c_005fif_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fform_005f0);
              // /html/portlet/asset_publisher/add_asset.jspf(21,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_c_005fif_005f1.setTest( !addPortletURLs.isEmpty() );
              int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
              if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\n");
                  out.write("\t<div class=\"lfr-meta-actions edit-controls\">\n");
                  out.write("\t\t");
                  //  liferay-ui:icon-menu
                  com.liferay.taglib.ui.IconMenuTag _jspx_th_liferay_002dui_005ficon_002dmenu_005f0 = (com.liferay.taglib.ui.IconMenuTag) _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002dmenu_0026_005fshowWhenSingleIcon_005fmessage_005ficon_005falign.get(com.liferay.taglib.ui.IconMenuTag.class);
                  _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.setPageContext(_jspx_page_context);
                  _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                  // /html/portlet/asset_publisher/add_asset.jspf(23,2) name = align type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                  _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.setAlign("left");
                  // /html/portlet/asset_publisher/add_asset.jspf(23,2) name = icon type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                  _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.setIcon( themeDisplay.getPathThemeImages() + "/common/add.png" );
                  // /html/portlet/asset_publisher/add_asset.jspf(23,2) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                  _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.setMessage("add-new");
                  // /html/portlet/asset_publisher/add_asset.jspf(23,2) name = showWhenSingleIcon type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                  _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.setShowWhenSingleIcon( true );
                  int _jspx_eval_liferay_002dui_005ficon_002dmenu_005f0 = _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.doStartTag();
                  if (_jspx_eval_liferay_002dui_005ficon_002dmenu_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_liferay_002dui_005ficon_002dmenu_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                      out = _jspx_page_context.pushBody();
                      _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                      _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.doInitBody();
                    }
                    do {
                      out.write("\n");
                      out.write("\n");
                      out.write("\t\t\t");

         for (Map.Entry<String, PortletURL> entry : addPortletURLs.entrySet()) {
            String className = entry.getKey();
            PortletURL addPortletURL = entry.getValue();

            AssetRendererFactory assetRendererFactory = AssetRendererFactoryRegistryUtil.getAssetRendererFactoryByClassName(className);
         
                      out.write("\n");
                      out.write("\n");
                      out.write("\t\t\t\t");
                      //  liferay-ui:icon
                      com.liferay.taglib.ui.IconTag _jspx_th_liferay_002dui_005ficon_005f0 = (com.liferay.taglib.ui.IconTag) _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fsrc_005fmessage_005fnobody.get(com.liferay.taglib.ui.IconTag.class);
                      _jspx_th_liferay_002dui_005ficon_005f0.setPageContext(_jspx_page_context);
                      _jspx_th_liferay_002dui_005ficon_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
                      // /html/portlet/asset_publisher/add_asset.jspf(38,4) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                      _jspx_th_liferay_002dui_005ficon_005f0.setMessage( "model.resource." + className );
                      // /html/portlet/asset_publisher/add_asset.jspf(38,4) name = src type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                      _jspx_th_liferay_002dui_005ficon_005f0.setSrc( assetRendererFactory.getIconPath(renderRequest) );
                      // /html/portlet/asset_publisher/add_asset.jspf(38,4) name = url type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                      _jspx_th_liferay_002dui_005ficon_005f0.setUrl( addPortletURL.toString() );
                      int _jspx_eval_liferay_002dui_005ficon_005f0 = _jspx_th_liferay_002dui_005ficon_005f0.doStartTag();
                      if (_jspx_th_liferay_002dui_005ficon_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fsrc_005fmessage_005fnobody.reuse(_jspx_th_liferay_002dui_005ficon_005f0);
                        return;
                      }
                      _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fsrc_005fmessage_005fnobody.reuse(_jspx_th_liferay_002dui_005ficon_005f0);
                      out.write("\n");
                      out.write("\n");
                      out.write("\t\t\t");

         }
         
                      out.write("\n");
                      out.write("\n");
                      out.write("\t\t");
                      int evalDoAfterBody = _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.doAfterBody();
                      if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                        break;
                    } while (true);
                    if (_jspx_eval_liferay_002dui_005ficon_002dmenu_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                      out = _jspx_page_context.popBody();
                    }
                  }
                  if (_jspx_th_liferay_002dui_005ficon_002dmenu_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002dmenu_0026_005fshowWhenSingleIcon_005fmessage_005ficon_005falign.reuse(_jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
                    return;
                  }
                  _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002dmenu_0026_005fshowWhenSingleIcon_005fmessage_005ficon_005falign.reuse(_jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
                  out.write("\n");
                  out.write("\t</div>\n");
                  int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
                return;
              }
              _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
              out.write('\n');
              out.write('\n');
              out.write("\n");
              out.write("\t\t</div>\n");
              out.write("\t");
              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.reuse(_jspx_th_aui_005fform_005f0);
            return;
          }
          _005fjspx_005ftagPool_005faui_005fform_0026_005fname.reuse(_jspx_th_aui_005fform_005f0);
          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');

PortletURL portletURL = renderResponse.createRenderURL();

SearchContainer searchContainer = new SearchContainer(renderRequest, null, null, SearchContainer.DEFAULT_CUR_PARAM, delta, portletURL, null, null);

if (!paginationType.equals("none")) {
   searchContainer.setDelta(delta);
   searchContainer.setDeltaConfigurable(false);
}

      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = (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_005f2.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f2.setParent(null);
      // /html/portlet/asset_publisher/view.jsp(92,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f2.setTest( (assetCategoryId > 0) && selectionStyle.equals("dynamic") );
      int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag();
      if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("\t<h1 class=\"asset-categorization-title\">\n");
          out.write("\t\t");
          out.print( LanguageUtil.format(pageContext, "content-with-x-x", new String[] {assetVocabularyName, assetCategoryName}) );
          out.write("\n");
          out.write("\t</h1>\n");
          out.write("\n");
          out.write("\t");

   AssetUtil.addPortletBreadcrumbEntries(assetCategoryId, request, portletURL);
   
          out.write('\n');
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f3 = (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_005f3.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f3.setParent(null);
      // /html/portlet/asset_publisher/view.jsp(103,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f3.setTest( Validator.isNotNull(assetTagName) && selectionStyle.equals("dynamic") );
      int _jspx_eval_c_005fif_005f3 = _jspx_th_c_005fif_005f3.doStartTag();
      if (_jspx_eval_c_005fif_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("\t<h1 class=\"asset-categorization-title\">\n");
          out.write("\t\t");
          out.print( HtmlUtil.escape(LanguageUtil.format(pageContext, "content-with-tag-x", assetTagName)) );
          out.write("\n");
          out.write("\t</h1>\n");
          out.write("\n");
          out.write("\t");

   PortalUtil.addPortletBreadcrumbEntry(request, assetTagName, currentURL);
   
          out.write('\n');
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
      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(null);
      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('   ');
          //  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/portlet/asset_publisher/view.jsp(115,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_c_005fwhen_005f0.setTest( selectionStyle.equals("dynamic") );
          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('   ');
              out.write('   ');

/**
 * Copyright (c) 2000-2011 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');

assetEntryQuery.setGroupIds(groupIds);
assetEntryQuery.setEnd(searchContainer.getEnd());
assetEntryQuery.setExcludeZeroViewCount(excludeZeroViewCount);
assetEntryQuery.setOrderByCol1(orderByColumn1);
assetEntryQuery.setOrderByCol2(orderByColumn2);
assetEntryQuery.setOrderByType1(orderByType1);
assetEntryQuery.setOrderByType2(orderByType2);
assetEntryQuery.setStart(searchContainer.getStart());

int total = 0;

if (assetVocabularyId > 0) {
   AssetVocabulary assetVocabulary = AssetVocabularyLocalServiceUtil.getVocabulary(assetVocabularyId);

   List<AssetCategory> assetCategories = AssetCategoryLocalServiceUtil.getVocabularyRootCategories(assetVocabulary.getVocabularyId(), QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);

   for (AssetCategory assetCategory : assetCategories) {
      long[] oldAllCategoryIds = assetEntryQuery.getAllCategoryIds();

      long[] newAllAssetCategoryIds = ArrayUtil.append(oldAllCategoryIds, assetCategory.getCategoryId());

      assetEntryQuery.setAllCategoryIds(newAllAssetCategoryIds);

      int groupTotal = AssetEntryServiceUtil.getEntriesCount(assetEntryQuery);

      total += groupTotal;

      searchContainer.setTotal(groupTotal);

      List results = AssetEntryServiceUtil.getEntries(assetEntryQuery);

      searchContainer.setResults(results);

      request.setAttribute("view.jsp-results", results);

      if (!results.isEmpty()) {

              out.write("\n");
              out.write("\n");
              out.write("\t\t\t<h3 class=\"asset-entries-group-label\">");
              out.print( assetCategory.getName() );
              out.write("</h3>\n");
              out.write("\n");
              out.write("\t\t\t");

/**
 * Copyright (c) 2000-2011 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');

for (int assetEntryIndex = 0; assetEntryIndex < results.size(); assetEntryIndex++) {
   AssetEntry assetEntry = (AssetEntry)results.get(assetEntryIndex);

   String className = PortalUtil.getClassName(assetEntry.getClassNameId());
   long classPK = assetEntry.getClassPK();

   AssetRendererFactory assetRendererFactory = AssetRendererFactoryRegistryUtil.getAssetRendererFactoryByClassName(className);

   if (assetRendererFactory == null) {
      continue;
   }

   AssetRenderer assetRenderer = assetRendererFactory.getAssetRenderer(classPK);

   String title = assetEntry.getTitle();

   boolean show = true;
   boolean print = false;

   request.setAttribute("view.jsp-assetEntryIndex", new Integer(assetEntryIndex));

   request.setAttribute("view.jsp-assetEntry", assetEntry);
   request.setAttribute("view.jsp-assetRendererFactory", assetRendererFactory);
   request.setAttribute("view.jsp-assetRenderer", assetRenderer);

   request.setAttribute("view.jsp-title", title);

   request.setAttribute("view.jsp-show", new Boolean(show));
   request.setAttribute("view.jsp-print", new Boolean(print));

   try {

              out.write("\n");
              out.write("\n");
              out.write("\t\t");

/**
 * Copyright (c) 2000-2011 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');

if (!ArrayUtil.contains(PropsValues.ASSET_PUBLISHER_DISPLAY_STYLES, displayStyle)) {

              out.write('\n');
              out.write('\n');
              out.write('   ');
              out.print( LanguageUtil.format(pageContext, "x-is-not-a-display-type", displayStyle) );
              out.write('\n');
              out.write('\n');

}
else{
   for (String curDisplayStyle : PropsValues.ASSET_PUBLISHER_DISPLAY_STYLES) {
      if (displayStyle.equals(curDisplayStyle)) {
         String displayStyleJsp = "/html/portlet/asset_publisher/display/" + TextFormatter.format(curDisplayStyle, TextFormatter.N) + ".jsp";

              out.write("\n");
              out.write("\n");
              out.write("\t\t\t");
              //  liferay-util:include
              com.liferay.taglib.util.IncludeTag _jspx_th_liferay_002dutil_005finclude_005f0 = (com.liferay.taglib.util.IncludeTag) _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.get(com.liferay.taglib.util.IncludeTag.class);
              _jspx_th_liferay_002dutil_005finclude_005f0.setPageContext(_jspx_page_context);
              _jspx_th_liferay_002dutil_005finclude_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f0);
              // /html/portlet/asset_publisher/view_display.jspf(31,3) name = page type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_liferay_002dutil_005finclude_005f0.setPage( displayStyleJsp );
              int _jspx_eval_liferay_002dutil_005finclude_005f0 = _jspx_th_liferay_002dutil_005finclude_005f0.doStartTag();
              if (_jspx_th_liferay_002dutil_005finclude_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.reuse(_jspx_th_liferay_002dutil_005finclude_005f0);
                return;
              }
              _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.reuse(_jspx_th_liferay_002dutil_005finclude_005f0);
              out.write('\n');
              out.write('\n');

         break;
      }
   }
}

              out.write('\n');
              out.write('\n');

   }
   catch (Exception e) {
      _log.error(e.getMessage());
   }
}

              out.write('\n');
              out.write('\n');

      }

      assetEntryQuery.setAllCategoryIds(oldAllCategoryIds);
   }
}
else if (!groupByClass) {
   if(!anyAssetType) {
      assetEntryQuery.setClassNameIds(classNameIds);
   }

   total = AssetEntryServiceUtil.getEntriesCount(assetEntryQuery);

   searchContainer.setTotal(total);

   List results = AssetEntryServiceUtil.getEntries(assetEntryQuery);

   searchContainer.setResults(results);

   request.setAttribute("view.jsp-results", results);

              out.write('\n');
              out.write('\n');
              out.write('   ');

/**
 * Copyright (c) 2000-2011 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');

for (int assetEntryIndex = 0; assetEntryIndex < results.size(); assetEntryIndex++) {
   AssetEntry assetEntry = (AssetEntry)results.get(assetEntryIndex);

   String className = PortalUtil.getClassName(assetEntry.getClassNameId());
   long classPK = assetEntry.getClassPK();

   AssetRendererFactory assetRendererFactory = AssetRendererFactoryRegistryUtil.getAssetRendererFactoryByClassName(className);

   if (assetRendererFactory == null) {
      continue;
   }

   AssetRenderer assetRenderer = assetRendererFactory.getAssetRenderer(classPK);

   String title = assetEntry.getTitle();

   boolean show = true;
   boolean print = false;

   request.setAttribute("view.jsp-assetEntryIndex", new Integer(assetEntryIndex));

   request.setAttribute("view.jsp-assetEntry", assetEntry);
   request.setAttribute("view.jsp-assetRendererFactory", assetRendererFactory);
   request.setAttribute("view.jsp-assetRenderer", assetRenderer);

   request.setAttribute("view.jsp-title", title);

   request.setAttribute("view.jsp-show", new Boolean(show));
   request.setAttribute("view.jsp-print", new Boolean(print));

   try {

              out.write("\n");
              out.write("\n");
              out.write("\t\t");

/**
 * Copyright (c) 2000-2011 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');

if (!ArrayUtil.contains(PropsValues.ASSET_PUBLISHER_DISPLAY_STYLES, displayStyle)) {

              out.write('\n');
              out.write('\n');
              out.write('   ');
              out.print( LanguageUtil.format(pageContext, "x-is-not-a-display-type", displayStyle) );
              out.write('\n');
              out.write('\n');

}
else{
   for (String curDisplayStyle : PropsValues.ASSET_PUBLISHER_DISPLAY_STYLES) {
      if (displayStyle.equals(curDisplayStyle)) {
         String displayStyleJsp = "/html/portlet/asset_publisher/display/" + TextFormatter.format(curDisplayStyle, TextFormatter.N) + ".jsp";

              out.write("\n");
              out.write("\n");
              out.write("\t\t\t");
              //  liferay-util:include
              com.liferay.taglib.util.IncludeTag _jspx_th_liferay_002dutil_005finclude_005f1 = (com.liferay.taglib.util.IncludeTag) _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.get(com.liferay.taglib.util.IncludeTag.class);
              _jspx_th_liferay_002dutil_005finclude_005f1.setPageContext(_jspx_page_context);
              _jspx_th_liferay_002dutil_005finclude_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f0);
              // /html/portlet/asset_publisher/view_display.jspf(31,3) name = page type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_liferay_002dutil_005finclude_005f1.setPage( displayStyleJsp );
              int _jspx_eval_liferay_002dutil_005finclude_005f1 = _jspx_th_liferay_002dutil_005finclude_005f1.doStartTag();
              if (_jspx_th_liferay_002dutil_005finclude_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.reuse(_jspx_th_liferay_002dutil_005finclude_005f1);
                return;
              }
              _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.reuse(_jspx_th_liferay_002dutil_005finclude_005f1);
              out.write('\n');
              out.write('\n');

         break;
      }
   }
}

              out.write('\n');
              out.write('\n');

   }
   catch (Exception e) {
      _log.error(e.getMessage());
   }
}

              out.write('\n');
              out.write('\n');

}
else {
   for (long classNameId : classNameIds) {
      long[] groupClassNameIds = {classNameId};

      assetEntryQuery.setClassNameIds(groupClassNameIds);

      String groupClassName = PortalUtil.getClassName(classNameId);

      AssetRendererFactory groupAssetRendererFactory = AssetRendererFactoryRegistryUtil.getAssetRendererFactoryByClassName(groupClassName);

      int groupTotal = AssetEntryServiceUtil.getEntriesCount(assetEntryQuery);

      total += groupTotal;

      searchContainer.setTotal(groupTotal);

      List results = AssetEntryServiceUtil.getEntries(assetEntryQuery);

      searchContainer.setResults(results);

      request.setAttribute("view.jsp-results", results);

      if (!results.isEmpty()) {

              out.write("\n");
              out.write("\n");
              out.write("\t\t\t<h3 class=\"asset-entries-group-label\">");
              //  liferay-ui:message
              com.liferay.taglib.ui.MessageTag _jspx_th_liferay_002dui_005fmessage_005f0 = (com.liferay.taglib.ui.MessageTag) _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody.get(com.liferay.taglib.ui.MessageTag.class);
              _jspx_th_liferay_002dui_005fmessage_005f0.setPageContext(_jspx_page_context);
              _jspx_th_liferay_002dui_005fmessage_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f0);
              // /html/portlet/asset_publisher/view_dynamic_list.jspf(111,41) name = key type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_liferay_002dui_005fmessage_005f0.setKey( groupAssetRendererFactory.getType() );
              int _jspx_eval_liferay_002dui_005fmessage_005f0 = _jspx_th_liferay_002dui_005fmessage_005f0.doStartTag();
              if (_jspx_th_liferay_002dui_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_liferay_002dui_005fmessage_005f0);
                return;
              }
              _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_liferay_002dui_005fmessage_005f0);
              out.write("</h3>\n");
              out.write("\n");
              out.write("\t\t\t");

/**
 * Copyright (c) 2000-2011 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');

for (int assetEntryIndex = 0; assetEntryIndex < results.size(); assetEntryIndex++) {
   AssetEntry assetEntry = (AssetEntry)results.get(assetEntryIndex);

   String className = PortalUtil.getClassName(assetEntry.getClassNameId());
   long classPK = assetEntry.getClassPK();

   AssetRendererFactory assetRendererFactory = AssetRendererFactoryRegistryUtil.getAssetRendererFactoryByClassName(className);

   if (assetRendererFactory == null) {
      continue;
   }

   AssetRenderer assetRenderer = assetRendererFactory.getAssetRenderer(classPK);

   String title = assetEntry.getTitle();

   boolean show = true;
   boolean print = false;

   request.setAttribute("view.jsp-assetEntryIndex", new Integer(assetEntryIndex));

   request.setAttribute("view.jsp-assetEntry", assetEntry);
   request.setAttribute("view.jsp-assetRendererFactory", assetRendererFactory);
   request.setAttribute("view.jsp-assetRenderer", assetRenderer);

   request.setAttribute("view.jsp-title", title);

   request.setAttribute("view.jsp-show", new Boolean(show));
   request.setAttribute("view.jsp-print", new Boolean(print));

   try {

              out.write("\n");
              out.write("\n");
              out.write("\t\t");

/**
 * Copyright (c) 2000-2011 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');

if (!ArrayUtil.contains(PropsValues.ASSET_PUBLISHER_DISPLAY_STYLES, displayStyle)) {

              out.write('\n');
              out.write('\n');
              out.write('   ');
              out.print( LanguageUtil.format(pageContext, "x-is-not-a-display-type", displayStyle) );
              out.write('\n');
              out.write('\n');

}
else{
   for (String curDisplayStyle : PropsValues.ASSET_PUBLISHER_DISPLAY_STYLES) {
      if (displayStyle.equals(curDisplayStyle)) {
         String displayStyleJsp = "/html/portlet/asset_publisher/display/" + TextFormatter.format(curDisplayStyle, TextFormatter.N) + ".jsp";

              out.write("\n");
              out.write("\n");
              out.write("\t\t\t");
              //  liferay-util:include
              com.liferay.taglib.util.IncludeTag _jspx_th_liferay_002dutil_005finclude_005f2 = (com.liferay.taglib.util.IncludeTag) _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.get(com.liferay.taglib.util.IncludeTag.class);
              _jspx_th_liferay_002dutil_005finclude_005f2.setPageContext(_jspx_page_context);
              _jspx_th_liferay_002dutil_005finclude_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f0);
              // /html/portlet/asset_publisher/view_display.jspf(31,3) name = page type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_liferay_002dutil_005finclude_005f2.setPage( displayStyleJsp );
              int _jspx_eval_liferay_002dutil_005finclude_005f2 = _jspx_th_liferay_002dutil_005finclude_005f2.doStartTag();
              if (_jspx_th_liferay_002dutil_005finclude_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.reuse(_jspx_th_liferay_002dutil_005finclude_005f2);
                return;
              }
              _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.reuse(_jspx_th_liferay_002dutil_005finclude_005f2);
              out.write('\n');
              out.write('\n');

         break;
      }
   }
}

              out.write('\n');
              out.write('\n');

   }
   catch (Exception e) {
      _log.error(e.getMessage());
   }
}

              out.write('\n');
              out.write('\n');

      }
   }
}

if (total == 0) {
   if (!showPortletWithNoResults && !((assetCategoryId > 0) || Validator.isNotNull(assetTagName))) {
      renderRequest.setAttribute(WebKeys.PORTLET_CONFIGURATOR_VISIBILITY, Boolean.TRUE);
   }

              out.write("\n");
              out.write("\n");
              out.write("\t<p>\n");
              out.write("\t\t");
              if (_jspx_meth_liferay_002dui_005fmessage_005f1(_jspx_th_c_005fwhen_005f0, _jspx_page_context))
                return;
              out.write("\n");
              out.write("\t</p>\n");
              out.write("\n");

}

              out.write('\n');
              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('   ');
          //  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/portlet/asset_publisher/view.jsp(118,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_c_005fwhen_005f1.setTest( selectionStyle.equals("manual") );
          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('   ');
              out.write('   ');

/**
 * Copyright (c) 2000-2011 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');

int total = assetEntryXmls.length;

searchContainer.setTotal(total);

List results = ListUtil.fromArray(assetEntryXmls);

int end = (assetEntryXmls.length < searchContainer.getEnd()) ? assetEntryXmls.length : searchContainer.getEnd();

results = results.subList(searchContainer.getStart(), end);

searchContainer.setResults(results);

request.setAttribute("view.jsp-results", results);

for (int assetEntryIndex = 0; assetEntryIndex < results.size(); assetEntryIndex++) {
   String assetEntryXml = (String)results.get(assetEntryIndex);

   Document document = SAXReaderUtil.read(assetEntryXml);

   Element rootElement = document.getRootElement();

   String assetEntryUuid = rootElement.elementText("asset-entry-uuid");

   AssetEntry assetEntry = null;

   try {
      assetEntry = AssetEntryLocalServiceUtil.getEntry(scopeGroupId, assetEntryUuid);
   }
   catch (NoSuchEntryException nsee) {
      continue;
   }

   if (!assetEntry.isVisible()) {
      continue;
   }

   AssetRendererFactory assetRendererFactory = AssetRendererFactoryRegistryUtil.getAssetRendererFactoryByClassName(assetEntry.getClassName());
   AssetRenderer assetRenderer = assetRendererFactory.getAssetRenderer(assetEntry.getClassPK());

   String title = assetEntry.getTitle();

   boolean show = true;
   boolean print = false;

   request.setAttribute("view.jsp-assetEntryIndex", new Integer(assetEntryIndex));

   request.setAttribute("view.jsp-assetEntry", assetEntry);
   request.setAttribute("view.jsp-assetRendererFactory", assetRendererFactory);
   request.setAttribute("view.jsp-assetRenderer", assetRenderer);

   request.setAttribute("view.jsp-title", title);

   request.setAttribute("view.jsp-show", new Boolean(show));
   request.setAttribute("view.jsp-print", new Boolean(print));

   try {

              out.write("\n");
              out.write("\n");
              out.write("\t\t");

/**
 * Copyright (c) 2000-2011 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');

if (!ArrayUtil.contains(PropsValues.ASSET_PUBLISHER_DISPLAY_STYLES, displayStyle)) {

              out.write('\n');
              out.write('\n');
              out.write('   ');
              out.print( LanguageUtil.format(pageContext, "x-is-not-a-display-type", displayStyle) );
              out.write('\n');
              out.write('\n');

}
else{
   for (String curDisplayStyle : PropsValues.ASSET_PUBLISHER_DISPLAY_STYLES) {
      if (displayStyle.equals(curDisplayStyle)) {
         String displayStyleJsp = "/html/portlet/asset_publisher/display/" + TextFormatter.format(curDisplayStyle, TextFormatter.N) + ".jsp";

              out.write("\n");
              out.write("\n");
              out.write("\t\t\t");
              //  liferay-util:include
              com.liferay.taglib.util.IncludeTag _jspx_th_liferay_002dutil_005finclude_005f3 = (com.liferay.taglib.util.IncludeTag) _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.get(com.liferay.taglib.util.IncludeTag.class);
              _jspx_th_liferay_002dutil_005finclude_005f3.setPageContext(_jspx_page_context);
              _jspx_th_liferay_002dutil_005finclude_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f1);
              // /html/portlet/asset_publisher/view_display.jspf(31,3) name = page type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_liferay_002dutil_005finclude_005f3.setPage( displayStyleJsp );
              int _jspx_eval_liferay_002dutil_005finclude_005f3 = _jspx_th_liferay_002dutil_005finclude_005f3.doStartTag();
              if (_jspx_th_liferay_002dutil_005finclude_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.reuse(_jspx_th_liferay_002dutil_005finclude_005f3);
                return;
              }
              _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fpage_005fnobody.reuse(_jspx_th_liferay_002dutil_005finclude_005f3);
              out.write('\n');
              out.write('\n');

         break;
      }
   }
}

              out.write('\n');
              out.write('\n');

   }
   catch (Exception e) {
      _log.error(e.getMessage());
   }
}

              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');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f4 = (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_005f4.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f4.setParent(null);
      // /html/portlet/asset_publisher/view.jsp(123,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f4.setTest( !paginationType.equals("none") && (searchContainer.getTotal() > searchContainer.getResults().size()) );
      int _jspx_eval_c_005fif_005f4 = _jspx_th_c_005fif_005f4.doStartTag();
      if (_jspx_eval_c_005fif_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('   ');
          //  liferay-ui:search-paginator
          com.liferay.taglib.ui.SearchPaginatorTag _jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0 = (com.liferay.taglib.ui.SearchPaginatorTag) _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dpaginator_0026_005ftype_005fsearchContainer_005fnobody.get(com.liferay.taglib.ui.SearchPaginatorTag.class);
          _jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0.setPageContext(_jspx_page_context);
          _jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f4);
          // /html/portlet/asset_publisher/view.jsp(124,1) name = searchContainer type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0.setSearchContainer( searchContainer );
          // /html/portlet/asset_publisher/view.jsp(124,1) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0.setType( paginationType );
          int _jspx_eval_liferay_002dui_005fsearch_002dpaginator_005f0 = _jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0.doStartTag();
          if (_jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dpaginator_0026_005ftype_005fsearchContainer_005fnobody.reuse(_jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0);
            return;
          }
          _005fjspx_005ftagPool_005fliferay_002dui_005fsearch_002dpaginator_0026_005ftype_005fsearchContainer_005fnobody.reuse(_jspx_th_liferay_002dui_005fsearch_002dpaginator_005f0);
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
      out.write('\n');
      out.write('\n');
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f5 = (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_005f5.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f5.setParent(null);
      // /html/portlet/asset_publisher/view.jsp(127,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f5.setTest( enableRSS );
      int _jspx_eval_c_005fif_005f5 = _jspx_th_c_005fif_005f5.doStartTag();
      if (_jspx_eval_c_005fif_005f5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write('   ');
          //  portlet:resourceURL
          com.liferay.taglib.portlet.ResourceURLTag _jspx_th_portlet_005fresourceURL_005f0 = (com.liferay.taglib.portlet.ResourceURLTag) _005fjspx_005ftagPool_005fportlet_005fresourceURL_0026_005fvar.get(com.liferay.taglib.portlet.ResourceURLTag.class);
          _jspx_th_portlet_005fresourceURL_005f0.setPageContext(_jspx_page_context);
          _jspx_th_portlet_005fresourceURL_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
          // /html/portlet/asset_publisher/view.jsp(128,1) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_portlet_005fresourceURL_005f0.setVar("rssURL");
          int _jspx_eval_portlet_005fresourceURL_005f0 = _jspx_th_portlet_005fresourceURL_005f0.doStartTag();
          if (_jspx_eval_portlet_005fresourceURL_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_portlet_005fresourceURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_portlet_005fresourceURL_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_portlet_005fresourceURL_005f0.doInitBody();
            }
            do {
              out.write('\n');
              out.write('   ');
              out.write('   ');
              if (_jspx_meth_portlet_005fparam_005f0(_jspx_th_portlet_005fresourceURL_005f0, _jspx_page_context))
                return;
              out.write('\n');
              out.write('   ');
              int evalDoAfterBody = _jspx_th_portlet_005fresourceURL_005f0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_portlet_005fresourceURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.popBody();
            }
          }
          if (_jspx_th_portlet_005fresourceURL_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fresourceURL_0026_005fvar.reuse(_jspx_th_portlet_005fresourceURL_005f0);
            return;
          }
          _005fjspx_005ftagPool_005fportlet_005fresourceURL_0026_005fvar.reuse(_jspx_th_portlet_005fresourceURL_005f0);
          java.lang.String rssURL = null;
          rssURL = (java.lang.String) _jspx_page_context.findAttribute("rssURL");
          out.write("\n");
          out.write("\n");
          out.write("\t<div class=\"subscribe\">\n");
          out.write("\t\t");
          //  liferay-ui:icon
          com.liferay.taglib.ui.IconTag _jspx_th_liferay_002dui_005ficon_005f1 = (com.liferay.taglib.ui.IconTag) _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005ftarget_005fmethod_005flabel_005fimage_005fnobody.get(com.liferay.taglib.ui.IconTag.class);
          _jspx_th_liferay_002dui_005ficon_005f1.setPageContext(_jspx_page_context);
          _jspx_th_liferay_002dui_005ficon_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
          // /html/portlet/asset_publisher/view.jsp(133,2) name = image type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_liferay_002dui_005ficon_005f1.setImage("rss");
          // /html/portlet/asset_publisher/view.jsp(133,2) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_liferay_002dui_005ficon_005f1.setLabel( true );
          // /html/portlet/asset_publisher/view.jsp(133,2) name = method type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_liferay_002dui_005ficon_005f1.setMethod("get");
          // /html/portlet/asset_publisher/view.jsp(133,2) name = target type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_liferay_002dui_005ficon_005f1.setTarget("_blank");
          // /html/portlet/asset_publisher/view.jsp(133,2) name = url type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_liferay_002dui_005ficon_005f1.setUrl( rssURL );
          int _jspx_eval_liferay_002dui_005ficon_005f1 = _jspx_th_liferay_002dui_005ficon_005f1.doStartTag();
          if (_jspx_th_liferay_002dui_005ficon_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005ftarget_005fmethod_005flabel_005fimage_005fnobody.reuse(_jspx_th_liferay_002dui_005ficon_005f1);
            return;
          }
          _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005ftarget_005fmethod_005flabel_005fimage_005fnobody.reuse(_jspx_th_liferay_002dui_005ficon_005f1);
          out.write("\n");
          out.write("\t</div>\n");
          out.write("\n");
          out.write("\t");
          //  liferay-util:html-top
          com.liferay.taglib.util.HtmlTopTag _jspx_th_liferay_002dutil_005fhtml_002dtop_005f0 = (com.liferay.taglib.util.HtmlTopTag) _005fjspx_005ftagPool_005fliferay_002dutil_005fhtml_002dtop.get(com.liferay.taglib.util.HtmlTopTag.class);
          _jspx_th_liferay_002dutil_005fhtml_002dtop_005f0.setPageContext(_jspx_page_context);
          _jspx_th_liferay_002dutil_005fhtml_002dtop_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
          int _jspx_eval_liferay_002dutil_005fhtml_002dtop_005f0 = _jspx_th_liferay_002dutil_005fhtml_002dtop_005f0.doStartTag();
          if (_jspx_eval_liferay_002dutil_005fhtml_002dtop_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_liferay_002dutil_005fhtml_002dtop_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_liferay_002dutil_005fhtml_002dtop_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_liferay_002dutil_005fhtml_002dtop_005f0.doInitBody();
            }
            do {
              out.write("\n");
              out.write("\t\t<link href=\"");
              out.print( HtmlUtil.escape(rssURL) );
              out.write("\" rel=\"alternate\" title=\"RSS\" type=\"application/rss+xml\" />\n");
              out.write("\t");
              int evalDoAfterBody = _jspx_th_liferay_002dutil_005fhtml_002dtop_005f0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_liferay_002dutil_005fhtml_002dtop_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.popBody();
            }
          }
          if (_jspx_th_liferay_002dutil_005fhtml_002dtop_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dutil_005fhtml_002dtop.reuse(_jspx_th_liferay_002dutil_005fhtml_002dtop_005f0);
            return;
          }
          _005fjspx_005ftagPool_005fliferay_002dutil_005fhtml_002dtop.reuse(_jspx_th_liferay_002dutil_005fhtml_002dtop_005f0);
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f5.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
      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);
    }
  }

        private boolean _jspx_meth_liferay_002dui_005fmessage_005f1(
                javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fwhen_005f0, PageContext _jspx_page_context)
                throws Throwable {
            PageContext pageContext = _jspx_page_context;
            JspWriter out = _jspx_page_context.getOut();
            //  liferay-ui:message
            com.liferay.taglib.ui.MessageTag _jspx_th_liferay_002dui_005fmessage_005f1 = (com.liferay.taglib.ui.MessageTag) _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody
                    .get(com.liferay.taglib.ui.MessageTag.class);
            _jspx_th_liferay_002dui_005fmessage_005f1.setPageContext(_jspx_page_context);
            _jspx_th_liferay_002dui_005fmessage_005f1
                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f0);
            // /html/portlet/asset_publisher/view_dynamic_list.jspf(127,2) name = key type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_liferay_002dui_005fmessage_005f1.setKey("there-are-no-results");
            int _jspx_eval_liferay_002dui_005fmessage_005f1 = _jspx_th_liferay_002dui_005fmessage_005f1.doStartTag();
            if (_jspx_th_liferay_002dui_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody
                        .reuse(_jspx_th_liferay_002dui_005fmessage_005f1);
                return true;
            }
            _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005fmessage_005f1);
            return false;
        }

        private boolean _jspx_meth_portlet_005fparam_005f0(
                javax.servlet.jsp.tagext.JspTag _jspx_th_portlet_005fresourceURL_005f0, PageContext _jspx_page_context)
                throws Throwable {
            PageContext pageContext = _jspx_page_context;
            JspWriter out = _jspx_page_context.getOut();
            //  portlet:param
            com.liferay.taglib.util.ParamTag _jspx_th_portlet_005fparam_005f0 = (com.liferay.taglib.util.ParamTag) _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                    .get(com.liferay.taglib.util.ParamTag.class);
            _jspx_th_portlet_005fparam_005f0.setPageContext(_jspx_page_context);
            _jspx_th_portlet_005fparam_005f0
                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_portlet_005fresourceURL_005f0);
            // /html/portlet/asset_publisher/view.jsp(129,2) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_portlet_005fparam_005f0.setName("struts_action");
            // /html/portlet/asset_publisher/view.jsp(129,2) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_portlet_005fparam_005f0.setValue("/asset_publisher/rss");
            int _jspx_eval_portlet_005fparam_005f0 = _jspx_th_portlet_005fparam_005f0.doStartTag();
            if (_jspx_th_portlet_005fparam_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                        .reuse(_jspx_th_portlet_005fparam_005f0);
                return true;
            }
            _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                    .reuse(_jspx_th_portlet_005fparam_005f0);
            return false;
        }
    }