Example usage for com.liferay.portal.kernel.util WebKeys SEARCH_CONTAINER_RESULT_ROW

List of usage examples for com.liferay.portal.kernel.util WebKeys SEARCH_CONTAINER_RESULT_ROW

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util WebKeys SEARCH_CONTAINER_RESULT_ROW.

Prototype

String SEARCH_CONTAINER_RESULT_ROW

To view the source code for com.liferay.portal.kernel.util WebKeys SEARCH_CONTAINER_RESULT_ROW.

Click Source Link

Usage

From source file:com.liferay.frontend.taglib.servlet.taglib.CardTag.java

License:Open Source License

@Override
protected void setAttributes(HttpServletRequest request) {
    request.setAttribute("liferay-frontend:card:actionJsp", _actionJsp);
    request.setAttribute("liferay-frontend:card:actionJspServletContext", getActionJspServletContext());
    request.setAttribute("liferay-frontend:card:checkboxChecked", String.valueOf(_checkboxChecked));
    request.setAttribute("liferay-frontend:card:checkboxCSSClass", _checkboxCSSClass);
    request.setAttribute("liferay-frontend:card:checkboxData", _checkboxData);
    request.setAttribute("liferay-frontend:card:checkboxDisabled", String.valueOf(_checkboxDisabled));
    request.setAttribute("liferay-frontend:card:checkboxId", _checkboxId);
    request.setAttribute("liferay-frontend:card:checkboxName", _checkboxName);
    request.setAttribute("liferay-frontend:card:checkboxValue", _checkboxValue);
    request.setAttribute("liferay-frontend:card:cssClass", _cssClass);
    request.setAttribute("liferay-frontend:card:data", _data);
    request.setAttribute("liferay-frontend:card:imageCSSClass", _imageCSSClass);
    request.setAttribute("liferay-frontend:card:imageUrl", _imageUrl);
    request.setAttribute("liferay-frontend:card:resultRow", _resultRow);
    request.setAttribute("liferay-frontend:card:rowChecker", _rowChecker);

    if (_rowChecker != null) {
        _showCheckbox = true;//www.  j a  va2s . c  o  m
    }

    request.setAttribute("liferay-frontend:card:showCheckbox", _showCheckbox);

    request.setAttribute("liferay-frontend:card:url", _url);

    request.setAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW, _resultRow);
}

From source file:com.liferay.wiki.web.internal.display.context.DefaultWikiListPagesDisplayContext.java

License:Open Source License

protected void addSubscriptionMenuItem(List<MenuItem> menuItems, WikiPage wikiPage) {

    ResultRow row = (ResultRow) _request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);

    if (row == null) {
        return;//  w  w  w  .jav a2  s  . c  o  m
    }

    WikiGroupServiceOverriddenConfiguration wikiGroupServiceOverriddenConfiguration = _wikiRequestHelper
            .getWikiGroupServiceOverriddenConfiguration();

    if (!WikiPagePermissionChecker.contains(_wikiRequestHelper.getPermissionChecker(), wikiPage,
            ActionKeys.SUBSCRIBE)
            || (!wikiGroupServiceOverriddenConfiguration.emailPageAddedEnabled()
                    && !wikiGroupServiceOverriddenConfiguration.emailPageUpdatedEnabled())) {

        return;
    }

    User user = _wikiRequestHelper.getUser();

    if (SubscriptionLocalServiceUtil.isSubscribed(user.getCompanyId(), user.getUserId(),
            WikiPage.class.getName(), wikiPage.getResourcePrimKey())) {

        URLMenuItem urlMenuItem = new URLMenuItem();

        urlMenuItem.setKey(WikiUIItemKeys.UNSUBSCRIBE);
        urlMenuItem.setLabel("unsubscribe");

        LiferayPortletResponse liferayPortletResponse = _wikiRequestHelper.getLiferayPortletResponse();

        PortletURL portletURL = liferayPortletResponse.createActionURL();

        portletURL.setParameter(ActionRequest.ACTION_NAME, "/wiki/edit_page");
        portletURL.setParameter(Constants.CMD, Constants.UNSUBSCRIBE);
        portletURL.setParameter("redirect", _wikiRequestHelper.getCurrentURL());
        portletURL.setParameter("nodeId", String.valueOf(wikiPage.getNodeId()));
        portletURL.setParameter("title", HtmlUtil.unescape(wikiPage.getTitle()));

        urlMenuItem.setURL(portletURL.toString());

        menuItems.add(urlMenuItem);
    } else {
        URLMenuItem urlMenuItem = new URLMenuItem();

        urlMenuItem.setKey(WikiUIItemKeys.SUBSCRIBE);
        urlMenuItem.setLabel("subscribe");

        LiferayPortletResponse liferayPortletResponse = _wikiRequestHelper.getLiferayPortletResponse();

        PortletURL portletURL = liferayPortletResponse.createActionURL();

        portletURL.setParameter(ActionRequest.ACTION_NAME, "/wiki/edit_page");
        portletURL.setParameter(Constants.CMD, Constants.SUBSCRIBE);
        portletURL.setParameter("redirect", _wikiRequestHelper.getCurrentURL());
        portletURL.setParameter("nodeId", String.valueOf(wikiPage.getNodeId()));
        portletURL.setParameter("title", HtmlUtil.unescape(wikiPage.getTitle()));

        urlMenuItem.setURL(portletURL.toString());

        menuItems.add(urlMenuItem);
    }
}

