Example usage for javax.servlet.jsp PageContext getSession

List of usage examples for javax.servlet.jsp PageContext getSession

Introduction

In this page you can find the example usage for javax.servlet.jsp PageContext getSession.

Prototype


abstract public HttpSession getSession();

Source Link

Document

The current value of the session object (an HttpSession).

Usage

From source file:org.apache.jsp.html.taglib.ui.icon_005fdelete.page_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;/*from  w ww .j  a va2s  . c  o m*/
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        String url = (String) request.getAttribute("liferay-ui:icon:url");
        boolean label = GetterUtil.getBoolean((String) request.getAttribute("liferay-ui:icon:label"));

        if (url.startsWith("javascript:")) {
            url = url.substring(11);
        }

        if (url.startsWith(Http.HTTP_WITH_SLASH) || url.startsWith(Http.HTTPS_WITH_SLASH)) {
            url = "submitForm(document.hrefFm, '" + HttpUtil.encodeURL(url) + "');";
        }

        if (url.startsWith("wsrp_rewrite?")) {
            url = StringUtil.replace(url, "/wsrp_rewrite", "&wsrp-extensions=encodeURL/wsrp_rewrite");
            url = "submitForm(document.hrefFm, '" + url + "');";
        }

        url = "javascript:if (confirm('"
                + UnicodeLanguageUtil.get(pageContext, "are-you-sure-you-want-to-delete-this") + "')) { " + url
                + " } else { self.focus(); }";

        out.write('\n');
        out.write('\n');
        //  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_005flabel_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(null);
        // /html/taglib/ui/icon_delete/page.jsp(39,0) 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("delete");
        // /html/taglib/ui/icon_delete/page.jsp(39,0) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ficon_005f0.setLabel(label);
        // /html/taglib/ui/icon_delete/page.jsp(39,0) 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(url);
        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_005flabel_005fimage_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005ficon_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005flabel_005fimage_005fnobody
                .reuse(_jspx_th_liferay_002dui_005ficon_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.html.taglib.ui.icon_005fhelp.page_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;/*  w w  w .j  a  v a  2s. c  o  m*/
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        String message = (String) request.getAttribute("liferay-ui:icon:message");

        out.write("\n");
        out.write("\n");
        out.write("<span class=\"taglib-icon-help\">\n");
        out.write("\t<img alt=\"\" onMouseOver=\"Liferay.Portal.ToolTip.show(this, '");
        out.print(UnicodeLanguageUtil.get(pageContext, message));
        out.write("');\" src=\"");
        out.print(themeDisplay.getPathThemeImages());
        out.write("/portlet/help.png\" />\n");
        out.write("\n");
        out.write("\t<span class=\"aui-helper-hidden-accessible\">");
        //  liferay-ui:message
        com.liferay.taglib.ui.MessageTag _jspx_th_liferay_002dui_005fmessage_005f0 = (com.liferay.taglib.ui.MessageTag) _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody
                .get(com.liferay.taglib.ui.MessageTag.class);
        _jspx_th_liferay_002dui_005fmessage_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005fmessage_005f0.setParent(null);
        // /html/taglib/ui/icon_help/page.jsp(26,44) name = key type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005fmessage_005f0.setKey(message);
        int _jspx_eval_liferay_002dui_005fmessage_005f0 = _jspx_th_liferay_002dui_005fmessage_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dui_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005fmessage_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody
                .reuse(_jspx_th_liferay_002dui_005fmessage_005f0);
        out.write("</span>\n");
        out.write("</span>");
    } 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.html.taglib.ui.input_005fcheckbox.page_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;/*from  w w  w . j a v a2  s .co m*/
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        String cssClass = GetterUtil
                .getString((String) request.getAttribute("liferay-ui:input-checkbox:cssClass"));
        String formName = namespace + request.getAttribute("liferay-ui:input-checkbox:formName");
        String param = (String) request.getAttribute("liferay-ui:input-checkbox:param");
        String id = (String) request.getAttribute("liferay-ui:input-checkbox:id");
        Boolean defaultValue = (Boolean) request.getAttribute("liferay-ui:input-checkbox:defaultValue");
        String onClick = GetterUtil
                .getString((String) request.getAttribute("liferay-ui:input-checkbox:onClick"));
        boolean disabled = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:input-checkbox:disabled"));

        boolean value = ParamUtil.getBoolean(request, param, defaultValue.booleanValue());

        if (Validator.isNull(id)) {
            id = namespace + param;
        }

        out.write("\n");
        out.write("\n");
        out.write("<input id=\"");
        out.print(id);
        out.write("\" name=\"");
        out.print(namespace);
        out.print(param);
        out.write("\" type=\"hidden\" value=\"");
        out.print(value);
        out.write("\" />\n");
        out.write("\n");
        out.write("<input ");
        out.print(value ? "checked" : "");
        out.write(' ');
        out.print(Validator.isNotNull(cssClass) ? "class=\"" + cssClass + "\"" : StringPool.BLANK);
        out.write(' ');
        out.print(disabled ? "disabled=\"disabled\"" : "");
        out.write(" id=\"");
        out.print(id);
        out.write("Checkbox\" name=\"");
        out.print(namespace);
        out.print(param);
        out.write("Checkbox\" type=\"checkbox\" onClick=\"Liferay.Util.updateCheckboxValue(this); ");
        out.print(onClick);
        out.write("\" />");
    } 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.html.taglib.ui.input_005feditor.page_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;/*from   w ww .  ja va  2 s .  co m*/
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        String cssClass = GetterUtil
                .getString((String) request.getAttribute("liferay-ui:input-editor:cssClass"));
        String name = GetterUtil.getString((String) request.getAttribute("liferay-ui:input-editor:name"),
                namespace + "editor");

        String editorImpl = (String) request.getAttribute("liferay-ui:input-editor:editorImpl");

        if (Validator.isNull(editorImpl)) {
            editorImpl = PropsValues.EDITOR_WYSIWYG_DEFAULT;
        } else {
            editorImpl = PropsUtil.get(editorImpl);
        }

        String toolbarSet = (String) request.getAttribute("liferay-ui:input-editor:toolbarSet");
        String initMethod = GetterUtil.getString(
                (String) request.getAttribute("liferay-ui:input-editor:initMethod"), namespace + "initEditor");
        String onChangeMethod = (String) request.getAttribute("liferay-ui:input-editor:onChangeMethod");
        String height = GetterUtil.getString((String) request.getAttribute("liferay-ui:input-editor:height"),
                "450");
        String width = GetterUtil.getString((String) request.getAttribute("liferay-ui:input-editor:width"),
                "640");

        StringBundler sb = new StringBundler();

        sb.append(themeDisplay.getPathContext());
        sb.append("/html/js/editor/editor.jsp?p_l_id=");
        sb.append(plid);
        sb.append("&amp;p_main_path=");
        sb.append(HttpUtil.encodeURL(themeDisplay.getPathMain()));
        sb.append("&amp;doAsUserId=");

        String doAsUserId = themeDisplay.getDoAsUserId();

        if (Validator.isNull(doAsUserId)) {
            doAsUserId = Encryptor.encrypt(company.getKeyObj(), String.valueOf(themeDisplay.getUserId()));
        }

        sb.append(HttpUtil.encodeURL(doAsUserId));

        sb.append("&amp;editorImpl=");
        sb.append(editorImpl);

        if (Validator.isNotNull(toolbarSet)) {
            sb.append("&amp;toolbarSet=");
            sb.append(toolbarSet);
        }

        if (Validator.isNotNull(initMethod)) {
            sb.append("&amp;initMethod=");
            sb.append(initMethod);
        }

        if (Validator.isNotNull(onChangeMethod)) {
            sb.append("&amp;onChangeMethod=");
            sb.append(onChangeMethod);
        }

        sb.append("&amp;cssPath=");
        sb.append(HttpUtil.encodeURL(themeDisplay.getPathThemeCss()));

        String cssClasses = "portlet ";

        Portlet portlet = (Portlet) request.getAttribute(WebKeys.RENDER_PORTLET);

        if (portlet != null) {
            cssClasses += portlet.getCssClassWrapper();
        }

        sb.append("&amp;cssClasses=");
        sb.append(HttpUtil.encodeURL(cssClasses));

        String editorURL = sb.toString();

        out.write("\n");
        out.write("\n");
        out.write("<iframe ");
        out.print(Validator.isNotNull(cssClass) ? "class=\"" + cssClass + "\"" : StringPool.BLANK);
        out.write(' ');
        out.print(BrowserSnifferUtil.isIe(request) && (BrowserSnifferUtil.getMajorVersion(request) <= 8)
                ? "frameborder=\"0\""
                : StringPool.BLANK);
        out.write(" height=\"");
        out.print(height);
        out.write("\" id=\"");
        out.print(name);
        out.write("\" name=\"");
        out.print(name);
        out.write("\" src=\"");
        out.print(editorURL);
        out.write("\" style=\"border: none;\" width=\"");
        out.print(width);
        out.write("\"></iframe>");
    } 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.html.taglib.ui.input_005fresource.page_jsp.java

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

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

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        String cssClass = GetterUtil
                .getString((String) request.getAttribute("liferay-ui:input-resource:cssClass"));
        String url = (String) request.getAttribute("liferay-ui:input-resource:url");

        out.write("\n");
        out.write("\n");
        out.write("<input class=\"form-text ");
        out.print(cssClass);
        out.write("\" readonly=\"true\" style=\"width: ");
        out.print(ModelHintsConstants.TEXT_DISPLAY_WIDTH);
        out.write("px;\" type=\"text\" value=\"");
        out.print(HtmlUtil.escapeAttribute(url));
        out.write("\" onClick=\"Liferay.Util.selectAndCopy(this);\" />");
    } 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.html.taglib.ui.my_005fplaces.page_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;//w ww  . j a v  a2 s .c  om
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        int max = GetterUtil.getInteger((String) request.getAttribute("liferay-ui:my_places:max"));

        if (max <= 0) {
            max = PropsValues.MY_PLACES_MAX_ELEMENTS;
        }

        List<Group> myPlaces = user.getMyPlaces(max);

        out.write('\n');
        out.write('\n');
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
        _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f0.setParent(null);
        // /html/taglib/ui/my_places/page.jsp(31,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f0.setTest(!myPlaces.isEmpty());
        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("\t<ul class=\"taglib-my-places\">\n");
                out.write("\n");
                out.write("\t\t");

                PortletURL portletURL = new PortletURLImpl(request, PortletKeys.MY_PLACES, plid,
                        PortletRequest.ACTION_PHASE);

                portletURL.setWindowState(WindowState.NORMAL);
                portletURL.setPortletMode(PortletMode.VIEW);

                portletURL.setParameter("struts_action", "/my_places/view");

                for (Group myPlace : myPlaces) {
                    myPlace = myPlace.toEscapedModel();

                    boolean organizationCommunity = myPlace.isOrganization();
                    boolean regularCommunity = myPlace.isCommunity();
                    boolean userCommunity = myPlace.isUser();
                    int publicLayoutsPageCount = myPlace.getPublicLayoutsPageCount();
                    int privateLayoutsPageCount = myPlace.getPrivateLayoutsPageCount();

                    Organization organization = null;

                    String publicAddPageHREF = null;
                    String privateAddPageHREF = null;

                    if (organizationCommunity) {
                        organization = OrganizationLocalServiceUtil
                                .getOrganization(myPlace.getOrganizationId());

                        if (OrganizationPermissionUtil.contains(permissionChecker,
                                organization.getOrganizationId(), ActionKeys.MANAGE_LAYOUTS)) {
                            PortletURL addPageURL = new PortletURLImpl(request, PortletKeys.MY_PLACES, plid,
                                    PortletRequest.ACTION_PHASE);

                            addPageURL.setWindowState(WindowState.NORMAL);
                            addPageURL.setPortletMode(PortletMode.VIEW);

                            addPageURL.setParameter("struts_action", "/my_places/edit_pages");
                            addPageURL.setParameter("redirect", currentURL);
                            addPageURL.setParameter("groupId", String.valueOf(myPlace.getGroupId()));
                            addPageURL.setParameter("privateLayout", Boolean.FALSE.toString());

                            publicAddPageHREF = addPageURL.toString();

                            addPageURL.setParameter("privateLayout", Boolean.TRUE.toString());

                            privateAddPageHREF = addPageURL.toString();
                        }
                    } else if (regularCommunity) {
                        if (GroupPermissionUtil.contains(permissionChecker, myPlace.getGroupId(),
                                ActionKeys.MANAGE_LAYOUTS)) {
                            PortletURL addPageURL = new PortletURLImpl(request, PortletKeys.MY_PLACES, plid,
                                    PortletRequest.ACTION_PHASE);

                            addPageURL.setWindowState(WindowState.NORMAL);
                            addPageURL.setPortletMode(PortletMode.VIEW);

                            addPageURL.setParameter("struts_action", "/my_places/edit_pages");
                            addPageURL.setParameter("redirect", currentURL);
                            addPageURL.setParameter("groupId", String.valueOf(myPlace.getGroupId()));
                            addPageURL.setParameter("privateLayout", Boolean.FALSE.toString());

                            publicAddPageHREF = addPageURL.toString();

                            addPageURL.setParameter("privateLayout", Boolean.TRUE.toString());

                            privateAddPageHREF = addPageURL.toString();
                        }
                    } else if (userCommunity) {
                        PortletURL publicAddPageURL = new PortletURLImpl(request, PortletKeys.MY_ACCOUNT, plid,
                                PortletRequest.RENDER_PHASE);

                        publicAddPageURL.setWindowState(WindowState.MAXIMIZED);
                        publicAddPageURL.setPortletMode(PortletMode.VIEW);

                        publicAddPageURL.setParameter("struts_action", "/my_account/edit_pages");
                        publicAddPageURL.setParameter("tabs1", "public-pages");
                        publicAddPageURL.setParameter("redirect", currentURL);
                        publicAddPageURL.setParameter("groupId", String.valueOf(myPlace.getGroupId()));

                        publicAddPageHREF = publicAddPageURL.toString();

                        long privateAddPagePlid = myPlace.getDefaultPrivatePlid();

                        PortletURL privateAddPageURL = new PortletURLImpl(request, PortletKeys.MY_ACCOUNT, plid,
                                PortletRequest.RENDER_PHASE);

                        privateAddPageURL.setWindowState(WindowState.MAXIMIZED);
                        privateAddPageURL.setPortletMode(PortletMode.VIEW);

                        privateAddPageURL.setParameter("struts_action", "/my_account/edit_pages");
                        privateAddPageURL.setParameter("tabs1", "private-pages");
                        privateAddPageURL.setParameter("redirect", currentURL);
                        privateAddPageURL.setParameter("groupId", String.valueOf(myPlace.getGroupId()));

                        privateAddPageHREF = privateAddPageURL.toString();

                        if (!PropsValues.LAYOUT_USER_PUBLIC_LAYOUTS_MODIFIABLE) {
                            publicAddPageHREF = null;
                        }

                        if (!PropsValues.LAYOUT_USER_PRIVATE_LAYOUTS_MODIFIABLE) {
                            privateAddPageHREF = null;
                        }
                    }

                    boolean showPublicPlace = true;

                    boolean hasPowerUserRole = RoleLocalServiceUtil.hasUserRole(user.getUserId(),
                            user.getCompanyId(), RoleConstants.POWER_USER, true);

                    if (publicLayoutsPageCount == 0) {
                        if (organizationCommunity) {
                            showPublicPlace = PropsValues.MY_PLACES_SHOW_ORGANIZATION_PUBLIC_SITES_WITH_NO_LAYOUTS;
                        } else if (regularCommunity) {
                            showPublicPlace = PropsValues.MY_PLACES_SHOW_COMMUNITY_PUBLIC_SITES_WITH_NO_LAYOUTS;
                        } else if (userCommunity) {
                            showPublicPlace = PropsValues.MY_PLACES_SHOW_USER_PUBLIC_SITES_WITH_NO_LAYOUTS;

                            if (!PropsValues.LAYOUT_USER_PUBLIC_LAYOUTS_MODIFIABLE
                                    || (PropsValues.LAYOUT_USER_PUBLIC_LAYOUTS_POWER_USER_REQUIRED
                                            && !hasPowerUserRole)) {
                                showPublicPlace = false;
                            }
                        }
                    }

                    boolean showPrivatePlace = true;

                    if (privateLayoutsPageCount == 0) {
                        if (organizationCommunity) {
                            showPrivatePlace = PropsValues.MY_PLACES_SHOW_ORGANIZATION_PRIVATE_SITES_WITH_NO_LAYOUTS;
                        } else if (regularCommunity) {
                            showPrivatePlace = PropsValues.MY_PLACES_SHOW_COMMUNITY_PRIVATE_SITES_WITH_NO_LAYOUTS;
                        } else if (userCommunity) {
                            showPrivatePlace = PropsValues.MY_PLACES_SHOW_USER_PRIVATE_SITES_WITH_NO_LAYOUTS;

                            if (!PropsValues.LAYOUT_USER_PRIVATE_LAYOUTS_MODIFIABLE
                                    || (PropsValues.LAYOUT_USER_PRIVATE_LAYOUTS_POWER_USER_REQUIRED
                                            && !hasPowerUserRole)) {
                                showPrivatePlace = false;
                            }
                        }
                    }

                    out.write("\n");
                    out.write("\n");
                    out.write("\t\t\t");
                    //  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_c_005fif_005f0);
                    // /html/taglib/ui/my_places/page.jsp(171,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_c_005fif_005f1.setTest(showPublicPlace || showPrivatePlace);
                    int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
                    if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                            out.write("\n");
                            out.write("\t\t\t\t");
                            //  c:choose
                            org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f0 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose
                                    .get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
                            _jspx_th_c_005fchoose_005f0.setPageContext(_jspx_page_context);
                            _jspx_th_c_005fchoose_005f0
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                            int _jspx_eval_c_005fchoose_005f0 = _jspx_th_c_005fchoose_005f0.doStartTag();
                            if (_jspx_eval_c_005fchoose_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                do {
                                    out.write("\n");
                                    out.write("\t\t\t\t\t");
                                    //  c:when
                                    org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f0 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                            .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                    _jspx_th_c_005fwhen_005f0.setPageContext(_jspx_page_context);
                                    _jspx_th_c_005fwhen_005f0.setParent(
                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
                                    // /html/taglib/ui/my_places/page.jsp(173,5) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                    _jspx_th_c_005fwhen_005f0
                                            .setTest(PropsValues.MY_PLACES_DISPLAY_STYLE.equals("simple"));
                                    int _jspx_eval_c_005fwhen_005f0 = _jspx_th_c_005fwhen_005f0.doStartTag();
                                    if (_jspx_eval_c_005fwhen_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                        do {
                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t");

                                            portletURL.setParameter("groupId",
                                                    String.valueOf(myPlace.getGroupId()));
                                            portletURL.setParameter("privateLayout", Boolean.FALSE.toString());

                                            boolean firstCommunity = false;

                                            if (myPlaces.indexOf(myPlace) == 0) {
                                                firstCommunity = true;
                                            }

                                            boolean lastCommunity = false;

                                            if (myPlaces.size() == (myPlaces.indexOf(myPlace) + 1)) {
                                                lastCommunity = true;
                                            }

                                            boolean selectedCommunity = false;

                                            if (layout != null) {
                                                if (layout.getGroupId() == myPlace.getGroupId()) {
                                                    selectedCommunity = true;
                                                }
                                            }

                                            boolean selectedPlace = false;

                                            if (layout != null) {
                                                if (!layout.isPrivateLayout()
                                                        && (layout.getGroupId() == myPlace.getGroupId())) {
                                                    selectedPlace = true;
                                                }
                                            }

                                            String cssClass = "public-community";

                                            if (firstCommunity) {
                                                cssClass += " first";
                                            }

                                            if (lastCommunity) {
                                                cssClass += " last";
                                            }

                                            if (selectedCommunity) {
                                                cssClass += " current-community";
                                            }

                                            if (selectedPlace) {
                                                cssClass += " current-site";
                                            }

                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t");
                                            //  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_c_005fwhen_005f0);
                                            // /html/taglib/ui/my_places/page.jsp(226,6) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                            _jspx_th_c_005fif_005f2
                                                    .setTest(showPublicPlace && publicLayoutsPageCount > 0);
                                            int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2
                                                    .doStartTag();
                                            if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                do {
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t<li class=\"");
                                                    out.print(cssClass);
                                                    out.write("\">\n");
                                                    out.write("\t\t\t\t\t\t\t\t<a href=\"");
                                                    out.print(HtmlUtil.escape(portletURL.toString()));
                                                    out.write(
                                                            "\" onclick=\"Liferay.Util.forcePost(this); return false;\">\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t<span class=\"site-name\">\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:choose
                                                    org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f1 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose
                                                            .get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
                                                    _jspx_th_c_005fchoose_005f1
                                                            .setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fchoose_005f1.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
                                                    int _jspx_eval_c_005fchoose_005f1 = _jspx_th_c_005fchoose_005f1
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fchoose_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            //  c:when
                                                            org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f1 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                                            _jspx_th_c_005fwhen_005f1
                                                                    .setPageContext(_jspx_page_context);
                                                            _jspx_th_c_005fwhen_005f1.setParent(
                                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1);
                                                            // /html/taglib/ui/my_places/page.jsp(231,11) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                            _jspx_th_c_005fwhen_005f1
                                                                    .setTest(organizationCommunity);
                                                            int _jspx_eval_c_005fwhen_005f1 = _jspx_th_c_005fwhen_005f1
                                                                    .doStartTag();
                                                            if (_jspx_eval_c_005fwhen_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                                do {
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t");
                                                                    out.print(HtmlUtil
                                                                            .escape(organization.getName()));
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                                    int evalDoAfterBody = _jspx_th_c_005fwhen_005f1
                                                                            .doAfterBody();
                                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                        break;
                                                                } while (true);
                                                            }
                                                            if (_jspx_th_c_005fwhen_005f1
                                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                                _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                        .reuse(_jspx_th_c_005fwhen_005f1);
                                                                return;
                                                            }
                                                            _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .reuse(_jspx_th_c_005fwhen_005f1);
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            //  c:when
                                                            org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f2 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                                            _jspx_th_c_005fwhen_005f2
                                                                    .setPageContext(_jspx_page_context);
                                                            _jspx_th_c_005fwhen_005f2.setParent(
                                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1);
                                                            // /html/taglib/ui/my_places/page.jsp(234,11) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                            _jspx_th_c_005fwhen_005f2.setTest(userCommunity);
                                                            int _jspx_eval_c_005fwhen_005f2 = _jspx_th_c_005fwhen_005f2
                                                                    .doStartTag();
                                                            if (_jspx_eval_c_005fwhen_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                                do {
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t");
                                                                    if (_jspx_meth_liferay_002dui_005fmessage_005f0(
                                                                            _jspx_th_c_005fwhen_005f2,
                                                                            _jspx_page_context))
                                                                        return;
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                                    int evalDoAfterBody = _jspx_th_c_005fwhen_005f2
                                                                            .doAfterBody();
                                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                        break;
                                                                } while (true);
                                                            }
                                                            if (_jspx_th_c_005fwhen_005f2
                                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                                _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                        .reuse(_jspx_th_c_005fwhen_005f2);
                                                                return;
                                                            }
                                                            _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .reuse(_jspx_th_c_005fwhen_005f2);
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            //  c:when
                                                            org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f3 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                                            _jspx_th_c_005fwhen_005f3
                                                                    .setPageContext(_jspx_page_context);
                                                            _jspx_th_c_005fwhen_005f3.setParent(
                                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1);
                                                            // /html/taglib/ui/my_places/page.jsp(237,11) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                            _jspx_th_c_005fwhen_005f3.setTest(myPlace.getName()
                                                                    .equals(GroupConstants.GUEST));
                                                            int _jspx_eval_c_005fwhen_005f3 = _jspx_th_c_005fwhen_005f3
                                                                    .doStartTag();
                                                            if (_jspx_eval_c_005fwhen_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                                do {
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t");
                                                                    out.print(HtmlUtil.escape(themeDisplay
                                                                            .getAccount().getName()));
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                                    int evalDoAfterBody = _jspx_th_c_005fwhen_005f3
                                                                            .doAfterBody();
                                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                        break;
                                                                } while (true);
                                                            }
                                                            if (_jspx_th_c_005fwhen_005f3
                                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                                _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                        .reuse(_jspx_th_c_005fwhen_005f3);
                                                                return;
                                                            }
                                                            _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .reuse(_jspx_th_c_005fwhen_005f3);
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            //  c:otherwise
                                                            org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f0 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise
                                                                    .get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
                                                            _jspx_th_c_005fotherwise_005f0
                                                                    .setPageContext(_jspx_page_context);
                                                            _jspx_th_c_005fotherwise_005f0.setParent(
                                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1);
                                                            int _jspx_eval_c_005fotherwise_005f0 = _jspx_th_c_005fotherwise_005f0
                                                                    .doStartTag();
                                                            if (_jspx_eval_c_005fotherwise_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                                do {
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t");
                                                                    out.print(myPlace.getName());
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                                    int evalDoAfterBody = _jspx_th_c_005fotherwise_005f0
                                                                            .doAfterBody();
                                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                        break;
                                                                } while (true);
                                                            }
                                                            if (_jspx_th_c_005fotherwise_005f0
                                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                                _005fjspx_005ftagPool_005fc_005fotherwise
                                                                        .reuse(_jspx_th_c_005fotherwise_005f0);
                                                                return;
                                                            }
                                                            _005fjspx_005ftagPool_005fc_005fotherwise
                                                                    .reuse(_jspx_th_c_005fotherwise_005f0);
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fchoose_005f1
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fchoose_005f1
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fchoose
                                                                .reuse(_jspx_th_c_005fchoose_005f1);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fchoose
                                                            .reuse(_jspx_th_c_005fchoose_005f1);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t</span>\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t");
                                                    //  c:if
                                                    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
                                                    _jspx_th_c_005fif_005f3.setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fif_005f3.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
                                                    // /html/taglib/ui/my_places/page.jsp(246,9) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fif_005f3
                                                            .setTest(privateLayoutsPageCount > 0);
                                                    int _jspx_eval_c_005fif_005f3 = _jspx_th_c_005fif_005f3
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fif_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write(
                                                                    "\t\t\t\t\t\t\t\t\t\t<span class=\"site-type\">");
                                                            if (_jspx_meth_liferay_002dui_005fmessage_005f1(
                                                                    _jspx_th_c_005fif_005f3,
                                                                    _jspx_page_context))
                                                                return;
                                                            out.write("</span>\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fif_005f3
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fif_005f3
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                                .reuse(_jspx_th_c_005fif_005f3);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .reuse(_jspx_th_c_005fif_005f3);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t</a>\n");
                                                    out.write("\t\t\t\t\t\t\t</li>\n");
                                                    out.write("\t\t\t\t\t\t");
                                                    int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                        break;
                                                } while (true);
                                            }
                                            if (_jspx_th_c_005fif_005f2
                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                        .reuse(_jspx_th_c_005fif_005f2);
                                                return;
                                            }
                                            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                    .reuse(_jspx_th_c_005fif_005f2);
                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t");

                                            portletURL.setParameter("privateLayout", Boolean.TRUE.toString());

                                            selectedPlace = false;

                                            if (layout != null) {
                                                selectedPlace = layout.isPrivateLayout()
                                                        && (layout.getGroupId() == myPlace.getGroupId());
                                            }

                                            cssClass = "private-community";

                                            if (selectedCommunity) {
                                                cssClass += " current-community";
                                            }

                                            if (selectedPlace) {
                                                cssClass += " current-site";
                                            }

                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t");
                                            //  c:if
                                            org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f4 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                    .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
                                            _jspx_th_c_005fif_005f4.setPageContext(_jspx_page_context);
                                            _jspx_th_c_005fif_005f4.setParent(
                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f0);
                                            // /html/taglib/ui/my_places/page.jsp(273,6) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                            _jspx_th_c_005fif_005f4
                                                    .setTest(showPrivatePlace && privateLayoutsPageCount > 0);
                                            int _jspx_eval_c_005fif_005f4 = _jspx_th_c_005fif_005f4
                                                    .doStartTag();
                                            if (_jspx_eval_c_005fif_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                do {
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t<li class=\"");
                                                    out.print(cssClass);
                                                    out.write("\">\n");
                                                    out.write("\t\t\t\t\t\t\t\t<a href=\"");
                                                    out.print(HtmlUtil.escape(portletURL.toString()));
                                                    out.write(
                                                            "\" onclick=\"Liferay.Util.forcePost(this); return false;\">\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t<span class=\"site-name\">\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:choose
                                                    org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f2 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose
                                                            .get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
                                                    _jspx_th_c_005fchoose_005f2
                                                            .setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fchoose_005f2.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f4);
                                                    int _jspx_eval_c_005fchoose_005f2 = _jspx_th_c_005fchoose_005f2
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fchoose_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            //  c:when
                                                            org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f4 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                                            _jspx_th_c_005fwhen_005f4
                                                                    .setPageContext(_jspx_page_context);
                                                            _jspx_th_c_005fwhen_005f4.setParent(
                                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2);
                                                            // /html/taglib/ui/my_places/page.jsp(278,11) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                            _jspx_th_c_005fwhen_005f4
                                                                    .setTest(organizationCommunity);
                                                            int _jspx_eval_c_005fwhen_005f4 = _jspx_th_c_005fwhen_005f4
                                                                    .doStartTag();
                                                            if (_jspx_eval_c_005fwhen_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                                do {
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t");
                                                                    out.print(HtmlUtil
                                                                            .escape(organization.getName()));
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                                    int evalDoAfterBody = _jspx_th_c_005fwhen_005f4
                                                                            .doAfterBody();
                                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                        break;
                                                                } while (true);
                                                            }
                                                            if (_jspx_th_c_005fwhen_005f4
                                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                                _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                        .reuse(_jspx_th_c_005fwhen_005f4);
                                                                return;
                                                            }
                                                            _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .reuse(_jspx_th_c_005fwhen_005f4);
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            //  c:when
                                                            org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f5 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                                            _jspx_th_c_005fwhen_005f5
                                                                    .setPageContext(_jspx_page_context);
                                                            _jspx_th_c_005fwhen_005f5.setParent(
                                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2);
                                                            // /html/taglib/ui/my_places/page.jsp(281,11) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                            _jspx_th_c_005fwhen_005f5.setTest(userCommunity);
                                                            int _jspx_eval_c_005fwhen_005f5 = _jspx_th_c_005fwhen_005f5
                                                                    .doStartTag();
                                                            if (_jspx_eval_c_005fwhen_005f5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                                do {
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t");
                                                                    if (_jspx_meth_liferay_002dui_005fmessage_005f2(
                                                                            _jspx_th_c_005fwhen_005f5,
                                                                            _jspx_page_context))
                                                                        return;
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                                    int evalDoAfterBody = _jspx_th_c_005fwhen_005f5
                                                                            .doAfterBody();
                                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                        break;
                                                                } while (true);
                                                            }
                                                            if (_jspx_th_c_005fwhen_005f5
                                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                                _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                        .reuse(_jspx_th_c_005fwhen_005f5);
                                                                return;
                                                            }
                                                            _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .reuse(_jspx_th_c_005fwhen_005f5);
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            //  c:when
                                                            org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f6 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                                            _jspx_th_c_005fwhen_005f6
                                                                    .setPageContext(_jspx_page_context);
                                                            _jspx_th_c_005fwhen_005f6.setParent(
                                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2);
                                                            // /html/taglib/ui/my_places/page.jsp(284,11) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                            _jspx_th_c_005fwhen_005f6.setTest(myPlace.getName()
                                                                    .equals(GroupConstants.GUEST));
                                                            int _jspx_eval_c_005fwhen_005f6 = _jspx_th_c_005fwhen_005f6
                                                                    .doStartTag();
                                                            if (_jspx_eval_c_005fwhen_005f6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                                do {
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t");
                                                                    out.print(HtmlUtil.escape(themeDisplay
                                                                            .getAccount().getName()));
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                                    int evalDoAfterBody = _jspx_th_c_005fwhen_005f6
                                                                            .doAfterBody();
                                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                        break;
                                                                } while (true);
                                                            }
                                                            if (_jspx_th_c_005fwhen_005f6
                                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                                _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                        .reuse(_jspx_th_c_005fwhen_005f6);
                                                                return;
                                                            }
                                                            _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                    .reuse(_jspx_th_c_005fwhen_005f6);
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            //  c:otherwise
                                                            org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f1 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise
                                                                    .get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
                                                            _jspx_th_c_005fotherwise_005f1
                                                                    .setPageContext(_jspx_page_context);
                                                            _jspx_th_c_005fotherwise_005f1.setParent(
                                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2);
                                                            int _jspx_eval_c_005fotherwise_005f1 = _jspx_th_c_005fotherwise_005f1
                                                                    .doStartTag();
                                                            if (_jspx_eval_c_005fotherwise_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                                do {
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t");
                                                                    out.print(myPlace.getName());
                                                                    out.write("\n");
                                                                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                                    int evalDoAfterBody = _jspx_th_c_005fotherwise_005f1
                                                                            .doAfterBody();
                                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                        break;
                                                                } while (true);
                                                            }
                                                            if (_jspx_th_c_005fotherwise_005f1
                                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                                _005fjspx_005ftagPool_005fc_005fotherwise
                                                                        .reuse(_jspx_th_c_005fotherwise_005f1);
                                                                return;
                                                            }
                                                            _005fjspx_005ftagPool_005fc_005fotherwise
                                                                    .reuse(_jspx_th_c_005fotherwise_005f1);
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fchoose_005f2
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fchoose_005f2
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fchoose
                                                                .reuse(_jspx_th_c_005fchoose_005f2);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fchoose
                                                            .reuse(_jspx_th_c_005fchoose_005f2);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t</span>\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t");
                                                    //  c:if
                                                    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f5 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
                                                    _jspx_th_c_005fif_005f5.setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fif_005f5.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f4);
                                                    // /html/taglib/ui/my_places/page.jsp(293,9) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fif_005f5.setTest(publicLayoutsPageCount > 0);
                                                    int _jspx_eval_c_005fif_005f5 = _jspx_th_c_005fif_005f5
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fif_005f5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write(
                                                                    "\t\t\t\t\t\t\t\t\t\t<span class=\"site-type\">");
                                                            if (_jspx_meth_liferay_002dui_005fmessage_005f3(
                                                                    _jspx_th_c_005fif_005f5,
                                                                    _jspx_page_context))
                                                                return;
                                                            out.write("</span>\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fif_005f5
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fif_005f5
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                                .reuse(_jspx_th_c_005fif_005f5);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .reuse(_jspx_th_c_005fif_005f5);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t</a>\n");
                                                    out.write("\t\t\t\t\t\t\t</li>\n");
                                                    out.write("\t\t\t\t\t\t");
                                                    int evalDoAfterBody = _jspx_th_c_005fif_005f4.doAfterBody();
                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                        break;
                                                } while (true);
                                            }
                                            if (_jspx_th_c_005fif_005f4
                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                        .reuse(_jspx_th_c_005fif_005f4);
                                                return;
                                            }
                                            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                    .reuse(_jspx_th_c_005fif_005f4);
                                            out.write("\n");
                                            out.write("\t\t\t\t\t");
                                            int evalDoAfterBody = _jspx_th_c_005fwhen_005f0.doAfterBody();
                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                break;
                                        } while (true);
                                    }
                                    if (_jspx_th_c_005fwhen_005f0
                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                        _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                .reuse(_jspx_th_c_005fwhen_005f0);
                                        return;
                                    }
                                    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                            .reuse(_jspx_th_c_005fwhen_005f0);
                                    out.write("\n");
                                    out.write("\t\t\t\t\t");
                                    //  c:when
                                    org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f7 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                            .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                    _jspx_th_c_005fwhen_005f7.setPageContext(_jspx_page_context);
                                    _jspx_th_c_005fwhen_005f7.setParent(
                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
                                    // /html/taglib/ui/my_places/page.jsp(300,5) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                    _jspx_th_c_005fwhen_005f7
                                            .setTest(PropsValues.MY_PLACES_DISPLAY_STYLE.equals("classic"));
                                    int _jspx_eval_c_005fwhen_005f7 = _jspx_th_c_005fwhen_005f7.doStartTag();
                                    if (_jspx_eval_c_005fwhen_005f7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                        do {
                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t");

                                            boolean selectedCommunity = false;

                                            if (layout != null) {
                                                if (layout.getGroupId() == myPlace.getGroupId()) {
                                                    selectedCommunity = true;
                                                }
                                            }

                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t<li class=\"");
                                            out.print(selectedCommunity ? "current-community" : "");
                                            out.write("\">\n");
                                            out.write("\t\t\t\t\t\t\t<h3>\n");
                                            out.write("\t\t\t\t\t\t\t\t<a href=\"javascript:;\">\n");
                                            out.write("\t\t\t\t\t\t\t\t\t");
                                            //  c:choose
                                            org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f3 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose
                                                    .get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
                                            _jspx_th_c_005fchoose_005f3.setPageContext(_jspx_page_context);
                                            _jspx_th_c_005fchoose_005f3.setParent(
                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f7);
                                            int _jspx_eval_c_005fchoose_005f3 = _jspx_th_c_005fchoose_005f3
                                                    .doStartTag();
                                            if (_jspx_eval_c_005fchoose_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                do {
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:when
                                                    org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f8 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                            .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                                    _jspx_th_c_005fwhen_005f8
                                                            .setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fwhen_005f8.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f3);
                                                    // /html/taglib/ui/my_places/page.jsp(316,10) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fwhen_005f8.setTest(organizationCommunity);
                                                    int _jspx_eval_c_005fwhen_005f8 = _jspx_th_c_005fwhen_005f8
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fwhen_005f8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            out.print(HtmlUtil.escape(organization.getName()));
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fwhen_005f8
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fwhen_005f8
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                .reuse(_jspx_th_c_005fwhen_005f8);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                            .reuse(_jspx_th_c_005fwhen_005f8);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:when
                                                    org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f9 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                            .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                                                    _jspx_th_c_005fwhen_005f9
                                                            .setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fwhen_005f9.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f3);
                                                    // /html/taglib/ui/my_places/page.jsp(319,10) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fwhen_005f9.setTest(userCommunity);
                                                    int _jspx_eval_c_005fwhen_005f9 = _jspx_th_c_005fwhen_005f9
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fwhen_005f9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            if (_jspx_meth_liferay_002dui_005fmessage_005f4(
                                                                    _jspx_th_c_005fwhen_005f9,
                                                                    _jspx_page_context))
                                                                return;
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fwhen_005f9
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fwhen_005f9
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                                .reuse(_jspx_th_c_005fwhen_005f9);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                            .reuse(_jspx_th_c_005fwhen_005f9);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:otherwise
                                                    org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f2 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise
                                                            .get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
                                                    _jspx_th_c_005fotherwise_005f2
                                                            .setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fotherwise_005f2.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f3);
                                                    int _jspx_eval_c_005fotherwise_005f2 = _jspx_th_c_005fotherwise_005f2
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fotherwise_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t\t");
                                                            out.print(myPlace.getName());
                                                            out.write("\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fotherwise_005f2
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fotherwise_005f2
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fotherwise
                                                                .reuse(_jspx_th_c_005fotherwise_005f2);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fotherwise
                                                            .reuse(_jspx_th_c_005fotherwise_005f2);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t");
                                                    int evalDoAfterBody = _jspx_th_c_005fchoose_005f3
                                                            .doAfterBody();
                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                        break;
                                                } while (true);
                                            }
                                            if (_jspx_th_c_005fchoose_005f3
                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                _005fjspx_005ftagPool_005fc_005fchoose
                                                        .reuse(_jspx_th_c_005fchoose_005f3);
                                                return;
                                            }
                                            _005fjspx_005ftagPool_005fc_005fchoose
                                                    .reuse(_jspx_th_c_005fchoose_005f3);
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t\t\t</a>\n");
                                            out.write("\t\t\t\t\t\t\t</h3>\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t\t<ul>\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t\t\t");

                                            portletURL.setParameter("groupId",
                                                    String.valueOf(myPlace.getGroupId()));
                                            portletURL.setParameter("privateLayout", Boolean.FALSE.toString());

                                            boolean selectedPlace = false;

                                            if (layout != null) {
                                                selectedPlace = !layout.isPrivateLayout()
                                                        && (layout.getGroupId() == myPlace.getGroupId());
                                            }

                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t\t\t");
                                            //  c:if
                                            org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f6 = (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_005f6.setPageContext(_jspx_page_context);
                                            _jspx_th_c_005fif_005f6.setParent(
                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f7);
                                            // /html/taglib/ui/my_places/page.jsp(342,8) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                            _jspx_th_c_005fif_005f6.setTest(showPublicPlace);
                                            int _jspx_eval_c_005fif_005f6 = _jspx_th_c_005fif_005f6
                                                    .doStartTag();
                                            if (_jspx_eval_c_005fif_005f6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                do {
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t<li class=\"public ");
                                                    out.print(selectedPlace ? "current" : "");
                                                    out.write("\">\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t<a href=\"");
                                                    out.print(publicLayoutsPageCount > 0
                                                            ? HtmlUtil.escape(portletURL.toString())
                                                            : "javascript:;");
                                                    out.write("\"\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:if
                                                    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f7 = (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_005f7.setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fif_005f7.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f6);
                                                    // /html/taglib/ui/my_places/page.jsp(346,10) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fif_005f7.setTest(userCommunity);
                                                    int _jspx_eval_c_005fif_005f7 = _jspx_th_c_005fif_005f7
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fif_005f7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write(
                                                                    "\t\t\t\t\t\t\t\t\t\t\tid=\"my-community-public-pages\"\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fif_005f7
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fif_005f7
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                                .reuse(_jspx_th_c_005fif_005f7);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .reuse(_jspx_th_c_005fif_005f7);
                                                    out.write("\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:if
                                                    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f8 = (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_005f8.setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fif_005f8.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f6);
                                                    // /html/taglib/ui/my_places/page.jsp(350,10) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fif_005f8.setTest(publicLayoutsPageCount > 0);
                                                    int _jspx_eval_c_005fif_005f8 = _jspx_th_c_005fif_005f8
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fif_005f8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write(
                                                                    "\t\t\t\t\t\t\t\t\t\t\tonclick=\"Liferay.Util.forcePost(this); return false;\"\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fif_005f8
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fif_005f8
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                                .reuse(_jspx_th_c_005fif_005f8);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .reuse(_jspx_th_c_005fif_005f8);
                                                    out.write("\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t>");
                                                    if (_jspx_meth_liferay_002dui_005fmessage_005f5(
                                                            _jspx_th_c_005fif_005f6, _jspx_page_context))
                                                        return;
                                                    out.write(" <span class=\"page-count\">(");
                                                    out.print(publicLayoutsPageCount);
                                                    out.write(")</span></a>\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:if
                                                    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f9 = (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_005f9.setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fif_005f9.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f6);
                                                    // /html/taglib/ui/my_places/page.jsp(356,10) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fif_005f9.setTest(publicAddPageHREF != null);
                                                    int _jspx_eval_c_005fif_005f9 = _jspx_th_c_005fif_005f9
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fif_005f9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write(
                                                                    "\t\t\t\t\t\t\t\t\t\t\t<a class=\"add-page\" href=\"");
                                                            out.print(HtmlUtil.escape(publicAddPageHREF));
                                                            out.write(
                                                                    "\" onclick=\"Liferay.Util.forcePost(this); return false;\">");
                                                            if (_jspx_meth_liferay_002dui_005fmessage_005f6(
                                                                    _jspx_th_c_005fif_005f9,
                                                                    _jspx_page_context))
                                                                return;
                                                            out.write("</a>\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fif_005f9
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fif_005f9
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                                .reuse(_jspx_th_c_005fif_005f9);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .reuse(_jspx_th_c_005fif_005f9);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t</li>\n");
                                                    out.write("\t\t\t\t\t\t\t\t");
                                                    int evalDoAfterBody = _jspx_th_c_005fif_005f6.doAfterBody();
                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                        break;
                                                } while (true);
                                            }
                                            if (_jspx_th_c_005fif_005f6
                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                        .reuse(_jspx_th_c_005fif_005f6);
                                                return;
                                            }
                                            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                    .reuse(_jspx_th_c_005fif_005f6);
                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t\t\t");

                                            portletURL.setParameter("groupId",
                                                    String.valueOf(myPlace.getGroupId()));
                                            portletURL.setParameter("privateLayout", Boolean.TRUE.toString());

                                            selectedPlace = false;

                                            if (layout != null) {
                                                selectedPlace = layout.isPrivateLayout()
                                                        && (layout.getGroupId() == myPlace.getGroupId());
                                            }

                                            out.write("\n");
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t\t\t");
                                            //  c:if
                                            org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f10 = (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_005f10.setPageContext(_jspx_page_context);
                                            _jspx_th_c_005fif_005f10.setParent(
                                                    (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f7);
                                            // /html/taglib/ui/my_places/page.jsp(373,8) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                            _jspx_th_c_005fif_005f10.setTest(showPrivatePlace);
                                            int _jspx_eval_c_005fif_005f10 = _jspx_th_c_005fif_005f10
                                                    .doStartTag();
                                            if (_jspx_eval_c_005fif_005f10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                do {
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t<li class=\"private ");
                                                    out.print(selectedPlace ? "current" : "");
                                                    out.write("\">\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t<a href=\"");
                                                    out.print(privateLayoutsPageCount > 0
                                                            ? HtmlUtil.escape(portletURL.toString())
                                                            : "javascript:;");
                                                    out.write("\"\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:if
                                                    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f11 = (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_005f11.setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fif_005f11.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f10);
                                                    // /html/taglib/ui/my_places/page.jsp(377,10) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fif_005f11.setTest(userCommunity);
                                                    int _jspx_eval_c_005fif_005f11 = _jspx_th_c_005fif_005f11
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fif_005f11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write(
                                                                    "\t\t\t\t\t\t\t\t\t\t\tid=\"my-community-private-pages\"\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fif_005f11
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fif_005f11
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                                .reuse(_jspx_th_c_005fif_005f11);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .reuse(_jspx_th_c_005fif_005f11);
                                                    out.write("\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:if
                                                    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f12 = (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_005f12.setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fif_005f12.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f10);
                                                    // /html/taglib/ui/my_places/page.jsp(381,10) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fif_005f12
                                                            .setTest(privateLayoutsPageCount > 0);
                                                    int _jspx_eval_c_005fif_005f12 = _jspx_th_c_005fif_005f12
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fif_005f12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write(
                                                                    "\t\t\t\t\t\t\t\t\t\t\tonclick=\"Liferay.Util.forcePost(this); return false;\"\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fif_005f12
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fif_005f12
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                                .reuse(_jspx_th_c_005fif_005f12);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .reuse(_jspx_th_c_005fif_005f12);
                                                    out.write("\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t>");
                                                    if (_jspx_meth_liferay_002dui_005fmessage_005f7(
                                                            _jspx_th_c_005fif_005f10, _jspx_page_context))
                                                        return;
                                                    out.write(" <span class=\"page-count\">(");
                                                    out.print(privateLayoutsPageCount);
                                                    out.write(")</span></a>\n");
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t\t");
                                                    //  c:if
                                                    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f13 = (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_005f13.setPageContext(_jspx_page_context);
                                                    _jspx_th_c_005fif_005f13.setParent(
                                                            (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f10);
                                                    // /html/taglib/ui/my_places/page.jsp(387,10) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                                    _jspx_th_c_005fif_005f13
                                                            .setTest(privateAddPageHREF != null);
                                                    int _jspx_eval_c_005fif_005f13 = _jspx_th_c_005fif_005f13
                                                            .doStartTag();
                                                    if (_jspx_eval_c_005fif_005f13 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                                                        do {
                                                            out.write("\n");
                                                            out.write(
                                                                    "\t\t\t\t\t\t\t\t\t\t\t<a class=\"add-page\" href=\"");
                                                            out.print(HtmlUtil.escape(privateAddPageHREF));
                                                            out.write(
                                                                    "\" onclick=\"Liferay.Util.forcePost(this); return false;\">");
                                                            if (_jspx_meth_liferay_002dui_005fmessage_005f8(
                                                                    _jspx_th_c_005fif_005f13,
                                                                    _jspx_page_context))
                                                                return;
                                                            out.write("</a>\n");
                                                            out.write("\t\t\t\t\t\t\t\t\t\t");
                                                            int evalDoAfterBody = _jspx_th_c_005fif_005f13
                                                                    .doAfterBody();
                                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                break;
                                                        } while (true);
                                                    }
                                                    if (_jspx_th_c_005fif_005f13
                                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                                .reuse(_jspx_th_c_005fif_005f13);
                                                        return;
                                                    }
                                                    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                            .reuse(_jspx_th_c_005fif_005f13);
                                                    out.write("\n");
                                                    out.write("\t\t\t\t\t\t\t\t\t</li>\n");
                                                    out.write("\t\t\t\t\t\t\t\t");
                                                    int evalDoAfterBody = _jspx_th_c_005fif_005f10
                                                            .doAfterBody();
                                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                        break;
                                                } while (true);
                                            }
                                            if (_jspx_th_c_005fif_005f10
                                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                                _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                        .reuse(_jspx_th_c_005fif_005f10);
                                                return;
                                            }
                                            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                                                    .reuse(_jspx_th_c_005fif_005f10);
                                            out.write("\n");
                                            out.write("\t\t\t\t\t\t\t</ul>\n");
                                            out.write("\t\t\t\t\t\t</li>\n");
                                            out.write("\t\t\t\t\t");
                                            int evalDoAfterBody = _jspx_th_c_005fwhen_005f7.doAfterBody();
                                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                break;
                                        } while (true);
                                    }
                                    if (_jspx_th_c_005fwhen_005f7
                                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                        _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                                .reuse(_jspx_th_c_005fwhen_005f7);
                                        return;
                                    }
                                    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                            .reuse(_jspx_th_c_005fwhen_005f7);
                                    out.write("\n");
                                    out.write("\t\t\t\t");
                                    int evalDoAfterBody = _jspx_th_c_005fchoose_005f0.doAfterBody();
                                    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                        break;
                                } while (true);
                            }
                            if (_jspx_th_c_005fchoose_005f0
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0);
                                return;
                            }
                            _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0);
                            out.write("\n");
                            out.write("\t\t\t");
                            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("\t\t");

                }

                out.write("\n");
                out.write("\n");
                out.write("\t</ul>\n");
                int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
    } 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.html.taglib.ui.panel.start_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;/*from  w  ww  .j  a  va2  s .c  o  m*/
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        boolean collapsible = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel:collapsible"));
        String cssClass = (String) request.getAttribute("liferay-ui:panel:cssClass");
        String defaultState = (String) request.getAttribute("liferay-ui:panel:defaultState");
        boolean extended = GetterUtil.getBoolean((String) request.getAttribute("liferay-ui:panel:extended"));
        String id = (String) request.getAttribute("liferay-ui:panel:id");
        String parentId = (String) request.getAttribute("liferay-ui:panel:parentId");
        boolean persistState = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel:persistState"));
        String title = (String) request.getAttribute("liferay-ui:panel:title");

        IntegerWrapper panelCount = (IntegerWrapper) request
                .getAttribute("liferay-ui:panel-container:panelCount" + parentId);

        if (panelCount != null) {
            panelCount.increment();

            Boolean panelContainerExtended = (Boolean) request
                    .getAttribute("liferay-ui:panel-container:extended");

            if (panelContainerExtended != null) {
                extended = panelContainerExtended.booleanValue();
            }
        }

        String panelState = GetterUtil.getString(SessionClicks.get(request, id, null), defaultState);

        if (collapsible) {
            cssClass += " lfr-collapsible";
        }

        if (!panelState.equals("open")) {
            cssClass += " lfr-collapsed";
        }

        if (extended) {
            cssClass += " lfr-extended";
        } else {
            cssClass += " lfr-panel-basic";
        }

        out.write("\n");
        out.write("\n");
        out.write("<div class=\"lfr-panel ");
        out.print(cssClass);
        out.write("\" id=\"");
        out.print(id);
        out.write("\">\n");
        out.write("\t<div class=\"lfr-panel-titlebar\">\n");
        out.write("\t\t<div class=\"lfr-panel-title\">\n");
        out.write("\t\t\t<span>\n");
        out.write("\t\t\t\t");
        out.print(title);
        out.write("\n");
        out.write("\t\t\t</span>\n");
        out.write("\t\t</div>\n");
        out.write("\n");
        out.write("\t\t");
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
        _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f0.setParent(null);
        // /html/taglib/ui/panel/start.jsp(27,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(collapsible && extended);
        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("\t\t\t<a class=\"lfr-panel-button\" href=\"javascript:;\"></a>\n");
                out.write("\t\t");
                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("\t</div>\n");
        out.write("\n");
        out.write("\t<div class=\"lfr-panel-content\">");
    } 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.html.taglib.ui.panel_005fcontainer.end_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;//from w w  w  .ja  v  a2 s  .  c  o m
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        boolean accordion = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel-container:accordion"));
        String cssClass = (String) request.getAttribute("liferay-ui:panel-container:cssClass");
        Boolean extended = (Boolean) request.getAttribute("liferay-ui:panel-container:extended");
        String id = (String) request.getAttribute("liferay-ui:panel-container:id");
        boolean persistState = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel-container:persistState"));

        out.write("\n");
        out.write("\n");
        out.write("</div>\n");
        out.write("\n");
        //  aui:script
        com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f0 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse
                .get(com.liferay.taglib.aui.ScriptTag.class);
        _jspx_th_aui_005fscript_005f0.setPageContext(_jspx_page_context);
        _jspx_th_aui_005fscript_005f0.setParent(null);
        // /html/taglib/ui/panel_container/end.jsp(21,0) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fscript_005f0.setUse("liferay-panel");
        int _jspx_eval_aui_005fscript_005f0 = _jspx_th_aui_005fscript_005f0.doStartTag();
        if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005fscript_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005fscript_005f0.doInitBody();
            }
            do {
                out.write("\n");
                out.write("\tvar panel = new Liferay.Panel(\n");
                out.write("\t\t{\n");
                out.write("\t\t\taccordion: ");
                out.print(accordion);
                out.write(",\n");
                out.write("\t\t\tcontainer: '#");
                out.print(id);
                out.write("',\n");
                out.write("\t\t\tpersistState: ");
                out.print(persistState);
                out.write("\n");
                out.write("\t\t}\n");
                out.write("\t);\n");
                out.write("\n");
                out.write("\tLiferay.Panel.register('");
                out.print(id);
                out.write("', panel);\n");
                int evalDoAfterBody = _jspx_th_aui_005fscript_005f0.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005fscript_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f0);
            return;
        }
        _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_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.html.taglib.ui.panel_005fcontainer.start_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;/*from  w  ww . java2 s.  c  o m*/
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        boolean accordion = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel-container:accordion"));
        String cssClass = (String) request.getAttribute("liferay-ui:panel-container:cssClass");
        Boolean extended = (Boolean) request.getAttribute("liferay-ui:panel-container:extended");
        String id = (String) request.getAttribute("liferay-ui:panel-container:id");
        boolean persistState = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel-container:persistState"));

        out.write("\n");
        out.write("\n");
        out.write("<div class=\"lfr-panel-container ");
        out.print(cssClass);
        out.write("\" id=\"");
        out.print(id);
        out.write('"');
        out.write('>');
    } 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.html.taglib.ui.panel_005ffloating_005fcontainer.end_jsp.java

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

    PageContext pageContext = null;
    HttpSession session = null;//from ww w  .j a va 2s.  c  o  m
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  liferay-theme:defineObjects
        com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.theme.DefineObjectsTag.class);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody
                .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0);
        com.liferay.portal.theme.ThemeDisplay themeDisplay = null;
        com.liferay.portal.model.Company company = null;
        com.liferay.portal.model.Account account = null;
        com.liferay.portal.model.User user = null;
        com.liferay.portal.model.User realUser = null;
        com.liferay.portal.model.Contact contact = null;
        com.liferay.portal.model.Layout layout = null;
        java.util.List layouts = null;
        java.lang.Long plid = null;
        com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null;
        java.lang.Long scopeGroupId = null;
        com.liferay.portal.security.permission.PermissionChecker permissionChecker = null;
        java.util.Locale locale = null;
        java.util.TimeZone timeZone = null;
        com.liferay.portal.model.Theme theme = null;
        com.liferay.portal.model.ColorScheme colorScheme = null;
        com.liferay.portal.theme.PortletDisplay portletDisplay = null;
        java.lang.Long portletGroupId = null;
        themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay");
        company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company");
        account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account");
        user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user");
        realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser");
        contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact");
        layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout");
        layouts = (java.util.List) _jspx_page_context.findAttribute("layouts");
        plid = (java.lang.Long) _jspx_page_context.findAttribute("plid");
        layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context
                .findAttribute("layoutTypePortlet");
        scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId");
        permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context
                .findAttribute("permissionChecker");
        locale = (java.util.Locale) _jspx_page_context.findAttribute("locale");
        timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone");
        theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme");
        colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme");
        portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context
                .findAttribute("portletDisplay");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        out.write('\n');
        out.write('\n');

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST);

        PortletResponse portletResponse = (PortletResponse) request
                .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE);

        String namespace = StringPool.BLANK;

        boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"),
                true);

        if ((portletResponse != null) && useNamespace) {
            namespace = portletResponse.getNamespace();
        }

        String currentURL = PortalUtil.getCurrentURL(request);

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

        /**
         * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
         *
         * This library is free software; you can redistribute it and/or modify it under
         * the terms of the GNU Lesser General Public License as published by the Free
         * Software Foundation; either version 2.1 of the License, or (at your option)
         * any later version.
         *
         * This library is distributed in the hope that it will be useful, but WITHOUT
         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
         * details.
         */

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

        boolean accordion = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel-floating-container:accordion"));
        String cssClass = (String) request.getAttribute("liferay-ui:panel-floating-container:cssClass");
        Boolean extended = (Boolean) request.getAttribute("liferay-ui:panel-floating-container:extended");
        String id = (String) request.getAttribute("liferay-ui:panel-floating-container:id");
        boolean paging = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel-floating-container:paging"));
        String pagingElements = (String) request
                .getAttribute("liferay-ui:panel-floating-container:pagingElements");
        boolean persistState = GetterUtil
                .getBoolean((String) request.getAttribute("liferay-ui:panel-floating-container:persistState"));
        int resultsPerPage = GetterUtil.getInteger(
                (String) request.getAttribute("liferay-ui:panel-floating-container:resultsPerPage"));
        String trigger = (String) request.getAttribute("liferay-ui:panel-floating-container:trigger");
        int width = GetterUtil
                .getInteger((String) request.getAttribute("liferay-ui:panel-floating-container:width"));

        out.write("\n");
        out.write("\n");
        out.write("</div>\n");
        out.write("\n");
        //  aui:script
        com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f0 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse
                .get(com.liferay.taglib.aui.ScriptTag.class);
        _jspx_th_aui_005fscript_005f0.setPageContext(_jspx_page_context);
        _jspx_th_aui_005fscript_005f0.setParent(null);
        // /html/taglib/ui/panel_floating_container/end.jsp(21,0) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fscript_005f0.setUse("liferay-panel-floating");
        int _jspx_eval_aui_005fscript_005f0 = _jspx_th_aui_005fscript_005f0.doStartTag();
        if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005fscript_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005fscript_005f0.doInitBody();
            }
            do {
                out.write("\n");
                out.write("\tvar panel = new Liferay.PanelFloating(\n");
                out.write("\t\t{\n");
                out.write("\t\t\taccordion: ");
                out.print(accordion);
                out.write(",\n");
                out.write("\t\t\tcontainer: '#");
                out.print(id);
                out.write("',\n");
                out.write("\t\t\tpaging: ");
                out.print(paging);
                out.write(",\n");
                out.write("\t\t\tpagingElements: '");
                out.print(pagingElements);
                out.write("',\n");
                out.write("\t\t\tpersistState: ");
                out.print(persistState);
                out.write(",\n");
                out.write("\t\t\tresultsPerPage: ");
                out.print(resultsPerPage);
                out.write(",\n");
                out.write("\t\t\ttrigger: '");
                out.print(trigger);
                out.write("',\n");
                out.write("\t\t\twidth: ");
                out.print(width);
                out.write("\n");
                out.write("\t\t}\n");
                out.write("\t);\n");
                out.write("\n");
                out.write("\tLiferay.Panel.register('");
                out.print(id);
                out.write("', panel);\n");
                int evalDoAfterBody = _jspx_th_aui_005fscript_005f0.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005fscript_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f0);
            return;
        }
        _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_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);
    }
}