From source file:org.apache.jsp.admin.admin_005factions_jsp.java

License:Open Source License

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

    PageContext pageContext = null;//  w  w w. ja  va 2s. c om
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

    try {
        response.setContentType("text/html");
        pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
        _jspx_page_context = pageContext;
        application = pageContext.getServletContext();
        config = pageContext.getServletConfig();
        session = pageContext.getSession();
        out = pageContext.getOut();
        _jspx_out = out;

        /**
         * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
         *
         * Permission is hereby granted, free of charge, to any person obtaining a copy
         * of this software and associated documentation files (the "Software"), to deal
         * in the Software without restriction, including without limitation the rights
         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         * copies of the Software, and to permit persons to whom the Software is
         * furnished to do so, subject to the following conditions:
         *
         * The above copyright notice and this permission notice shall be included in
         * all copies or substantial portions of the Software.
         *
         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         * SOFTWARE.
         */

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

        /**
         * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
         *
         * Permission is hereby granted, free of charge, to any person obtaining a copy
         * of this software and associated documentation files (the "Software"), to deal
         * in the Software without restriction, including without limitation the rights
         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         * copies of the Software, and to permit persons to whom the Software is
         * furnished to do so, subject to the following conditions:
         *
         * The above copyright notice and this permission notice shall be included in
         * all copies or substantial portions of the Software.
         *
         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         * SOFTWARE.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  portlet:defineObjects
        com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.portlet.DefineObjectsTag.class);
        _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_portlet_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag();
        if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
        javax.portlet.ActionRequest actionRequest = null;
        javax.portlet.ActionResponse actionResponse = null;
        javax.portlet.EventRequest eventRequest = null;
        javax.portlet.EventResponse eventResponse = null;
        javax.portlet.PortletConfig portletConfig = null;
        java.lang.String portletName = null;
        javax.portlet.PortletPreferences portletPreferences = null;
        java.util.Map portletPreferencesValues = null;
        javax.portlet.PortletSession portletSession = null;
        java.util.Map portletSessionScope = null;
        javax.portlet.RenderRequest renderRequest = null;
        javax.portlet.RenderResponse renderResponse = null;
        javax.portlet.ResourceRequest resourceRequest = null;
        javax.portlet.ResourceResponse resourceResponse = null;
        actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest");
        actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse");
        eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest");
        eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse");
        portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");
        portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName");
        portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context
                .findAttribute("portletPreferences");
        portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues");
        portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession");
        portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope");
        renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");
        renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");
        resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest");
        resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context
                .findAttribute("resourceResponse");
        out.write('\n');
        out.write('\n');
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);
        PRProduct myProduct = (PRProduct) row.getObject();
        long groupId = themeDisplay.getLayout().getGroupId();
        String name = PRProduct.class.getName();
        String primKey = String.valueOf(myProduct.getPrimaryKey());

        out.write('\n');
        out.write('\n');
        //  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
                .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(null);
        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("  ");
                //  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(
                        (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
                // /admin/admin_actions.jsp(38,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_c_005fif_005f0
                        .setTest(permissionChecker.hasPermission(groupId, name, primKey, ActionKeys.UPDATE));
                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("    ");
                        //  portlet:actionURL
                        com.liferay.taglib.portlet.ActionURLTag _jspx_th_portlet_005factionURL_005f0 = (com.liferay.taglib.portlet.ActionURLTag) _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                .get(com.liferay.taglib.portlet.ActionURLTag.class);
                        _jspx_th_portlet_005factionURL_005f0.setPageContext(_jspx_page_context);
                        _jspx_th_portlet_005factionURL_005f0
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0);
                        // /admin/admin_actions.jsp(39,4) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005factionURL_005f0.setName("editProduct");
                        // /admin/admin_actions.jsp(39,4) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005factionURL_005f0.setVar("editURL");
                        int _jspx_eval_portlet_005factionURL_005f0 = _jspx_th_portlet_005factionURL_005f0
                                .doStartTag();
                        if (_jspx_eval_portlet_005factionURL_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                            if (_jspx_eval_portlet_005factionURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.pushBody();
                                _jspx_th_portlet_005factionURL_005f0
                                        .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                                _jspx_th_portlet_005factionURL_005f0.doInitBody();
                            }
                            do {
                                out.write("\n");
                                out.write("      ");
                                //  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_005factionURL_005f0);
                                // /admin/admin_actions.jsp(40,6) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_portlet_005fparam_005f0.setName("resourcePrimKey");
                                // /admin/admin_actions.jsp(40,6) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_portlet_005fparam_005f0.setValue(primKey);
                                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;
                                }
                                _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                        .reuse(_jspx_th_portlet_005fparam_005f0);
                                out.write("\n");
                                out.write("    ");
                                int evalDoAfterBody = _jspx_th_portlet_005factionURL_005f0.doAfterBody();
                                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                    break;
                            } while (true);
                            if (_jspx_eval_portlet_005factionURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.popBody();
                            }
                        }
                        if (_jspx_th_portlet_005factionURL_005f0
                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                    .reuse(_jspx_th_portlet_005factionURL_005f0);
                            return;
                        }
                        _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                .reuse(_jspx_th_portlet_005factionURL_005f0);
                        java.lang.String editURL = null;
                        editURL = (java.lang.String) _jspx_page_context.findAttribute("editURL");
                        out.write("\n");
                        out.write("\n");
                        out.write("    ");
                        //  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_005fmessage_005fimage_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_c_005fif_005f0);
                        // /admin/admin_actions.jsp(43,4) name = image type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dui_005ficon_005f0.setImage("edit");
                        // /admin/admin_actions.jsp(43,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("Edit");
                        // /admin/admin_actions.jsp(43,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(editURL.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_005fmessage_005fimage_005fnobody
                                    .reuse(_jspx_th_liferay_002dui_005ficon_005f0);
                            return;
                        }
                        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fmessage_005fimage_005fnobody
                                .reuse(_jspx_th_liferay_002dui_005ficon_005f0);
                        out.write('\n');
                        out.write(' ');
                        out.write(' ');
                        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");
                out.write("  ");
                //  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_liferay_002dui_005ficon_002dmenu_005f0);
                // /admin/admin_actions.jsp(46,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_c_005fif_005f1
                        .setTest(permissionChecker.hasPermission(groupId, name, primKey, ActionKeys.DELETE));
                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("    ");
                        //  portlet:actionURL
                        com.liferay.taglib.portlet.ActionURLTag _jspx_th_portlet_005factionURL_005f1 = (com.liferay.taglib.portlet.ActionURLTag) _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                .get(com.liferay.taglib.portlet.ActionURLTag.class);
                        _jspx_th_portlet_005factionURL_005f1.setPageContext(_jspx_page_context);
                        _jspx_th_portlet_005factionURL_005f1
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                        // /admin/admin_actions.jsp(47,4) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005factionURL_005f1.setName("deleteProduct");
                        // /admin/admin_actions.jsp(47,4) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005factionURL_005f1.setVar("deleteURL");
                        int _jspx_eval_portlet_005factionURL_005f1 = _jspx_th_portlet_005factionURL_005f1
                                .doStartTag();
                        if (_jspx_eval_portlet_005factionURL_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                            if (_jspx_eval_portlet_005factionURL_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.pushBody();
                                _jspx_th_portlet_005factionURL_005f1
                                        .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                                _jspx_th_portlet_005factionURL_005f1.doInitBody();
                            }
                            do {
                                out.write("\n");
                                out.write("      ");
                                //  portlet:param
                                com.liferay.taglib.util.ParamTag _jspx_th_portlet_005fparam_005f1 = (com.liferay.taglib.util.ParamTag) _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                        .get(com.liferay.taglib.util.ParamTag.class);
                                _jspx_th_portlet_005fparam_005f1.setPageContext(_jspx_page_context);
                                _jspx_th_portlet_005fparam_005f1.setParent(
                                        (javax.servlet.jsp.tagext.Tag) _jspx_th_portlet_005factionURL_005f1);
                                // /admin/admin_actions.jsp(48,6) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_portlet_005fparam_005f1.setName("resourcePrimKey");
                                // /admin/admin_actions.jsp(48,6) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_portlet_005fparam_005f1.setValue(primKey);
                                int _jspx_eval_portlet_005fparam_005f1 = _jspx_th_portlet_005fparam_005f1
                                        .doStartTag();
                                if (_jspx_th_portlet_005fparam_005f1
                                        .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                    _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                            .reuse(_jspx_th_portlet_005fparam_005f1);
                                    return;
                                }
                                _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                        .reuse(_jspx_th_portlet_005fparam_005f1);
                                out.write("\n");
                                out.write("    ");
                                int evalDoAfterBody = _jspx_th_portlet_005factionURL_005f1.doAfterBody();
                                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                    break;
                            } while (true);
                            if (_jspx_eval_portlet_005factionURL_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.popBody();
                            }
                        }
                        if (_jspx_th_portlet_005factionURL_005f1
                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                    .reuse(_jspx_th_portlet_005factionURL_005f1);
                            return;
                        }
                        _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                .reuse(_jspx_th_portlet_005factionURL_005f1);
                        java.lang.String deleteURL = null;
                        deleteURL = (java.lang.String) _jspx_page_context.findAttribute("deleteURL");
                        out.write("\n");
                        out.write("\n");
                        out.write("    ");
                        //  liferay-ui:icon-delete
                        com.liferay.taglib.ui.IconDeleteTag _jspx_th_liferay_002dui_005ficon_002ddelete_005f0 = (com.liferay.taglib.ui.IconDeleteTag) _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002ddelete_0026_005furl_005fnobody
                                .get(com.liferay.taglib.ui.IconDeleteTag.class);
                        _jspx_th_liferay_002dui_005ficon_002ddelete_005f0.setPageContext(_jspx_page_context);
                        _jspx_th_liferay_002dui_005ficon_002ddelete_005f0
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                        // /admin/admin_actions.jsp(51,4) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dui_005ficon_002ddelete_005f0.setUrl(deleteURL.toString());
                        int _jspx_eval_liferay_002dui_005ficon_002ddelete_005f0 = _jspx_th_liferay_002dui_005ficon_002ddelete_005f0
                                .doStartTag();
                        if (_jspx_th_liferay_002dui_005ficon_002ddelete_005f0
                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002ddelete_0026_005furl_005fnobody
                                    .reuse(_jspx_th_liferay_002dui_005ficon_002ddelete_005f0);
                            return;
                        }
                        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002ddelete_0026_005furl_005fnobody
                                .reuse(_jspx_th_liferay_002dui_005ficon_002ddelete_005f0);
                        out.write('\n');
                        out.write(' ');
                        out.write(' ');
                        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("  ");
                //  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(
                        (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
                // /admin/admin_actions.jsp(54,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_c_005fif_005f2.setTest(
                        permissionChecker.hasPermission(groupId, name, primKey, ActionKeys.PERMISSIONS));
                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("    ");
                        //  liferay-security:permissionsURL
                        com.liferay.taglib.security.PermissionsURLTag _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 = (com.liferay.taglib.security.PermissionsURLTag) _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                                .get(com.liferay.taglib.security.PermissionsURLTag.class);
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .setPageContext(_jspx_page_context);
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
                        // /admin/admin_actions.jsp(55,4) name = modelResource type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .setModelResource(PRProduct.class.getName());
                        // /admin/admin_actions.jsp(55,4) name = modelResourceDescription type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .setModelResourceDescription(myProduct.getProductName());
                        // /admin/admin_actions.jsp(55,4) name = resourcePrimKey type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0.setResourcePrimKey(primKey);
                        // /admin/admin_actions.jsp(55,4) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0.setVar("permissionsURL");
                        int _jspx_eval_liferay_002dsecurity_005fpermissionsURL_005f0 = _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .doStartTag();
                        if (_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                                    .reuse(_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0);
                            return;
                        }
                        _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                                .reuse(_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0);
                        java.lang.String permissionsURL = null;
                        permissionsURL = (java.lang.String) _jspx_page_context.findAttribute("permissionsURL");
                        out.write("\n");
                        out.write("\n");
                        out.write("    ");
                        //  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_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_005f2);
                        // /admin/admin_actions.jsp(61,4) 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("permissions");
                        // /admin/admin_actions.jsp(61,4) 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(permissionsURL.toString());
                        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_005fimage_005fnobody
                                    .reuse(_jspx_th_liferay_002dui_005ficon_005f1);
                            return;
                        }
                        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fimage_005fnobody
                                .reuse(_jspx_th_liferay_002dui_005ficon_005f1);
                        out.write('\n');
                        out.write(' ');
                        out.write(' ');
                        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');
                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
                    .reuse(_jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002dmenu
                .reuse(_jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
    } 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);
    }
}

From source file:org.apache.jsp.admin.display_005factions_jsp.java

License:Open Source License

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

    PageContext pageContext = null;/*from   ww  w  .  j  av a  2  s .  com*/
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

    try {
        response.setContentType("text/html");
        pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
        _jspx_page_context = pageContext;
        application = pageContext.getServletContext();
        config = pageContext.getServletConfig();
        session = pageContext.getSession();
        out = pageContext.getOut();
        _jspx_out = out;

        /**
         * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
         *
         * Permission is hereby granted, free of charge, to any person obtaining a copy
         * of this software and associated documentation files (the "Software"), to deal
         * in the Software without restriction, including without limitation the rights
         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         * copies of the Software, and to permit persons to whom the Software is
         * furnished to do so, subject to the following conditions:
         *
         * The above copyright notice and this permission notice shall be included in
         * all copies or substantial portions of the Software.
         *
         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         * SOFTWARE.
         */

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

        /**
         * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
         *
         * Permission is hereby granted, free of charge, to any person obtaining a copy
         * of this software and associated documentation files (the "Software"), to deal
         * in the Software without restriction, including without limitation the rights
         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         * copies of the Software, and to permit persons to whom the Software is
         * furnished to do so, subject to the following conditions:
         *
         * The above copyright notice and this permission notice shall be included in
         * all copies or substantial portions of the Software.
         *
         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         * SOFTWARE.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  portlet:defineObjects
        com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.portlet.DefineObjectsTag.class);
        _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_portlet_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag();
        if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
        javax.portlet.ActionRequest actionRequest = null;
        javax.portlet.ActionResponse actionResponse = null;
        javax.portlet.EventRequest eventRequest = null;
        javax.portlet.EventResponse eventResponse = null;
        javax.portlet.PortletConfig portletConfig = null;
        java.lang.String portletName = null;
        javax.portlet.PortletPreferences portletPreferences = null;
        java.util.Map portletPreferencesValues = null;
        javax.portlet.PortletSession portletSession = null;
        java.util.Map portletSessionScope = null;
        javax.portlet.RenderRequest renderRequest = null;
        javax.portlet.RenderResponse renderResponse = null;
        javax.portlet.ResourceRequest resourceRequest = null;
        javax.portlet.ResourceResponse resourceResponse = null;
        actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest");
        actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse");
        eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest");
        eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse");
        portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");
        portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName");
        portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context
                .findAttribute("portletPreferences");
        portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues");
        portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession");
        portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope");
        renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");
        renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");
        resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest");
        resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context
                .findAttribute("resourceResponse");
        out.write('\n');
        out.write('\n');
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);
        PRRegistration myRegistration = (PRRegistration) row.getObject();
        long groupId = themeDisplay.getLayout().getGroupId();
        String name = PRRegistration.class.getName();
        String primKey = String.valueOf(myRegistration.getPrimaryKey());

        out.write('\n');
        out.write('\n');
        //  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_005fcssClass
                .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(null);
        // /admin/display_actions.jsp(35,0) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ficon_002dmenu_005f0.setCssClass("");
        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("  ");
                //  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(
                        (javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
                // /admin/display_actions.jsp(37,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_c_005fif_005f0
                        .setTest(permissionChecker.hasPermission(groupId, name, primKey, ActionKeys.UPDATE));
                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("    ");
                        //  portlet:actionURL
                        com.liferay.taglib.portlet.ActionURLTag _jspx_th_portlet_005factionURL_005f0 = (com.liferay.taglib.portlet.ActionURLTag) _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                .get(com.liferay.taglib.portlet.ActionURLTag.class);
                        _jspx_th_portlet_005factionURL_005f0.setPageContext(_jspx_page_context);
                        _jspx_th_portlet_005factionURL_005f0
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0);
                        // /admin/display_actions.jsp(38,4) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005factionURL_005f0.setName("viewRegistration");
                        // /admin/display_actions.jsp(38,4) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005factionURL_005f0.setVar("viewURL");
                        int _jspx_eval_portlet_005factionURL_005f0 = _jspx_th_portlet_005factionURL_005f0
                                .doStartTag();
                        if (_jspx_eval_portlet_005factionURL_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                            if (_jspx_eval_portlet_005factionURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.pushBody();
                                _jspx_th_portlet_005factionURL_005f0
                                        .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                                _jspx_th_portlet_005factionURL_005f0.doInitBody();
                            }
                            do {
                                out.write("\n");
                                out.write("      ");
                                //  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_005factionURL_005f0);
                                // /admin/display_actions.jsp(39,6) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_portlet_005fparam_005f0.setName("resourcePrimKey");
                                // /admin/display_actions.jsp(39,6) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_portlet_005fparam_005f0.setValue(primKey);
                                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;
                                }
                                _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                        .reuse(_jspx_th_portlet_005fparam_005f0);
                                out.write("\n");
                                out.write("    ");
                                int evalDoAfterBody = _jspx_th_portlet_005factionURL_005f0.doAfterBody();
                                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                    break;
                            } while (true);
                            if (_jspx_eval_portlet_005factionURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.popBody();
                            }
                        }
                        if (_jspx_th_portlet_005factionURL_005f0
                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                    .reuse(_jspx_th_portlet_005factionURL_005f0);
                            return;
                        }
                        _005fjspx_005ftagPool_005fportlet_005factionURL_0026_005fvar_005fname
                                .reuse(_jspx_th_portlet_005factionURL_005f0);
                        java.lang.String viewURL = null;
                        viewURL = (java.lang.String) _jspx_page_context.findAttribute("viewURL");
                        out.write("\n");
                        out.write("\n");
                        out.write("    ");
                        //  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_005fimage_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_c_005fif_005f0);
                        // /admin/display_actions.jsp(42,4) name = image type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dui_005ficon_005f0.setImage("view");
                        // /admin/display_actions.jsp(42,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(viewURL.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_005fimage_005fnobody
                                    .reuse(_jspx_th_liferay_002dui_005ficon_005f0);
                            return;
                        }
                        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fimage_005fnobody
                                .reuse(_jspx_th_liferay_002dui_005ficon_005f0);
                        out.write('\n');
                        out.write(' ');
                        out.write(' ');
                        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");
                out.write("  ");
                //  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_liferay_002dui_005ficon_002dmenu_005f0);
                // /admin/display_actions.jsp(45,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_c_005fif_005f1.setTest(
                        permissionChecker.hasPermission(groupId, name, primKey, ActionKeys.PERMISSIONS));
                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("    ");
                        //  liferay-security:permissionsURL
                        com.liferay.taglib.security.PermissionsURLTag _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 = (com.liferay.taglib.security.PermissionsURLTag) _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                                .get(com.liferay.taglib.security.PermissionsURLTag.class);
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .setPageContext(_jspx_page_context);
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                        // /admin/display_actions.jsp(46,4) name = modelResource type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .setModelResource(PRRegistration.class.getName());
                        // /admin/display_actions.jsp(46,4) name = modelResourceDescription type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .setModelResourceDescription(myRegistration.getSerialNumber());
                        // /admin/display_actions.jsp(46,4) name = resourcePrimKey type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0.setResourcePrimKey(primKey);
                        // /admin/display_actions.jsp(46,4) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0.setVar("permissionsURL");
                        int _jspx_eval_liferay_002dsecurity_005fpermissionsURL_005f0 = _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .doStartTag();
                        if (_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                                    .reuse(_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0);
                            return;
                        }
                        _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                                .reuse(_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0);
                        java.lang.String permissionsURL = null;
                        permissionsURL = (java.lang.String) _jspx_page_context.findAttribute("permissionsURL");
                        out.write("\n");
                        out.write("\n");
                        out.write("    ");
                        //  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_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_005f1);
                        // /admin/display_actions.jsp(52,4) 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("permissions");
                        // /admin/display_actions.jsp(52,4) 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(permissionsURL.toString());
                        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_005fimage_005fnobody
                                    .reuse(_jspx_th_liferay_002dui_005ficon_005f1);
                            return;
                        }
                        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fimage_005fnobody
                                .reuse(_jspx_th_liferay_002dui_005ficon_005f1);
                        out.write('\n');
                        out.write(' ');
                        out.write(' ');
                        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');
                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_005fcssClass
                    .reuse(_jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_002dmenu_0026_005fcssClass
                .reuse(_jspx_th_liferay_002dui_005ficon_002dmenu_005f0);
    } 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);
    }
}

From source file:org.apache.jsp.members.user_005fdisplay_jsp.java

License:Open Source License

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

    PageContext pageContext = null;//from   w w w .j  av a2  s  . com
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

    try {
        response.setContentType("text/html");
        pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
        _jspx_page_context = pageContext;
        application = pageContext.getServletContext();
        config = pageContext.getServletConfig();
        session = pageContext.getSession();
        out = pageContext.getOut();
        _jspx_out = out;

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

        WindowState windowState = renderRequest.getWindowState();

        String currentURL = PortalUtil.getCurrentURL(request);

        Group group = GroupLocalServiceUtil.getGroup(scopeGroupId);

        Organization organization = null;
        User user2 = null;

        if (group.isOrganization()) {
            organization = OrganizationLocalServiceUtil.getOrganization(group.getClassPK());
        } else if (group.isUser()) {
            user2 = UserLocalServiceUtil.getUserById(group.getClassPK());
        }

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

        NumberFormat numberFormat = NumberFormat.getNumberInstance(locale);
        NumberFormat percentFormat = NumberFormat.getPercentInstance(locale);

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

        ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);

        User member = (User) row.getObject();

        out.write("\r\n");
        out.write("\r\n");
        //  liferay-ui:user-display
        com.liferay.portal.model.User userDisplay = null;
        com.liferay.taglib.ui.UserDisplayTag _jspx_th_liferay_002dui_005fuser_002ddisplay_005f0 = (com.liferay.taglib.ui.UserDisplayTag) _005fjspx_005ftagPool_005fliferay_002dui_005fuser_002ddisplay_0026_005fuserName_005fuserId_005fnobody
                .get(com.liferay.taglib.ui.UserDisplayTag.class);
        _jspx_th_liferay_002dui_005fuser_002ddisplay_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005fuser_002ddisplay_005f0.setParent(null);
        // /members/user_display.jsp(25,0) name = userId type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005fuser_002ddisplay_005f0.setUserId(member.getUserId());
        // /members/user_display.jsp(25,0) name = userName type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005fuser_002ddisplay_005f0.setUserName(member.getFullName());
        int _jspx_eval_liferay_002dui_005fuser_002ddisplay_005f0 = _jspx_th_liferay_002dui_005fuser_002ddisplay_005f0
                .doStartTag();
        userDisplay = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("userDisplay");
        if (_jspx_th_liferay_002dui_005fuser_002ddisplay_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005fuser_002ddisplay_0026_005fuserName_005fuserId_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005fuser_002ddisplay_005f0);
            return;
        }
        userDisplay = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("userDisplay");
        _005fjspx_005ftagPool_005fliferay_002dui_005fuser_002ddisplay_0026_005fuserName_005fuserId_005fnobody
                .reuse(_jspx_th_liferay_002dui_005fuser_002ddisplay_005f0);
    } 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);
    }
}