Example usage for javax.servlet.jsp JspWriter print

List of usage examples for javax.servlet.jsp JspWriter print

Introduction

In this page you can find the example usage for javax.servlet.jsp JspWriter print.

Prototype


abstract public void print(Object obj) throws IOException;

Source Link

Document

Print an object.

Usage

From source file:org.apache.jsp.html.portal.error_jsp.java

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

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

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

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

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

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

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

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

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        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");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write('\n');
        out.write('\n');

        Boolean staleSession = (Boolean) session.getAttribute(WebKeys.STALE_SESSION);

        String userLogin = user.getEmailAddress();

        if (company.getAuthType().equals(CompanyConstants.AUTH_TYPE_SN)) {
            userLogin = user.getScreenName();
        } else if (company.getAuthType().equals(CompanyConstants.AUTH_TYPE_ID)) {
            userLogin = String.valueOf(user.getUserId());
        }

        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/portal/error.jsp(32,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((staleSession != null) && staleSession.booleanValue());
        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<div class=\"portlet-msg-error\">\n");
                out.write("\t\t");
                if (_jspx_meth_liferay_002dui_005fmessage_005f0(_jspx_th_c_005fif_005f0, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t</div>\n");
                out.write("\n");
                out.write("\t");

                session.invalidate();

                out.write('\n');
                out.write('\n');
                int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
        out.write('\n');
        out.write('\n');
        //  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(null);
        // /html/portal/error.jsp(43,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f1
                .setTest(SessionErrors.contains(request, LayoutPermissionException.class.getName()));
        int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
        if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
                out.write("\n");
                out.write("\t<div class=\"portlet-msg-error\">\n");
                out.write("\t\t");
                if (_jspx_meth_liferay_002dui_005fmessage_005f1(_jspx_th_c_005fif_005f1, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t</div>\n");
                int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
        out.write('\n');
        out.write('\n');
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
        _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f2.setParent(null);
        // /html/portal/error.jsp(49,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f2
                .setTest(SessionErrors.contains(request, PortletActiveException.class.getName()));
        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<div class=\"portlet-msg-error\">\n");
                out.write("\t\t");
                if (_jspx_meth_liferay_002dui_005fmessage_005f2(_jspx_th_c_005fif_005f2, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t</div>\n");
                int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
        out.write('\n');
        out.write('\n');
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
        _jspx_th_c_005fif_005f3.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f3.setParent(null);
        // /html/portal/error.jsp(55,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f3.setTest(SessionErrors.contains(request, PrincipalException.class.getName()));
        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<div class=\"portlet-msg-error\">\n");
                out.write("\t\t");
                if (_jspx_meth_liferay_002dui_005fmessage_005f3(_jspx_th_c_005fif_005f3, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t</div>\n");
                int evalDoAfterBody = _jspx_th_c_005fif_005f3.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
        out.write('\n');
        out.write('\n');
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f4 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
        _jspx_th_c_005fif_005f4.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f4.setParent(null);
        // /html/portal/error.jsp(61,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f4
                .setTest(SessionErrors.contains(request, RequiredLayoutException.class.getName()));
        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<div class=\"portlet-msg-error\">\n");
                out.write("\t\t");
                if (_jspx_meth_liferay_002dui_005fmessage_005f4(_jspx_th_c_005fif_005f4, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t</div>\n");
                int evalDoAfterBody = _jspx_th_c_005fif_005f4.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
        out.write('\n');
        out.write('\n');
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f5 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
        _jspx_th_c_005fif_005f5.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f5.setParent(null);
        // /html/portal/error.jsp(67,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f5.setTest(SessionErrors.contains(request, RequiredRoleException.class.getName()));
        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<div class=\"portlet-msg-error\">\n");
                out.write("\t\t");
                if (_jspx_meth_liferay_002dui_005fmessage_005f5(_jspx_th_c_005fif_005f5, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t</div>\n");
                int evalDoAfterBody = _jspx_th_c_005fif_005f5.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
        out.write('\n');
        out.write('\n');
        //  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(null);
        // /html/portal/error.jsp(73,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f6.setTest(SessionErrors.contains(request, UserActiveException.class.getName()));
        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<div class=\"portlet-msg-error\">\n");
                out.write("\t\t");
                out.print(LanguageUtil.format(pageContext, "your-account-with-login-x-is-not-active",
                        new LanguageWrapper[] {
                                new LanguageWrapper("", HtmlUtil.escape(user.getFullName()), ""),
                                new LanguageWrapper("<strong><em>", HtmlUtil.escape(userLogin),
                                        "</em></strong>") },
                        false));
                out.write("<br /><br />\n");
                out.write("\t</div>\n");
                out.write("\n");
                out.write("\t");
                out.print(LanguageUtil.format(pageContext, "if-you-are-not-x-logout-and-try-again",
                        HtmlUtil.escape(user.getFullName()), false));
                out.write('\n');
                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);
    } 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.portlet.asset_005ftags_005fadmin.view_jsp.java

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

    PageContext pageContext = null;// ww w. ja  v  a2s.co m
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

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

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

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

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

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

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

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

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

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

        out.write('\n');
        out.write('\n');
        //  portlet:defineObjects
        com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.portlet.DefineObjectsTag.class);
        _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_portlet_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag();
        if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
        javax.portlet.ActionRequest actionRequest = null;
        javax.portlet.ActionResponse actionResponse = null;
        javax.portlet.EventRequest eventRequest = null;
        javax.portlet.EventResponse eventResponse = null;
        javax.portlet.PortletConfig portletConfig = null;
        java.lang.String portletName = null;
        javax.portlet.PortletPreferences portletPreferences = null;
        java.util.Map portletPreferencesValues = null;
        javax.portlet.PortletSession portletSession = null;
        java.util.Map portletSessionScope = null;
        javax.portlet.RenderRequest renderRequest = null;
        javax.portlet.RenderResponse renderResponse = null;
        javax.portlet.ResourceRequest resourceRequest = null;
        javax.portlet.ResourceResponse resourceResponse = null;
        actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest");
        actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse");
        eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest");
        eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse");
        portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");
        portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName");
        portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context
                .findAttribute("portletPreferences");
        portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues");
        portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession");
        portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope");
        renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");
        renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");
        resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest");
        resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context
                .findAttribute("resourceResponse");
        out.write('\n');
        out.write('\n');

        WindowState windowState = null;
        PortletMode portletMode = null;

        PortletURL currentURLObj = null;

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

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

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

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

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

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

        out.write('\n');
        out.write('\n');
        out.write('\n');
        out.write("\n");
        out.write("\n");
        out.write("<form id=\"");
        if (_jspx_meth_portlet_005fnamespace_005f0(_jspx_page_context))
            return;
        out.write("fm\">\n");
        out.write("\n");
        out.write("<table class=\"tags-admin-container\">\n");
        out.write("<tr>\n");
        out.write("\t<td colspan=\"3\">\n");
        out.write("\t\t<div class=\"tags-admin-toolbar\">\n");
        out.write("\t\t\t<span class=\"tags-admin-search-bar\">\n");
        out.write("\t\t\t\t<input id=\"tags-admin-search-input\" type=\"text\" value=\"\" />\n");
        out.write("\t\t\t</span>\n");
        out.write("\n");
        out.write("\t\t\t<span class=\"tags-admin-actions\">\n");
        out.write("\t\t\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/portlet/asset_tags_admin/view.jsp(30,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f0.setTest(AssetPermission.contains(permissionChecker,
                themeDisplay.getParentGroupId(), ActionKeys.ADD_TAG));
        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\t\t<input class=\"add-tag-button\" id=\"add-tag-button\" name=\"add-tag-button\" type=\"button\" value=\"");
                if (_jspx_meth_liferay_002dui_005fmessage_005f0(_jspx_th_c_005fif_005f0, _jspx_page_context))
                    return;
                out.write("\">\n");
                out.write("\t\t\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("\n");
        out.write("\t\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(null);
        // /html/portlet/asset_tags_admin/view.jsp(34,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f1.setTest(GroupPermissionUtil.contains(permissionChecker,
                themeDisplay.getParentGroupId(), ActionKeys.PERMISSIONS));
        int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
        if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
                out.write("\n");
                out.write("\t\t\t\t\t");
                //  liferay-security:permissionsURL
                com.liferay.taglib.security.PermissionsURLTag _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 = (com.liferay.taglib.security.PermissionsURLTag) _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                        .get(com.liferay.taglib.security.PermissionsURLTag.class);
                _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0.setPageContext(_jspx_page_context);
                _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                        .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                // /html/portlet/asset_tags_admin/view.jsp(35,5) name = modelResource type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                        .setModelResource("com.liferay.portlet.asset");
                // /html/portlet/asset_tags_admin/view.jsp(35,5) name = modelResourceDescription type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                        .setModelResourceDescription(HtmlUtil.escape(themeDisplay.getParentGroupName()));
                // /html/portlet/asset_tags_admin/view.jsp(35,5) name = resourcePrimKey type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                        .setResourcePrimKey(String.valueOf(themeDisplay.getParentGroupId()));
                // /html/portlet/asset_tags_admin/view.jsp(35,5) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0.setVar("permissionsURL");
                int _jspx_eval_liferay_002dsecurity_005fpermissionsURL_005f0 = _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                        .doStartTag();
                if (_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0
                        .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                            .reuse(_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0);
                    return;
                }
                _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody
                        .reuse(_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0);
                java.lang.String permissionsURL = null;
                permissionsURL = (java.lang.String) _jspx_page_context.findAttribute("permissionsURL");
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t<input type=\"button\" value=\"");
                if (_jspx_meth_liferay_002dui_005fmessage_005f1(_jspx_th_c_005fif_005f1, _jspx_page_context))
                    return;
                out.write("\" onClick=\"location.href = '");
                out.print(permissionsURL);
                out.write("';\" />\n");
                out.write("\t\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\t\t<div class=\"add-tag-layer-wrapper\">\n");
        out.write("\t\t\t\t\t<div class=\"add-tag-layer\">\n");
        out.write("\t\t\t\t\t\t<span class=\"aui-field\">\n");
        out.write("\t\t\t\t\t\t\t<span class=\"aui-field-content\">\n");
        out.write("\t\t\t\t\t\t\t\t<label class=\"tag-label\" for=\"new-tag-name\">\n");
        out.write("\t\t\t\t\t\t\t\t\t");
        if (_jspx_meth_liferay_002dui_005fmessage_005f2(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\t\t\t\t\t\t\t\t</label>\n");
        out.write("\n");
        out.write(
                "\t\t\t\t\t\t\t\t<input class=\"new-tag-name\" id=\"new-tag-name\" name=\"new-tag-name\" type=\"text\" value=\"\" />\n");
        out.write("\t\t\t\t\t\t\t</span>\n");
        out.write("\t\t\t\t\t\t</span>\n");
        out.write("\n");
        out.write("\t\t\t\t\t\t<div class=\"tag-permissions-actions\">\n");
        out.write("\t\t\t\t\t\t\t");
        //  liferay-ui:input-permissions
        com.liferay.taglib.ui.InputPermissionsTag _jspx_th_liferay_002dui_005finput_002dpermissions_005f0 = (com.liferay.taglib.ui.InputPermissionsTag) _005fjspx_005ftagPool_005fliferay_002dui_005finput_002dpermissions_0026_005fmodelName_005fnobody
                .get(com.liferay.taglib.ui.InputPermissionsTag.class);
        _jspx_th_liferay_002dui_005finput_002dpermissions_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005finput_002dpermissions_005f0.setParent(null);
        // /html/portlet/asset_tags_admin/view.jsp(58,7) name = modelName type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005finput_002dpermissions_005f0.setModelName(AssetTag.class.getName());
        int _jspx_eval_liferay_002dui_005finput_002dpermissions_005f0 = _jspx_th_liferay_002dui_005finput_002dpermissions_005f0
                .doStartTag();
        if (_jspx_th_liferay_002dui_005finput_002dpermissions_005f0
                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005finput_002dpermissions_0026_005fmodelName_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005finput_002dpermissions_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005finput_002dpermissions_0026_005fmodelName_005fnobody
                .reuse(_jspx_th_liferay_002dui_005finput_002dpermissions_005f0);
        out.write("\n");
        out.write("\t\t\t\t\t\t</div>\n");
        out.write("\n");
        out.write("\t\t\t\t\t\t<div class=\"aui-button-holder\">\n");
        out.write("\t\t\t\t\t\t\t<input class=\"tag-save-button\" type=\"button\" value=\"");
        if (_jspx_meth_liferay_002dui_005fmessage_005f3(_jspx_page_context))
            return;
        out.write("\" />\n");
        out.write("\n");
        out.write("\t\t\t\t\t\t\t<input class=\"close-panel\" type=\"button\" value=\"");
        if (_jspx_meth_liferay_002dui_005fmessage_005f4(_jspx_page_context))
            return;
        out.write("\" />\n");
        out.write("\t\t\t\t\t\t</div>\n");
        out.write("\t\t\t\t\t</div>\n");
        out.write("\t\t\t\t</div>\n");
        out.write("\t\t\t</span>\n");
        out.write("\t\t</div>\n");
        out.write("\t</td>\n");
        out.write("</tr>\n");
        out.write("<tr class=\"tags-admin-content\">\n");
        out.write("\t<td class=\"tag-container\">\n");
        out.write("\t\t<div class=\"results-header\">\n");
        out.write("\t\t\t");
        if (_jspx_meth_liferay_002dui_005fmessage_005f5(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\t\t</div>\n");
        out.write("\n");
        out.write(
                "\t\t<div class=\"lfr-message-response\" id=\"tag-messages\" style=\"display: none;\"></div>\n");
        out.write("\n");
        out.write("\t\t<div class=\"tags lfr-component\"></div>\n");
        out.write("\t</td>\n");
        out.write("\t<td class=\"aui-helper-hidden tag-edit-container\">\n");
        out.write("\t\t<div class=\"results-header\">");
        if (_jspx_meth_liferay_002dui_005fmessage_005f6(_jspx_page_context))
            return;
        out.write("</div>\n");
        out.write("\t\t<div class=\"tag-edit\">\n");
        out.write("\t\t\t<div class=\"tag-close\">\n");
        out.write("\t\t\t\t<span>\n");
        out.write("\t\t\t\t\t");
        if (_jspx_meth_liferay_002dui_005ficon_005f0(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\t\t\t\t</span>\n");
        out.write("\t\t\t</div>\n");
        out.write("\n");
        out.write("\t\t\t<div class=\"tag-label\">\n");
        out.write("\t\t\t\t");
        if (_jspx_meth_liferay_002dui_005fmessage_005f7(_jspx_page_context))
            return;
        out.write(":\n");
        out.write("\t\t\t</div>\n");
        out.write("\n");
        out.write("\t\t\t<input class=\"tag-name\" name=\"tag-name\" type=\"text\" />\n");
        out.write("\n");
        out.write("\t\t\t<br /><br />\n");
        out.write("\n");
        out.write("\t\t\t<div class=\"tag-properties\">\n");
        out.write("\t\t\t\t");
        if (_jspx_meth_liferay_002dui_005fmessage_005f8(_jspx_page_context))
            return;
        out.write(":\n");
        out.write("\n");
        out.write("\t\t\t\t");
        if (_jspx_meth_liferay_002dui_005ficon_002dhelp_005f0(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\n");
        out.write("\t\t\t\t<div class=\"aui-helper-hidden tag-property-row\">\n");
        out.write("\t\t\t\t\t<input class=\"property-key\" type=\"text\" />\n");
        out.write("\n");
        out.write("\t\t\t\t\t<input class=\"property-value\" type=\"text\" />\n");
        out.write("\n");
        out.write("\t\t\t\t\t<span class=\"add-property\">\n");
        out.write("\t\t\t\t\t\t");
        if (_jspx_meth_liferay_002dui_005ficon_005f1(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\t\t\t\t\t</span>\n");
        out.write("\n");
        out.write("\t\t\t\t\t<span class=\"delete-property\">\n");
        out.write("\t\t\t\t\t\t");
        if (_jspx_meth_liferay_002dui_005ficon_005f2(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\t\t\t\t\t</span>\n");
        out.write("\t\t\t\t</div>\n");
        out.write("\n");
        out.write("\t\t\t\t<br />\n");
        out.write("\n");
        out.write("\t\t\t\t<input class=\"tag-save-properties\" type=\"button\" value=\"");
        if (_jspx_meth_liferay_002dui_005fmessage_005f9(_jspx_page_context))
            return;
        out.write("\" />\n");
        out.write("\n");
        out.write("\t\t\t\t<input class=\"tag-close\" type=\"button\" value=\"");
        if (_jspx_meth_liferay_002dui_005fmessage_005f10(_jspx_page_context))
            return;
        out.write("\" />\n");
        out.write("\n");
        out.write("\t\t\t\t<input class=\"tag-delete-button\" type=\"button\" value=\"");
        if (_jspx_meth_liferay_002dui_005fmessage_005f11(_jspx_page_context))
            return;
        out.write("\" />\n");
        out.write("\n");
        out.write("\t\t\t\t<input class=\"tag-permissions-button\" type=\"button\" value=\"");
        if (_jspx_meth_liferay_002dui_005fmessage_005f12(_jspx_page_context))
            return;
        out.write("\" />\n");
        out.write("\t\t\t</div>\n");
        out.write("\t\t</div>\n");
        out.write("\t</td>\n");
        out.write("</tr>\n");
        out.write("</table>\n");
        out.write("\n");
        out.write("</form>\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/portlet/asset_tags_admin/view.jsp(145,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-tags-admin");
        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("\tnew Liferay.Portlet.AssetTagsAdmin('");
                out.print(portletDisplay.getId());
                out.write("');\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.portlet.ext.ecommerce.admin.view_jsp.java

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

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

    try {
        _jspxFactory = JspFactory.getDefaultFactory();
        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;

        out.write('\n');

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

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

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

        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        //  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 portletGroupId = null;
        com.liferay.portal.kernel.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;
        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");
        portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId");
        permissionChecker = (com.liferay.portal.kernel.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");
        out.write("\r\n");
        out.write("\r\n");

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

        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        //@ page import="com.liferay.portal.kernel.util.PortletExtKeys" 
        out.write("\r\n");
        out.write("\r\n");

        String contextPath = PropsUtil.get(PropsUtil.PORTAL_CTX);
        if (contextPath.equals("/")) {
            contextPath = "";
        }

        out.write('\r');
        out.write('\n');
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write('\n');
        out.write('\n');
        //  portlet:defineObjects
        com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.portlet.DefineObjectsTag.class);
        _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_portlet_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag();
        if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
        javax.portlet.PortletConfig portletConfig = null;
        java.lang.String portletName = null;
        javax.portlet.PortletPreferences portletPreferences = null;
        javax.portlet.PortletSession portletSession = null;
        javax.portlet.RenderRequest renderRequest = null;
        javax.portlet.RenderResponse renderResponse = null;
        portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");
        portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName");
        portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context
                .findAttribute("portletPreferences");
        portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession");
        renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");
        renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");
        out.write('\n');
        out.write('\n');

        PortletURL currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse);

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

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

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

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

        String defLang = com.liferay.portal.util.PropsUtil.get("locale.default");
        //String redirect = (String)request.getParameter("redirect");
        PortletRequest portletRequest = (PortletRequest) request
                .getAttribute(com.liferay.portal.kernel.util.JavaConstants.JAVAX_PORTLET_REQUEST);
        String portletID = null;
        if (portletRequest instanceof RenderRequest) {
            RenderRequestImpl req = (RenderRequestImpl) portletRequest;
            portletID = req.getPortletName();
        } else {
            ActionRequestImpl req = (ActionRequestImpl) portletRequest;
            portletID = req.getPortletName();
        }

        boolean managetopic = true;

        Boolean managetopics = (Boolean) request.getAttribute("managetopics");

        if (managetopics != null) {
            managetopic = managetopics.booleanValue();
        } else {
            String isTopicPermissions = GetterUtil.getString(PropsUtil.get("gn.topics.permissions"), "off");
            int isTopics = 0;
            if (request.getAttribute("isTopics") != null)
                isTopics = ((Integer) request.getAttribute("isTopics")).intValue();
            String topicid = (String) request.getParameter("topicid");

            if (isTopicPermissions.equals("on") && isTopics != GnPortletSetting.TOPICS_ENABLED_FALSE) {

                if (topicid != null && !topicid.equals("")
                        && !com.ext.portlet.topics.service.permission.GnTopicPermission.contains(
                                permissionChecker, new Integer(topicid),
                                com.liferay.portal.kernel.security.permission.ActionExtKeys.MANAGECONTENT))
                    managetopic = false;

            }
        }

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

        boolean hasAdmin = PortletPermissionUtil.contains(permissionChecker, plid, portletID,
                ActionExtKeys.ADMINISTRATE) && managetopic;
        boolean hasPublish = PermissionsService.getInstance()
                .isPortletPublishingEnabled(PortalUtil.getCompanyId(request), portletID)
                && PortletPermissionUtil.contains(permissionChecker, plid, portletID, ActionExtKeys.PUBLISH)
                && managetopic;
        boolean hasViewUnPublished = hasPublish; //PermissionsService.getInstance().isPortletPublishingEnabled(portletID) && PortletPermission.contains(permissionChecker, plid, portletID, ActionExtKeys.VIEW_UNPUBLISHED) && managetopic;
        boolean hasAdd = PortletPermissionUtil.contains(permissionChecker, plid, portletID, ActionExtKeys.ADD)
                && managetopic;
        boolean hasEdit = PortletPermissionUtil.contains(permissionChecker, plid, portletID, ActionExtKeys.EDIT)
                && managetopic;
        boolean hasDelete = PortletPermissionUtil.contains(permissionChecker, plid, portletID,
                ActionExtKeys.DELETE) && managetopic;

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

        PortletPreferences prefs = renderRequest.getPreferences();

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

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

        int instanceTopicId = GetterUtil.getInteger(prefs.getValue("topic-id", StringPool.BLANK));
        String instancePortletSearch = GetterUtil.getString(prefs.getValue("portlet-search", StringPool.BLANK));
        String instancePortletBrowseType = GetterUtil
                .getString(prefs.getValue("browse-type", StringPool.BLANK));
        String instancePortletListStyle = ParamUtil.getString(request, "listStyle",
                prefs.getValue("list-style", StringPool.BLANK));
        String instancePortletTopicStyle = ParamUtil.getString(request, "topicStyle",
                prefs.getValue("topic-style", StringPool.BLANK));

        String instancePortletShowRelContent = prefs.getValue("showRelContent", StringPool.BLANK);
        String instancePortletShowRelContentDescription = prefs.getValue("showRelContentDescription",
                StringPool.BLANK);
        com.ext.portlet.base.contentrel.ContentRelUtil relUtil = com.ext.portlet.base.contentrel.ContentRelUtil
                .getInstance();
        String[] classNames = relUtil.getPortletClassNames();
        String[] portletNames = relUtil.getPortletNames();

        String instanceYearsStartYear = GetterUtil
                .getString(prefs.getValue("years_startYear", StringPool.BLANK));
        boolean instanceYearsShowFuture = GetterUtil.getBoolean(prefs.getValue("years_showFuture", "true"),
                true);
        boolean instanceYearsShowEmptyYears = GetterUtil
                .getBoolean(prefs.getValue("years_showEmptyYears", "true"), true);

        boolean topicsOnOff = GetterUtil.getBoolean(prefs.getValue("topicsOnOff", "false"), false);
        String topicFieldSetkey = GetterUtil.getString(prefs.getValue("topicFieldSetkey", StringPool.BLANK));

        String instanceUseTopicNav = GetterUtil.getString(prefs.getValue("use-topic-nav", "no"));

        boolean enableRatings = GetterUtil.getBoolean(prefs.getValue("enableRatings", StringPool.BLANK), false);
        boolean enableComments = GetterUtil.getBoolean(prefs.getValue("enableComments", StringPool.BLANK),
                false);

        String instanceEmbedMedia = GetterUtil.getString(prefs.getValue("embed_media", "no"));
        String instanceRelEmbedMedia = GetterUtil.getString(prefs.getValue("embed_rel_media", "no"));

        boolean showOnlyMine = GetterUtil.getBoolean(prefs.getValue("showOnlyMine", StringPool.BLANK), false);
        boolean notifyPublisher = GetterUtil.getBoolean(prefs.getValue("notifyPublisher", StringPool.BLANK),
                false);

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        //  portlet:defineObjects
        com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f1 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.portlet.DefineObjectsTag.class);
        _jspx_th_portlet_005fdefineObjects_005f1.setPageContext(_jspx_page_context);
        _jspx_th_portlet_005fdefineObjects_005f1.setParent(null);
        int _jspx_eval_portlet_005fdefineObjects_005f1 = _jspx_th_portlet_005fdefineObjects_005f1.doStartTag();
        if (_jspx_th_portlet_005fdefineObjects_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_portlet_005fdefineObjects_005f1);
            return;
        }
        _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .reuse(_jspx_th_portlet_005fdefineObjects_005f1);
        portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");
        portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName");
        portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context
                .findAttribute("portletPreferences");
        portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession");
        renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");
        renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");
        out.write('\n');
        out.write('\n');

        String redirect = (String) request.getParameter("redirect");

        long rootPlid1 = GetterUtil.getLong(prefs.getValue("root-plid", StringPool.BLANK));

        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        out.write("\r\n");
        String propertiesNamespace = GetterUtil.getString(prefs.getValue("propertiesNamespace", "eshop"));
        out.write("\r\n");
        out.write("\r\n");
        out.write("<form action=\"");
        if (_jspx_meth_portlet_005factionURL_005f0(_jspx_page_context))
            return;
        out.write("\"  method=\"post\" enctype=\"multipart/form-data\" >\r\n");
        out.write("<table>\t\t\r\n");
        out.write("\t");

        List headerNames = new ArrayList();

        headerNames.add("property");
        headerNames.add("value");

        Map portalProps = new TreeMap();

        portalProps.putAll(GnPropsUtil.getProperties(propertiesNamespace));

        List results = ListUtil.fromCollection(portalProps.entrySet());

        for (int i = 0; i < results.size(); i++) {
            Map.Entry entry = (Map.Entry) results.get(i);

            String property = (String) entry.getKey();
            String value = (String) entry.getValue();
            if (!property.equals("include-and-override")) {

                out.write("\r\n");
                out.write("\t\t\t<tr><td>");
                out.print(LanguageUtil.get(pageContext, property));
                out.write(" : </td><td><input name=\"");
                out.print(property);
                out.write("\" value=\"");
                out.print(value);
                out.write("\" type=\"text\"></td></tr>\r\n");
                out.write("\t");

            }
        }

        out.write("\r\n");
        out.write("\t\t\t<tr><td>\t\r\n");
        out.write("\t\t\t\t<input type=\"hidden\" name=\"submitted\" value=\"1\">\r\n");
        out.write("\t\t\t\t<input type=\"submit\" value=\"");
        out.print(LanguageUtil.get(pageContext, "save"));
        out.write("\">\r\n");
        out.write("\t\t\t\t</td>\r\n");
        out.write("\t\t\t</tr>\r\n");
        out.write("</table>\r\n");
        out.write("</form>\r\n");
        out.write("\r\n");
    } catch (Throwable t) {
        if (!(t instanceof SkipPageException)) {
            out = _jspx_out;
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (_jspx_page_context != null)
                _jspx_page_context.handlePageException(t);
        }
    } finally {
        if (_jspxFactory != null)
            _jspxFactory.releasePageContext(_jspx_page_context);
    }
}

From source file:org.apache.jsp.html.portlet.journal.edit_005farticle_005fcontent_005fxsd_005fel_jsp.java

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

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

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

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

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

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

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

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

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

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

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

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

        out.write('\n');
        out.write('\n');
        //  portlet:defineObjects
        com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.portlet.DefineObjectsTag.class);
        _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_portlet_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag();
        if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
        javax.portlet.ActionRequest actionRequest = null;
        javax.portlet.ActionResponse actionResponse = null;
        javax.portlet.EventRequest eventRequest = null;
        javax.portlet.EventResponse eventResponse = null;
        javax.portlet.PortletConfig portletConfig = null;
        java.lang.String portletName = null;
        javax.portlet.PortletPreferences portletPreferences = null;
        java.util.Map portletPreferencesValues = null;
        javax.portlet.PortletSession portletSession = null;
        java.util.Map portletSessionScope = null;
        javax.portlet.RenderRequest renderRequest = null;
        javax.portlet.RenderResponse renderResponse = null;
        javax.portlet.ResourceRequest resourceRequest = null;
        javax.portlet.ResourceResponse resourceResponse = null;
        actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest");
        actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse");
        eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest");
        eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse");
        portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");
        portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName");
        portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context
                .findAttribute("portletPreferences");
        portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues");
        portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession");
        portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope");
        renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");
        renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");
        resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest");
        resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context
                .findAttribute("resourceResponse");
        out.write('\n');
        out.write('\n');

        WindowState windowState = null;
        PortletMode portletMode = null;

        PortletURL currentURLObj = null;

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

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

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

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

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

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

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

        PortalPreferences portalPrefs = PortletPreferencesFactoryUtil.getPortalPreferences(request);

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

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

        String languageId = LanguageUtil.getLanguageId(request);

        long groupId = GetterUtil.getLong((String) request.getAttribute(WebKeys.JOURNAL_ARTICLE_GROUP_ID));

        Element el = (Element) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL);
        IntegerWrapper count = (IntegerWrapper) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_COUNT);
        Integer depth = (Integer) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_DEPTH);

        String elInstanceId = (String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_INSTANCE_ID);
        String elName = (String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_NAME);
        String elType = (String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_TYPE);
        String elIndexType = (String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_INDEX_TYPE);
        boolean elRepeatable = GetterUtil
                .getBoolean((String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_REPEATABLE));
        boolean elRepeatablePrototype = GetterUtil
                .getBoolean((String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_REPEATABLE_PROTOTYPE));
        String elContent = (String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_CONTENT);
        String elLanguageId = (String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_LANGUAGE_ID);
        String elParentStructureId = (String) request.getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_PARENT_ID);

        Map<String, String> elMetaData = (Map<String, String>) request
                .getAttribute(WebKeys.JOURNAL_STRUCTURE_EL_META_DATA);

        String metaData = _buildMetaDataHTMLAttributes(elMetaData, elName);

        String elDisplayAsTooltip = elMetaData.get("displayAsTooltip");
        String elInstructions = elMetaData.get("instructions");
        String elLabel = elMetaData.get("label");
        String elPredefinedValue = elMetaData.get("predefinedValue");

        boolean displayAsTooltip = false;

        if (Validator.isNotNull(elDisplayAsTooltip)) {
            displayAsTooltip = GetterUtil.getBoolean(elDisplayAsTooltip);
        }

        if (Validator.isNull(elLabel)) {
            elLabel = elName;
        }

        if (Validator.isNull(elPredefinedValue)) {
            elPredefinedValue = StringPool.BLANK;
        }

        String css = StringPool.BLANK;

        if (!elRepeatablePrototype) {
            css = " repeated-field ";
        }

        String parentStructureData = StringPool.BLANK;

        if (Validator.isNotNull(elParentStructureId)) {
            parentStructureData = "dataParentStructureId='".concat(elParentStructureId).concat("'");

            css = css.concat(" parent-structure-field ");
        }

        if (Validator.isNull(elContent) && Validator.isNotNull(elPredefinedValue)) {
            elContent = elPredefinedValue;
        }

        Element contentEl = (Element) request.getAttribute(WebKeys.JOURNAL_ARTICLE_CONTENT_EL);

        out.write("\n");
        out.write("\n");
        out.write("<li class=\"structure-field ");
        out.print(css.trim());
        out.write('"');
        out.write(' ');
        out.print(parentStructureData);
        out.write(" dataInstanceId='");
        out.print(elInstanceId);
        out.write("' dataName='");
        out.print(elName);
        out.write("' dataRepeatable='");
        out.print(elRepeatable);
        out.write("' dataType='");
        out.print(elType);
        out.write("' dataIndexType='");
        out.print(elIndexType);
        out.write('\'');
        out.write(' ');
        out.print(metaData);
        out.write(">\n");
        out.write("\t<span class=\"journal-article-close\"></span>\n");
        out.write("\n");
        out.write("\t<span class=\"folder\">\n");
        out.write("\t\t<div class=\"field-container\">\n");
        out.write("\t\t\t<input class=\"journal-article-localized\" type=\"hidden\" value='");
        out.print(!elLanguageId.equals(StringPool.BLANK) ? languageId : "false");
        out.write("' />\n");
        out.write("\n");
        out.write("\t\t\t<div class=\"journal-article-move-handler\"></div>\n");
        out.write("\n");
        out.write("\t\t\t<label class=\"journal-article-field-label\">\n");
        out.write("\t\t\t\t<span>");
        out.print(elLabel);
        out.write("</span>\n");
        out.write("\n");
        out.write("\t\t\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/portlet/journal/edit_article_content_xsd_el.jsp(94,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f0.setTest((Validator.isNotNull(elInstructions) && displayAsTooltip));
        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\t\t<img align=\"top\" class=\"journal-article-instructions-container\" src=\"/html/themes/classic/images/portlet/help.png\" />\n");
                out.write("\t\t\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\t\t</label>\n");
        out.write("\n");
        out.write("\t\t\t<div class=\"journal-article-component-container\">\n");
        out.write("\t\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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(100,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f1.setTest(elType.equals("text"));
        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\t");
                //  aui:input
                com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f0 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005fcssClass_005fnobody
                        .get(com.liferay.taglib.aui.InputTag.class);
                _jspx_th_aui_005finput_005f0.setPageContext(_jspx_page_context);
                _jspx_th_aui_005finput_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(101,5) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f0.setCssClass("lfr-input-text-container");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(101,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f0.setLabel("");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(101,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f0.setName("text");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(101,5) null
                _jspx_th_aui_005finput_005f0.setDynamicAttribute(null, "size", new String("55"));
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(101,5) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f0.setType("text");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(101,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f0.setValue(elContent);
                int _jspx_eval_aui_005finput_005f0 = _jspx_th_aui_005finput_005f0.doStartTag();
                if (_jspx_th_aui_005finput_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005fcssClass_005fnobody
                            .reuse(_jspx_th_aui_005finput_005f0);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005fcssClass_005fnobody
                        .reuse(_jspx_th_aui_005finput_005f0);
                out.write("\n");
                out.write("\t\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\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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(104,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f2.setTest(elType.equals("text_box"));
        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");
                //  aui:input
                com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f1 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005frows_005fname_005flabel_005fcssClass_005fcols_005fnobody
                        .get(com.liferay.taglib.aui.InputTag.class);
                _jspx_th_aui_005finput_005f1.setPageContext(_jspx_page_context);
                _jspx_th_aui_005finput_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(105,5) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f1.setCssClass("lfr-textarea-container");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(105,5) null
                _jspx_th_aui_005finput_005f1.setDynamicAttribute(null, "cols", new String("60"));
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(105,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f1.setLabel("");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(105,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f1.setName("textArea");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(105,5) null
                _jspx_th_aui_005finput_005f1.setDynamicAttribute(null, "rows", new String("10"));
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(105,5) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f1.setType("textarea");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(105,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f1.setValue(elContent);
                int _jspx_eval_aui_005finput_005f1 = _jspx_th_aui_005finput_005f1.doStartTag();
                if (_jspx_th_aui_005finput_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005frows_005fname_005flabel_005fcssClass_005fcols_005fnobody
                            .reuse(_jspx_th_aui_005finput_005f1);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005frows_005fname_005flabel_005fcssClass_005fcols_005fnobody
                        .reuse(_jspx_th_aui_005finput_005f1);
                out.write("\n");
                out.write("\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");
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
        _jspx_th_c_005fif_005f3.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f3.setParent(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(108,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f3.setTest(elType.equals("text_area"));
        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");
                //  liferay-ui:input-editor
                com.liferay.taglib.ui.InputEditorTag _jspx_th_liferay_002dui_005finput_002deditor_005f0 = (com.liferay.taglib.ui.InputEditorTag) _005fjspx_005ftagPool_005fliferay_002dui_005finput_002deditor_0026_005fwidth_005ftoolbarSet_005fonChangeMethod_005fname_005finitMethod_005fheight_005feditorImpl_005fnobody
                        .get(com.liferay.taglib.ui.InputEditorTag.class);
                _jspx_th_liferay_002dui_005finput_002deditor_005f0.setPageContext(_jspx_page_context);
                _jspx_th_liferay_002dui_005finput_002deditor_005f0
                        .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f3);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(109,5) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dui_005finput_002deditor_005f0
                        .setName(renderResponse.getNamespace() + "structure_el_" + elInstanceId + "_content");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(109,5) name = editorImpl type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dui_005finput_002deditor_005f0.setEditorImpl(EDITOR_WYSIWYG_IMPL_KEY);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(109,5) name = toolbarSet type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dui_005finput_002deditor_005f0.setToolbarSet("liferay-article");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(109,5) name = initMethod type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dui_005finput_002deditor_005f0
                        .setInitMethod(renderResponse.getNamespace() + "initEditor" + elInstanceId);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(109,5) name = onChangeMethod type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dui_005finput_002deditor_005f0
                        .setOnChangeMethod(renderResponse.getNamespace() + "editorContentChanged");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(109,5) name = height type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dui_005finput_002deditor_005f0.setHeight("460");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(109,5) name = width type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_liferay_002dui_005finput_002deditor_005f0.setWidth("500");
                int _jspx_eval_liferay_002dui_005finput_002deditor_005f0 = _jspx_th_liferay_002dui_005finput_002deditor_005f0
                        .doStartTag();
                if (_jspx_th_liferay_002dui_005finput_002deditor_005f0
                        .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005fliferay_002dui_005finput_002deditor_0026_005fwidth_005ftoolbarSet_005fonChangeMethod_005fname_005finitMethod_005fheight_005feditorImpl_005fnobody
                            .reuse(_jspx_th_liferay_002dui_005finput_002deditor_005f0);
                    return;
                }
                _005fjspx_005ftagPool_005fliferay_002dui_005finput_002deditor_0026_005fwidth_005ftoolbarSet_005fonChangeMethod_005fname_005finitMethod_005fheight_005feditorImpl_005fnobody
                        .reuse(_jspx_th_liferay_002dui_005finput_002deditor_005f0);
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t");
                //  aui:script
                com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f0 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript
                        .get(com.liferay.taglib.aui.ScriptTag.class);
                _jspx_th_aui_005fscript_005f0.setPageContext(_jspx_page_context);
                _jspx_th_aui_005fscript_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f3);
                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("\t\t\t\t\t\tfunction ");
                        if (_jspx_meth_portlet_005fnamespace_005f0(_jspx_th_aui_005fscript_005f0,
                                _jspx_page_context))
                            return;
                        out.write("initEditor");
                        out.print(elInstanceId);
                        out.write("() {\n");
                        out.write("\t\t\t\t\t\t\treturn \"");
                        out.print(UnicodeFormatter.toString(elContent));
                        out.write("\";\n");
                        out.write("\t\t\t\t\t\t}\n");
                        out.write("\t\t\t\t\t");
                        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.reuse(_jspx_th_aui_005fscript_005f0);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005fscript.reuse(_jspx_th_aui_005fscript_005f0);
                out.write("\n");
                out.write("\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("\n");
        out.write("\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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(126,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f4.setTest(elType.equals("image"));
        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");
                if (_jspx_meth_aui_005finput_005f2(_jspx_th_c_005fif_005f4, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t<br />\n");
                out.write("\n");
                out.write("\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/portlet/journal/edit_article_content_xsd_el.jsp(131,5) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_c_005fif_005f5.setTest(Validator.isNotNull(elContent));
                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<span class=\"journal-image-show-hide\">\n");
                        out.write("\t\t\t\t\t\t\t[ ");
                        if (_jspx_meth_aui_005fa_005f0(_jspx_th_c_005fif_005f5, _jspx_page_context))
                            return;
                        out.write(" ]\n");
                        out.write("\t\t\t\t\t\t</span>\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t<div class=\"journal-image-preview aui-helper-hidden\">\n");
                        out.write("\t\t\t\t\t\t\t");
                        //  aui:input
                        com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f3 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody
                                .get(com.liferay.taglib.aui.InputTag.class);
                        _jspx_th_aui_005finput_005f3.setPageContext(_jspx_page_context);
                        _jspx_th_aui_005finput_005f3
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
                        // /html/portlet/journal/edit_article_content_xsd_el.jsp(137,7) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_aui_005finput_005f3.setName("journalImageContent");
                        // /html/portlet/journal/edit_article_content_xsd_el.jsp(137,7) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_aui_005finput_005f3.setType("hidden");
                        // /html/portlet/journal/edit_article_content_xsd_el.jsp(137,7) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_aui_005finput_005f3.setValue(elContent);
                        int _jspx_eval_aui_005finput_005f3 = _jspx_th_aui_005finput_005f3.doStartTag();
                        if (_jspx_th_aui_005finput_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f3);
                            return;
                        }
                        _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody
                                .reuse(_jspx_th_aui_005finput_005f3);
                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t\t");
                        if (_jspx_meth_aui_005finput_005f4(_jspx_th_c_005fif_005f5, _jspx_page_context))
                            return;
                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t\t");
                        if (_jspx_meth_aui_005finput_005f5(_jspx_th_c_005fif_005f5, _jspx_page_context))
                            return;
                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t\t<br /><br />\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t\t<div class=\"journal-image-wrapper results-grid\">\n");
                        out.write("\t\t\t\t\t\t\t\t<img class=\"journal-image\" hspace=\"0\" src=\"");
                        out.print(elContent);
                        out.write("\" vspace=\"0\" />\n");
                        out.write("\t\t\t\t\t\t\t</div>\n");
                        out.write("\t\t\t\t\t\t</div>\n");
                        out.write("\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");
                int evalDoAfterBody = _jspx_th_c_005fif_005f4.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
        out.write("\n");
        out.write("\n");
        out.write("\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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(152,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f6.setTest(elType.equals("image_gallery"));
        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");
                //  aui:input
                com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f6 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fcssClass_005fnobody
                        .get(com.liferay.taglib.aui.InputTag.class);
                _jspx_th_aui_005finput_005f6.setPageContext(_jspx_page_context);
                _jspx_th_aui_005finput_005f6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f6);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(153,5) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f6.setCssClass("lfr-input-text-container");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(153,5) name = inlineField type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f6.setInlineField(true);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(153,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f6.setLabel("");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(153,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f6.setName("journalImagegallery");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(153,5) null
                _jspx_th_aui_005finput_005f6.setDynamicAttribute(null, "size", new String("55"));
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(153,5) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f6.setType("text");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(153,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f6.setValue(elContent);
                int _jspx_eval_aui_005finput_005f6 = _jspx_th_aui_005finput_005f6.doStartTag();
                if (_jspx_th_aui_005finput_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fcssClass_005fnobody
                            .reuse(_jspx_th_aui_005finput_005f6);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fcssClass_005fnobody
                        .reuse(_jspx_th_aui_005finput_005f6);
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t");
                //  portlet:renderURL
                com.liferay.taglib.portlet.RenderURLTag _jspx_th_portlet_005frenderURL_005f0 = (com.liferay.taglib.portlet.RenderURLTag) _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar
                        .get(com.liferay.taglib.portlet.RenderURLTag.class);
                _jspx_th_portlet_005frenderURL_005f0.setPageContext(_jspx_page_context);
                _jspx_th_portlet_005frenderURL_005f0
                        .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f6);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(155,5) name = windowState type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_portlet_005frenderURL_005f0.setWindowState(LiferayWindowState.POP_UP.toString());
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(155,5) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_portlet_005frenderURL_005f0.setVar("selectIGURL");
                int _jspx_eval_portlet_005frenderURL_005f0 = _jspx_th_portlet_005frenderURL_005f0.doStartTag();
                if (_jspx_eval_portlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_portlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.pushBody();
                        _jspx_th_portlet_005frenderURL_005f0
                                .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                        _jspx_th_portlet_005frenderURL_005f0.doInitBody();
                    }
                    do {
                        out.write("\n");
                        out.write("\t\t\t\t\t\t");
                        if (_jspx_meth_portlet_005fparam_005f0(_jspx_th_portlet_005frenderURL_005f0,
                                _jspx_page_context))
                            return;
                        out.write("\n");
                        out.write("\t\t\t\t\t\t");
                        //  portlet:param
                        com.liferay.taglib.util.ParamTag _jspx_th_portlet_005fparam_005f1 = (com.liferay.taglib.util.ParamTag) _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                .get(com.liferay.taglib.util.ParamTag.class);
                        _jspx_th_portlet_005fparam_005f1.setPageContext(_jspx_page_context);
                        _jspx_th_portlet_005fparam_005f1
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_portlet_005frenderURL_005f0);
                        // /html/portlet/journal/edit_article_content_xsd_el.jsp(157,6) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005fparam_005f1.setName("groupId");
                        // /html/portlet/journal/edit_article_content_xsd_el.jsp(157,6) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005fparam_005f1.setValue(String.valueOf(groupId));
                        int _jspx_eval_portlet_005fparam_005f1 = _jspx_th_portlet_005fparam_005f1.doStartTag();
                        if (_jspx_th_portlet_005fparam_005f1
                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                    .reuse(_jspx_th_portlet_005fparam_005f1);
                            return;
                        }
                        _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                .reuse(_jspx_th_portlet_005fparam_005f1);
                        out.write("\n");
                        out.write("\t\t\t\t\t");
                        int evalDoAfterBody = _jspx_th_portlet_005frenderURL_005f0.doAfterBody();
                        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                            break;
                    } while (true);
                    if (_jspx_eval_portlet_005frenderURL_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.popBody();
                    }
                }
                if (_jspx_th_portlet_005frenderURL_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar
                            .reuse(_jspx_th_portlet_005frenderURL_005f0);
                    return;
                }
                _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar
                        .reuse(_jspx_th_portlet_005frenderURL_005f0);
                java.lang.String selectIGURL = null;
                selectIGURL = (java.lang.String) _jspx_page_context.findAttribute("selectIGURL");
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t");

                Map<String, Object> data = new HashMap<String, Object>();

                data.put("ImagegalleryUrl", selectIGURL);

                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t");
                //  aui:button
                com.liferay.taglib.aui.ButtonTag _jspx_th_aui_005fbutton_005f0 = (com.liferay.taglib.aui.ButtonTag) _005fjspx_005ftagPool_005faui_005fbutton_0026_005fvalue_005fdata_005fcssClass_005fnobody
                        .get(com.liferay.taglib.aui.ButtonTag.class);
                _jspx_th_aui_005fbutton_005f0.setPageContext(_jspx_page_context);
                _jspx_th_aui_005fbutton_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f6);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(166,5) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fbutton_005f0.setCssClass("journal-imagegallery-button");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(166,5) name = data type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fbutton_005f0.setData(data);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(166,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fbutton_005f0.setValue("select");
                int _jspx_eval_aui_005fbutton_005f0 = _jspx_th_aui_005fbutton_005f0.doStartTag();
                if (_jspx_th_aui_005fbutton_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005fbutton_0026_005fvalue_005fdata_005fcssClass_005fnobody
                            .reuse(_jspx_th_aui_005fbutton_005f0);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005fbutton_0026_005fvalue_005fdata_005fcssClass_005fnobody
                        .reuse(_jspx_th_aui_005fbutton_005f0);
                out.write("\n");
                out.write("\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");
        //  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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(169,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f7.setTest(elType.equals("document_library"));
        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");
                //  aui:input
                com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f7 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fcssClass_005fnobody
                        .get(com.liferay.taglib.aui.InputTag.class);
                _jspx_th_aui_005finput_005f7.setPageContext(_jspx_page_context);
                _jspx_th_aui_005finput_005f7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f7);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(170,5) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f7.setCssClass("lfr-input-text-container");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(170,5) name = inlineField type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f7.setInlineField(true);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(170,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f7.setLabel("");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(170,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f7.setName("journalDocumentlibrary");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(170,5) null
                _jspx_th_aui_005finput_005f7.setDynamicAttribute(null, "size", new String("55"));
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(170,5) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f7.setType("text");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(170,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f7.setValue(elContent);
                int _jspx_eval_aui_005finput_005f7 = _jspx_th_aui_005finput_005f7.doStartTag();
                if (_jspx_th_aui_005finput_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fcssClass_005fnobody
                            .reuse(_jspx_th_aui_005finput_005f7);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fcssClass_005fnobody
                        .reuse(_jspx_th_aui_005finput_005f7);
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t");
                //  portlet:renderURL
                com.liferay.taglib.portlet.RenderURLTag _jspx_th_portlet_005frenderURL_005f1 = (com.liferay.taglib.portlet.RenderURLTag) _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar
                        .get(com.liferay.taglib.portlet.RenderURLTag.class);
                _jspx_th_portlet_005frenderURL_005f1.setPageContext(_jspx_page_context);
                _jspx_th_portlet_005frenderURL_005f1
                        .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f7);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(172,5) name = windowState type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_portlet_005frenderURL_005f1.setWindowState(LiferayWindowState.POP_UP.toString());
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(172,5) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_portlet_005frenderURL_005f1.setVar("selectDLURL");
                int _jspx_eval_portlet_005frenderURL_005f1 = _jspx_th_portlet_005frenderURL_005f1.doStartTag();
                if (_jspx_eval_portlet_005frenderURL_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_portlet_005frenderURL_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.pushBody();
                        _jspx_th_portlet_005frenderURL_005f1
                                .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                        _jspx_th_portlet_005frenderURL_005f1.doInitBody();
                    }
                    do {
                        out.write("\n");
                        out.write("\t\t\t\t\t\t");
                        if (_jspx_meth_portlet_005fparam_005f2(_jspx_th_portlet_005frenderURL_005f1,
                                _jspx_page_context))
                            return;
                        out.write("\n");
                        out.write("\t\t\t\t\t\t");
                        //  portlet:param
                        com.liferay.taglib.util.ParamTag _jspx_th_portlet_005fparam_005f3 = (com.liferay.taglib.util.ParamTag) _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                .get(com.liferay.taglib.util.ParamTag.class);
                        _jspx_th_portlet_005fparam_005f3.setPageContext(_jspx_page_context);
                        _jspx_th_portlet_005fparam_005f3
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_portlet_005frenderURL_005f1);
                        // /html/portlet/journal/edit_article_content_xsd_el.jsp(174,6) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005fparam_005f3.setName("groupId");
                        // /html/portlet/journal/edit_article_content_xsd_el.jsp(174,6) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_portlet_005fparam_005f3.setValue(String.valueOf(groupId));
                        int _jspx_eval_portlet_005fparam_005f3 = _jspx_th_portlet_005fparam_005f3.doStartTag();
                        if (_jspx_th_portlet_005fparam_005f3
                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                    .reuse(_jspx_th_portlet_005fparam_005f3);
                            return;
                        }
                        _005fjspx_005ftagPool_005fportlet_005fparam_0026_005fvalue_005fname_005fnobody
                                .reuse(_jspx_th_portlet_005fparam_005f3);
                        out.write("\n");
                        out.write("\t\t\t\t\t");
                        int evalDoAfterBody = _jspx_th_portlet_005frenderURL_005f1.doAfterBody();
                        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                            break;
                    } while (true);
                    if (_jspx_eval_portlet_005frenderURL_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.popBody();
                    }
                }
                if (_jspx_th_portlet_005frenderURL_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar
                            .reuse(_jspx_th_portlet_005frenderURL_005f1);
                    return;
                }
                _005fjspx_005ftagPool_005fportlet_005frenderURL_0026_005fwindowState_005fvar
                        .reuse(_jspx_th_portlet_005frenderURL_005f1);
                java.lang.String selectDLURL = null;
                selectDLURL = (java.lang.String) _jspx_page_context.findAttribute("selectDLURL");
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t");

                Map<String, Object> data = new HashMap<String, Object>();

                data.put("DocumentlibraryUrl", selectDLURL);

                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t");
                //  aui:button
                com.liferay.taglib.aui.ButtonTag _jspx_th_aui_005fbutton_005f1 = (com.liferay.taglib.aui.ButtonTag) _005fjspx_005ftagPool_005faui_005fbutton_0026_005fvalue_005fdata_005fcssClass_005fnobody
                        .get(com.liferay.taglib.aui.ButtonTag.class);
                _jspx_th_aui_005fbutton_005f1.setPageContext(_jspx_page_context);
                _jspx_th_aui_005fbutton_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f7);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(183,5) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fbutton_005f1.setCssClass("journal-documentlibrary-button");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(183,5) name = data type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fbutton_005f1.setData(data);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(183,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fbutton_005f1.setValue("select");
                int _jspx_eval_aui_005fbutton_005f1 = _jspx_th_aui_005fbutton_005f1.doStartTag();
                if (_jspx_th_aui_005fbutton_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005fbutton_0026_005fvalue_005fdata_005fcssClass_005fnobody
                            .reuse(_jspx_th_aui_005fbutton_005f1);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005fbutton_0026_005fvalue_005fdata_005fcssClass_005fnobody
                        .reuse(_jspx_th_aui_005fbutton_005f1);
                out.write("\n");
                out.write("\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");
        //  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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(186,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f8.setTest(elType.equals("boolean"));
        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<div class=\"journal-subfield\">\n");
                out.write("\t\t\t\t\t\t");
                //  aui:input
                com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f8 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fcssClass_005fnobody
                        .get(com.liferay.taglib.aui.InputTag.class);
                _jspx_th_aui_005finput_005f8.setPageContext(_jspx_page_context);
                _jspx_th_aui_005finput_005f8.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f8);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(188,6) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f8.setCssClass("journal-article-field-label");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(188,6) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f8.setLabel(elLabel);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(188,6) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f8.setName(elName);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(188,6) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f8.setType("checkbox");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(188,6) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005finput_005f8.setValue(elContent.equals("true"));
                int _jspx_eval_aui_005finput_005f8 = _jspx_th_aui_005finput_005f8.doStartTag();
                if (_jspx_th_aui_005finput_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fcssClass_005fnobody
                            .reuse(_jspx_th_aui_005finput_005f8);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fcssClass_005fnobody
                        .reuse(_jspx_th_aui_005finput_005f8);
                out.write("\n");
                out.write("\t\t\t\t\t</div>\n");
                out.write("\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");
        //  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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(192,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f9.setTest(elType.equals("selection_break"));
        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<div class=\"separator\"></div>\n");
                out.write("\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("\n");
        out.write("\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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(196,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f10.setTest(elType.equals("list"));
        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<div class=\"journal-list-subfield\">\n");
                out.write("\t\t\t\t\t\t");
                //  aui:select
                com.liferay.taglib.aui.SelectTag _jspx_th_aui_005fselect_005f0 = (com.liferay.taglib.aui.SelectTag) _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel
                        .get(com.liferay.taglib.aui.SelectTag.class);
                _jspx_th_aui_005fselect_005f0.setPageContext(_jspx_page_context);
                _jspx_th_aui_005fselect_005f0
                        .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f10);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(198,6) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f0.setLabel("");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(198,6) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f0.setName("list");
                int _jspx_eval_aui_005fselect_005f0 = _jspx_th_aui_005fselect_005f0.doStartTag();
                if (_jspx_eval_aui_005fselect_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_aui_005fselect_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.pushBody();
                        _jspx_th_aui_005fselect_005f0
                                .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                        _jspx_th_aui_005fselect_005f0.doInitBody();
                    }
                    do {
                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t\t");

                        Iterator<Element> itr = el.elements().iterator();

                        while (itr.hasNext()) {
                            Element child = itr.next();

                            String listElName = JS
                                    .decodeURIComponent(child.attributeValue("name", StringPool.BLANK));
                            String listElValue = JS
                                    .decodeURIComponent(child.attributeValue("type", StringPool.BLANK));

                            if (Validator.isNull(listElName) && Validator.isNull(listElValue)) {
                                continue;
                            }

                            out.write("\n");
                            out.write("\n");
                            out.write("\t\t\t\t\t\t\t\t");
                            //  aui:option
                            com.liferay.taglib.aui.OptionTag _jspx_th_aui_005foption_005f0 = (com.liferay.taglib.aui.OptionTag) _005fjspx_005ftagPool_005faui_005foption_0026_005fselected_005fname_005flabel_005fnobody
                                    .get(com.liferay.taglib.aui.OptionTag.class);
                            _jspx_th_aui_005foption_005f0.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005foption_005f0
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fselect_005f0);
                            // /html/portlet/journal/edit_article_content_xsd_el.jsp(214,8) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005foption_005f0.setLabel(listElName);
                            // /html/portlet/journal/edit_article_content_xsd_el.jsp(214,8) null
                            _jspx_th_aui_005foption_005f0.setDynamicAttribute(null, "name", listElValue);
                            // /html/portlet/journal/edit_article_content_xsd_el.jsp(214,8) name = selected type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005foption_005f0.setSelected(elContent.equals(listElName));
                            int _jspx_eval_aui_005foption_005f0 = _jspx_th_aui_005foption_005f0.doStartTag();
                            if (_jspx_th_aui_005foption_005f0
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005foption_0026_005fselected_005fname_005flabel_005fnobody
                                        .reuse(_jspx_th_aui_005foption_005f0);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005foption_0026_005fselected_005fname_005flabel_005fnobody
                                    .reuse(_jspx_th_aui_005foption_005f0);
                            out.write("\n");
                            out.write("\n");
                            out.write("\t\t\t\t\t\t\t");

                        }

                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t");
                        int evalDoAfterBody = _jspx_th_aui_005fselect_005f0.doAfterBody();
                        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                            break;
                    } while (true);
                    if (_jspx_eval_aui_005fselect_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.popBody();
                    }
                }
                if (_jspx_th_aui_005fselect_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel
                            .reuse(_jspx_th_aui_005fselect_005f0);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel
                        .reuse(_jspx_th_aui_005fselect_005f0);
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t<span class=\"journal-icon-button journal-delete-field\">\n");
                out.write("\t\t\t\t\t\t\t");
                if (_jspx_meth_liferay_002dui_005ficon_005f0(_jspx_th_c_005fif_005f10, _jspx_page_context))
                    return;
                if (_jspx_meth_liferay_002dui_005fmessage_005f2(_jspx_th_c_005fif_005f10, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t\t\t\t\t\t</span>\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t<div class=\"journal-edit-field-control\">\n");
                out.write("\t\t\t\t\t\t\t<br /><br />\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t\t<input class=\"journal-list-key\" size=\"15\" title=\"");
                if (_jspx_meth_liferay_002dui_005fmessage_005f3(_jspx_th_c_005fif_005f10, _jspx_page_context))
                    return;
                out.write("\" type=\"text\" value=\"");
                if (_jspx_meth_liferay_002dui_005fmessage_005f4(_jspx_th_c_005fif_005f10, _jspx_page_context))
                    return;
                out.write("\" />\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t\t<input class=\"journal-list-value\" size=\"15\" title=\"");
                if (_jspx_meth_liferay_002dui_005fmessage_005f5(_jspx_th_c_005fif_005f10, _jspx_page_context))
                    return;
                out.write("\" type=\"text\" value=\"value\" />\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t\t<span class=\"journal-icon-button journal-add-field\">\n");
                out.write("\t\t\t\t\t\t\t\t");
                if (_jspx_meth_liferay_002dui_005ficon_005f1(_jspx_th_c_005fif_005f10, _jspx_page_context))
                    return;
                out.write(' ');
                if (_jspx_meth_liferay_002dui_005fmessage_005f6(_jspx_th_c_005fif_005f10, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t\t\t\t\t\t\t</span>\n");
                out.write("\t\t\t\t\t\t</div>\n");
                out.write("\t\t\t\t\t</div>\n");
                out.write("\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("\n");
        out.write("\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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(244,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f11.setTest(elType.equals("multi-list"));
        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<div class=\"journal-list-subfield\">\n");
                out.write("\t\t\t\t\t\t");
                //  aui:select
                com.liferay.taglib.aui.SelectTag _jspx_th_aui_005fselect_005f1 = (com.liferay.taglib.aui.SelectTag) _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005fmultiple_005flabel
                        .get(com.liferay.taglib.aui.SelectTag.class);
                _jspx_th_aui_005fselect_005f1.setPageContext(_jspx_page_context);
                _jspx_th_aui_005fselect_005f1
                        .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f11);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(246,6) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f1.setLabel("");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(246,6) name = multiple type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f1.setMultiple(true);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(246,6) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f1.setName("multiList");
                int _jspx_eval_aui_005fselect_005f1 = _jspx_th_aui_005fselect_005f1.doStartTag();
                if (_jspx_eval_aui_005fselect_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_aui_005fselect_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.pushBody();
                        _jspx_th_aui_005fselect_005f1
                                .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                        _jspx_th_aui_005fselect_005f1.doInitBody();
                    }
                    do {
                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t\t");

                        Iterator<Element> itr = el.elements().iterator();

                        while (itr.hasNext()) {
                            Element child = itr.next();

                            String listElName = JS
                                    .decodeURIComponent(child.attributeValue("name", StringPool.BLANK));
                            String listElValue = JS
                                    .decodeURIComponent(child.attributeValue("type", StringPool.BLANK));

                            boolean contains = false;

                            Element dynConEl = contentEl.element("dynamic-content");

                            if (dynConEl != null) {
                                Iterator itr2 = dynConEl.elements("option").iterator();

                                while (itr2.hasNext()) {
                                    Element option = (Element) itr2.next();

                                    if (listElValue.equals(option.getText())) {
                                        contains = true;
                                    }
                                }
                            }

                            if (Validator.isNull(listElName) && Validator.isNull(listElValue)) {
                                continue;
                            }

                            out.write("\n");
                            out.write("\n");
                            out.write("\t\t\t\t\t\t\t\t");
                            //  aui:option
                            com.liferay.taglib.aui.OptionTag _jspx_th_aui_005foption_005f1 = (com.liferay.taglib.aui.OptionTag) _005fjspx_005ftagPool_005faui_005foption_0026_005fvalue_005fselected_005flabel_005fnobody
                                    .get(com.liferay.taglib.aui.OptionTag.class);
                            _jspx_th_aui_005foption_005f1.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005foption_005f1
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fselect_005f1);
                            // /html/portlet/journal/edit_article_content_xsd_el.jsp(278,8) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005foption_005f1.setLabel(listElName);
                            // /html/portlet/journal/edit_article_content_xsd_el.jsp(278,8) name = selected type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005foption_005f1.setSelected(contains);
                            // /html/portlet/journal/edit_article_content_xsd_el.jsp(278,8) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005foption_005f1.setValue(listElValue);
                            int _jspx_eval_aui_005foption_005f1 = _jspx_th_aui_005foption_005f1.doStartTag();
                            if (_jspx_th_aui_005foption_005f1
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005foption_0026_005fvalue_005fselected_005flabel_005fnobody
                                        .reuse(_jspx_th_aui_005foption_005f1);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005foption_0026_005fvalue_005fselected_005flabel_005fnobody
                                    .reuse(_jspx_th_aui_005foption_005f1);
                            out.write("\n");
                            out.write("\n");
                            out.write("\t\t\t\t\t\t\t");

                        }

                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t");
                        int evalDoAfterBody = _jspx_th_aui_005fselect_005f1.doAfterBody();
                        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                            break;
                    } while (true);
                    if (_jspx_eval_aui_005fselect_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.popBody();
                    }
                }
                if (_jspx_th_aui_005fselect_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005fmultiple_005flabel
                            .reuse(_jspx_th_aui_005fselect_005f1);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005fmultiple_005flabel
                        .reuse(_jspx_th_aui_005fselect_005f1);
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t<span class=\"journal-icon-button journal-delete-field\">\n");
                out.write("\t\t\t\t\t\t\t");
                if (_jspx_meth_liferay_002dui_005ficon_005f2(_jspx_th_c_005fif_005f11, _jspx_page_context))
                    return;
                if (_jspx_meth_liferay_002dui_005fmessage_005f7(_jspx_th_c_005fif_005f11, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t\t\t\t\t\t</span>\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t<div class=\"journal-edit-field-control\">\n");
                out.write("\t\t\t\t\t\t\t<br /><br />\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t\t<input class=\"journal-list-key\" size=\"15\" title=\"");
                if (_jspx_meth_liferay_002dui_005fmessage_005f8(_jspx_th_c_005fif_005f11, _jspx_page_context))
                    return;
                out.write("\" type=\"text\" value=\"");
                if (_jspx_meth_liferay_002dui_005fmessage_005f9(_jspx_th_c_005fif_005f11, _jspx_page_context))
                    return;
                out.write("\" />\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t\t<input class=\"journal-list-value\" size=\"15\" title=\"");
                if (_jspx_meth_liferay_002dui_005fmessage_005f10(_jspx_th_c_005fif_005f11, _jspx_page_context))
                    return;
                out.write("\" type=\"text\" value=\"value\" />\n");
                out.write("\n");
                out.write("\t\t\t\t\t\t\t<span class=\"journal-icon-button journal-add-field\">\n");
                out.write("\t\t\t\t\t\t\t\t");
                if (_jspx_meth_liferay_002dui_005ficon_005f3(_jspx_th_c_005fif_005f11, _jspx_page_context))
                    return;
                out.write(' ');
                if (_jspx_meth_liferay_002dui_005fmessage_005f11(_jspx_th_c_005fif_005f11, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t\t\t\t\t\t\t</span>\n");
                out.write("\t\t\t\t\t\t</div>\n");
                out.write("\t\t\t\t\t</div>\n");
                out.write("\n");
                out.write("\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");
        //  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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(309,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f12.setTest(elType.equals("link_to_layout"));
        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");
                //  aui:select
                com.liferay.taglib.aui.SelectTag _jspx_th_aui_005fselect_005f2 = (com.liferay.taglib.aui.SelectTag) _005fjspx_005ftagPool_005faui_005fselect_0026_005fshowEmptyOption_005fonChange_005fname_005flabel
                        .get(com.liferay.taglib.aui.SelectTag.class);
                _jspx_th_aui_005fselect_005f2.setPageContext(_jspx_page_context);
                _jspx_th_aui_005fselect_005f2
                        .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f12);
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(310,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f2.setLabel("");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(310,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f2.setName("structure_el" + count.getValue() + "_content");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(310,5) name = onChange type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f2.setOnChange(renderResponse.getNamespace() + "contentChanged();");
                // /html/portlet/journal/edit_article_content_xsd_el.jsp(310,5) name = showEmptyOption type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fselect_005f2.setShowEmptyOption(true);
                int _jspx_eval_aui_005fselect_005f2 = _jspx_th_aui_005fselect_005f2.doStartTag();
                if (_jspx_eval_aui_005fselect_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_aui_005fselect_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.pushBody();
                        _jspx_th_aui_005fselect_005f2
                                .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                        _jspx_th_aui_005fselect_005f2.doInitBody();
                    }
                    do {
                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t\t\t\t\t");

                        boolean privateLayout = false;

                        LayoutLister layoutLister = new LayoutLister();

                        LayoutView layoutView = null;

                        List layoutList = null;

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

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

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

                        layoutView = layoutLister.getLayoutView(scopeGroupId, privateLayout, "root", locale);

                        layoutList = layoutView.getList();

                        if (layoutList.size() > 1) {

                            out.write("\n");
                            out.write("\n");
                            out.write("\t<optgroup label=\"");
                            out.print(LanguageUtil.get(pageContext,
                                    privateLayout ? "private-pages" : "public-pages"));
                            out.write("\">\n");
                            out.write("\n");
                            out.write("\t");

                            for (int i = 0; i < layoutList.size(); i++) {

                                // id | parentId | ls | obj id | name | img | depth

                                String layoutDesc = (String) layoutList.get(i);

                                String[] nodeValues = StringUtil.split(layoutDesc, "|");

                                long objId = GetterUtil.getLong(nodeValues[3]);
                                String name = nodeValues[4];

                                int depth2 = 0;

                                if (i != 0) {
                                    depth2 = GetterUtil.getInteger(nodeValues[6]);
                                }

                                for (int j = 0; j < depth2; j++) {
                                    name = "-&nbsp;" + name;
                                }

                                Layout linkableLayout = null;

                                try {
                                    linkableLayout = LayoutLocalServiceUtil.getLayout(objId);
                                } catch (Exception e) {
                                }

                                if (linkableLayout != null) {
                                    if (elContent.indexOf(StringPool.AT) == -1) {
                                        elContent += "@public";
                                    }

                                    String suffix = null;

                                    if (privateLayout) {
                                        if (linkableLayout.getGroup().isUser()) {
                                            suffix = "private-user";
                                        } else {
                                            suffix = "private-group";
                                        }
                                    } else {
                                        suffix = "public";
                                    }

                                    String layoutLink = linkableLayout.getLayoutId() + StringPool.AT + suffix;

                                    out.write("\n");
                                    out.write("\n");
                                    out.write("\t\t\t<option ");
                                    out.print(elContent.equals(layoutLink) ? "selected" : "");
                                    out.write(" value=\"");
                                    out.print(layoutLink);
                                    out.write('"');
                                    out.write('>');
                                    out.print(name);
                                    out.write("</option>\n");
                                    out.write("\n");
                                    out.write("\t");

                                }
                            }

                            out.write("\n");
                            out.write("\n");
                            out.write("\t</optgroup>\n");
                            out.write("\n");

                        }

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

                        privateLayout = true;

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

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

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

                        layoutView = layoutLister.getLayoutView(scopeGroupId, privateLayout, "root", locale);

                        layoutList = layoutView.getList();

                        if (layoutList.size() > 1) {

                            out.write("\n");
                            out.write("\n");
                            out.write("\t<optgroup label=\"");
                            out.print(LanguageUtil.get(pageContext,
                                    privateLayout ? "private-pages" : "public-pages"));
                            out.write("\">\n");
                            out.write("\n");
                            out.write("\t");

                            for (int i = 0; i < layoutList.size(); i++) {

                                // id | parentId | ls | obj id | name | img | depth

                                String layoutDesc = (String) layoutList.get(i);

                                String[] nodeValues = StringUtil.split(layoutDesc, "|");

                                long objId = GetterUtil.getLong(nodeValues[3]);
                                String name = nodeValues[4];

                                int depth2 = 0;

                                if (i != 0) {
                                    depth2 = GetterUtil.getInteger(nodeValues[6]);
                                }

                                for (int j = 0; j < depth2; j++) {
                                    name = "-&nbsp;" + name;
                                }

                                Layout linkableLayout = null;

                                try {
                                    linkableLayout = LayoutLocalServiceUtil.getLayout(objId);
                                } catch (Exception e) {
                                }

                                if (linkableLayout != null) {
                                    if (elContent.indexOf(StringPool.AT) == -1) {
                                        elContent += "@public";
                                    }

                                    String suffix = null;

                                    if (privateLayout) {
                                        if (linkableLayout.getGroup().isUser()) {
                                            suffix = "private-user";
                                        } else {
                                            suffix = "private-group";
                                        }
                                    } else {
                                        suffix = "public";
                                    }

                                    String layoutLink = linkableLayout.getLayoutId() + StringPool.AT + suffix;

                                    out.write("\n");
                                    out.write("\n");
                                    out.write("\t\t\t<option ");
                                    out.print(elContent.equals(layoutLink) ? "selected" : "");
                                    out.write(" value=\"");
                                    out.print(layoutLink);
                                    out.write('"');
                                    out.write('>');
                                    out.print(name);
                                    out.write("</option>\n");
                                    out.write("\n");
                                    out.write("\t");

                                }
                            }

                            out.write("\n");
                            out.write("\n");
                            out.write("\t</optgroup>\n");
                            out.write("\n");

                        }

                        out.write("\n");
                        out.write("\t\t\t\t\t");
                        int evalDoAfterBody = _jspx_th_aui_005fselect_005f2.doAfterBody();
                        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                            break;
                    } while (true);
                    if (_jspx_eval_aui_005fselect_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.popBody();
                    }
                }
                if (_jspx_th_aui_005fselect_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005fselect_0026_005fshowEmptyOption_005fonChange_005fname_005flabel
                            .reuse(_jspx_th_aui_005fselect_005f2);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005fselect_0026_005fshowEmptyOption_005fonChange_005fname_005flabel
                        .reuse(_jspx_th_aui_005fselect_005f2);
                out.write("\n");
                out.write("\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("\t\t\t</div>\n");
        out.write("\n");
        out.write("\t\t\t");
        //  aui:input
        com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f9 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fcssClass_005fnobody
                .get(com.liferay.taglib.aui.InputTag.class);
        _jspx_th_aui_005finput_005f9.setPageContext(_jspx_page_context);
        _jspx_th_aui_005finput_005f9.setParent(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(333,3) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f9.setCssClass("journal-article-localized-checkbox");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(333,3) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f9.setLabel("localized");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(333,3) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f9.setName(elInstanceId + "localized-checkbox");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(333,3) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f9.setType("checkbox");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(333,3) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f9.setValue(!elLanguageId.equals(StringPool.BLANK));
        int _jspx_eval_aui_005finput_005f9 = _jspx_th_aui_005finput_005f9.doStartTag();
        if (_jspx_th_aui_005finput_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fcssClass_005fnobody
                    .reuse(_jspx_th_aui_005finput_005f9);
            return;
        }
        _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fcssClass_005fnobody
                .reuse(_jspx_th_aui_005finput_005f9);
        out.write("\n");
        out.write("\n");
        out.write("\t\t\t<div class=\"journal-article-required-message portlet-msg-error\">\n");
        out.write("\t\t\t\t");
        if (_jspx_meth_liferay_002dui_005fmessage_005f12(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\t\t\t</div>\n");
        out.write("\n");
        out.write("\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(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(339,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f13.setTest((Validator.isNotNull(elInstructions) && !displayAsTooltip));
        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<div class=\"journal-article-instructions-container journal-article-instructions-message portlet-msg-info\">\n");
                out.write("\t\t\t\t\t");
                out.print(elInstructions);
                out.write("\n");
                out.write("\t\t\t\t</div>\n");
                out.write("\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("\n");
        out.write("\t\t\t<div class=\"journal-article-buttons\">\n");
        out.write("\t\t\t\t");
        //  aui:input
        com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f10 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fid_005fcssClass_005fnobody
                .get(com.liferay.taglib.aui.InputTag.class);
        _jspx_th_aui_005finput_005f10.setPageContext(_jspx_page_context);
        _jspx_th_aui_005finput_005f10.setParent(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(346,4) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f10.setCssClass("journal-article-variable-name");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(346,4) name = inlineField type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f10.setInlineField(true);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(346,4) name = id type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f10.setId(elInstanceId + "variableName");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(346,4) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f10.setLabel("variable-name");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(346,4) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f10.setName("variableName");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(346,4) null
        _jspx_th_aui_005finput_005f10.setDynamicAttribute(null, "size", new String("25"));
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(346,4) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f10.setType("text");
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(346,4) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005finput_005f10.setValue(elName);
        int _jspx_eval_aui_005finput_005f10 = _jspx_th_aui_005finput_005f10.doStartTag();
        if (_jspx_th_aui_005finput_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fid_005fcssClass_005fnobody
                    .reuse(_jspx_th_aui_005finput_005f10);
            return;
        }
        _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fsize_005fname_005flabel_005finlineField_005fid_005fcssClass_005fnobody
                .reuse(_jspx_th_aui_005finput_005f10);
        out.write("\n");
        out.write("\n");
        out.write("\t\t\t\t");
        if (_jspx_meth_aui_005fbutton_005f2(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\n");
        out.write("\t\t\t\t");
        if (_jspx_meth_aui_005fbutton_005f3(_jspx_page_context))
            return;
        out.write("\n");
        out.write("\t\t\t</div>\n");
        out.write("\n");
        out.write("\t\t\t");
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f14 = (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_005f14.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f14.setParent(null);
        // /html/portlet/journal/edit_article_content_xsd_el.jsp(353,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_c_005fif_005f14.setTest(elRepeatable);
        int _jspx_eval_c_005fif_005f14 = _jspx_th_c_005fif_005f14.doStartTag();
        if (_jspx_eval_c_005fif_005f14 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
                out.write("\n");
                out.write("\t\t\t\t<span class=\"repeatable-field-image\">\n");
                out.write("\t\t\t\t\t");
                if (_jspx_meth_liferay_002dui_005ficon_005f4(_jspx_th_c_005fif_005f14, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\n");
                out.write("\t\t\t\t\t");
                if (_jspx_meth_liferay_002dui_005ficon_005f5(_jspx_th_c_005fif_005f14, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\t\t\t\t</span>\n");
                out.write("\t\t\t");
                int evalDoAfterBody = _jspx_th_c_005fif_005f14.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
        }
        if (_jspx_th_c_005fif_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f14);
            return;
        }
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f14);
        out.write("\n");
        out.write("\t\t</div>\n");
        out.write("\n");
    } catch (Throwable t) {
        if (!(t instanceof SkipPageException)) {
            out = _jspx_out;
            if (out != null && out.getBufferSize() != 0)
                try {
                    out.clearBuffer();
                } catch (java.io.IOException e) {
                }
            if (_jspx_page_context != null)
                _jspx_page_context.handlePageException(t);
        }
    } finally {
        _jspxFactory.releasePageContext(_jspx_page_context);
    }
}

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;//w  w w  . ja  va2s . c o m
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

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

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

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

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

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

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

        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        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.portlet.asset_005fpublisher.display.abstracts_jsp.java

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

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

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

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

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

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

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

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

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

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

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

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

        out.write('\n');
        out.write('\n');
        //  portlet:defineObjects
        com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.portlet.DefineObjectsTag.class);
        _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_portlet_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag();
        if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
        javax.portlet.ActionRequest actionRequest = null;
        javax.portlet.ActionResponse actionResponse = null;
        javax.portlet.EventRequest eventRequest = null;
        javax.portlet.EventResponse eventResponse = null;
        javax.portlet.PortletConfig portletConfig = null;
        java.lang.String portletName = null;
        javax.portlet.PortletPreferences portletPreferences = null;
        java.util.Map portletPreferencesValues = null;
        javax.portlet.PortletSession portletSession = null;
        java.util.Map portletSessionScope = null;
        javax.portlet.RenderRequest renderRequest = null;
        javax.portlet.RenderResponse renderResponse = null;
        javax.portlet.ResourceRequest resourceRequest = null;
        javax.portlet.ResourceResponse resourceResponse = null;
        actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest");
        actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse");
        eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest");
        eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse");
        portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");
        portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName");
        portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context
                .findAttribute("portletPreferences");
        portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues");
        portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession");
        portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope");
        renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");
        renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");
        resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest");
        resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context
                .findAttribute("resourceResponse");
        out.write('\n');
        out.write('\n');

        WindowState windowState = null;
        PortletMode portletMode = null;

        PortletURL currentURLObj = null;

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

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

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

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

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

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

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

        PortletPreferences preferences = renderRequest.getPreferences();

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

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

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

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

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

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

        long[] availableClassNameIds = AssetRendererFactoryRegistryUtil.getClassNameIds();

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

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

        AssetEntryQuery assetEntryQuery = new AssetEntryQuery();

        String[] allAssetTagNames = new String[0];

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

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

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

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

        String assetCategoryName = null;
        String assetVocabularyName = null;

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

            AssetCategory assetCategory = AssetCategoryLocalServiceUtil.getCategory(assetCategoryId);

            assetCategoryName = assetCategory.getName();

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

            assetVocabularyName = assetVocabulary.getName();

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

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

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

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

            assetEntryQuery.setAllTagIds(assetTagIds);

            PortalUtil.setPageKeywords(assetTagName, request);
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        List results = (List) request.getAttribute("view.jsp-results");

        int assetEntryIndex = ((Integer) request.getAttribute("view.jsp-assetEntryIndex")).intValue();

        AssetEntry assetEntry = (AssetEntry) request.getAttribute("view.jsp-assetEntry");
        AssetRendererFactory assetRendererFactory = (AssetRendererFactory) request
                .getAttribute("view.jsp-assetRendererFactory");
        AssetRenderer assetRenderer = (AssetRenderer) request.getAttribute("view.jsp-assetRenderer");

        boolean show = ((Boolean) request.getAttribute("view.jsp-show")).booleanValue();

        request.setAttribute("view.jsp-showIconLabel", true);

        String title = (String) request.getAttribute("view.jsp-title");

        if (Validator.isNull(title)) {
            title = assetRenderer.getTitle();
        }

        PortletURL viewFullContentURL = renderResponse.createRenderURL();

        viewFullContentURL.setParameter("struts_action", "/asset_publisher/view_content");
        viewFullContentURL.setParameter("assetEntryId", String.valueOf(assetEntry.getEntryId()));
        viewFullContentURL.setParameter("type", assetRendererFactory.getType());

        if (Validator.isNotNull(assetRenderer.getUrlTitle())) {
            if (assetRenderer.getGroupId() != scopeGroupId) {
                viewFullContentURL.setParameter("groupId", String.valueOf(assetRenderer.getGroupId()));
            }

            viewFullContentURL.setParameter("urlTitle", assetRenderer.getUrlTitle());
        }

        String summary = StringUtil.shorten(assetRenderer.getSummary(), abstractLength);
        String viewURL = viewInContext
                ? assetRenderer.getURLViewInContext((LiferayPortletRequest) renderRequest,
                        (LiferayPortletResponse) renderResponse, viewFullContentURL.toString())
                : viewFullContentURL.toString();
        String viewURLMessage = viewInContext ? assetRenderer.getViewInContextMessage() : "read-more-x-about-x";

        viewURL = _checkViewURL(viewURL, currentURL, themeDisplay);

        out.write('\n');
        out.write('\n');
        //  c:if
        org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest
                .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
        _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
        _jspx_th_c_005fif_005f0.setParent(null);
        // /html/portlet/asset_publisher/display/abstracts.jsp(59,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(show && assetRenderer.hasViewPermission(permissionChecker));
        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<div class=\"asset-abstract\">\n");
                out.write("\t\t");
                if (_jspx_meth_liferay_002dutil_005finclude_005f0(_jspx_th_c_005fif_005f0, _jspx_page_context))
                    return;
                out.write("\n");
                out.write("\n");
                out.write("\t\t<h3 class=\"asset-title\">\n");
                out.write("\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_005f0);
                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");
                        //  c:when
                        org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f0 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest
                                .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
                        _jspx_th_c_005fwhen_005f0.setPageContext(_jspx_page_context);
                        _jspx_th_c_005fwhen_005f0
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
                        // /html/portlet/asset_publisher/display/abstracts.jsp(65,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_c_005fwhen_005f0.setTest(Validator.isNotNull(viewURL));
                        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("\t\t\t\t\t<a href=\"");
                                out.print(viewURL);
                                out.write("\"><img alt=\"\" src=\"");
                                out.print(assetRendererFactory.getIconPath(renderRequest));
                                out.write("\" /> ");
                                out.print(HtmlUtil.escape(title));
                                out.write("</a>\n");
                                out.write("\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");
                        //  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_005f0);
                        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<img src=\"");
                                out.print(assetRendererFactory.getIconPath(renderRequest));
                                out.write("\" alt=\"\" /> ");
                                out.print(HtmlUtil.escape(title));
                                out.write("\n");
                                out.write("\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");
                        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</h3>\n");
                out.write("\n");
                out.write("\t\t<div class=\"asset-content\">\n");
                out.write("\t\t\t<div class=\"asset-summary\">\n");
                out.write("\n");
                out.write("\t\t\t\t");

                String path = assetRenderer.render(renderRequest, renderResponse,
                        AssetRenderer.TEMPLATE_ABSTRACT);

                request.setAttribute(WebKeys.ASSET_RENDERER, assetRenderer);
                request.setAttribute(WebKeys.ASSET_PUBLISHER_ABSTRACT_LENGTH, abstractLength);

                out.write("\n");
                out.write("\n");
                out.write("\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_005f0);
                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");
                        //  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/portlet/asset_publisher/display/abstracts.jsp(85,5) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_c_005fwhen_005f1.setTest(path == null);
                        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");
                                out.print(HtmlUtil.escape(summary));
                                out.write("\n");
                                out.write("\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");
                        //  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_005f1);
                        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");
                                //  liferay-util:include
                                com.liferay.taglib.util.IncludeTag _jspx_th_liferay_002dutil_005finclude_005f1 = (com.liferay.taglib.util.IncludeTag) _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fportletId_005fpage_005fnobody
                                        .get(com.liferay.taglib.util.IncludeTag.class);
                                _jspx_th_liferay_002dutil_005finclude_005f1.setPageContext(_jspx_page_context);
                                _jspx_th_liferay_002dutil_005finclude_005f1.setParent(
                                        (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fotherwise_005f1);
                                // /html/portlet/asset_publisher/display/abstracts.jsp(89,6) name = page type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_liferay_002dutil_005finclude_005f1.setPage(path);
                                // /html/portlet/asset_publisher/display/abstracts.jsp(89,6) name = portletId type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_liferay_002dutil_005finclude_005f1
                                        .setPortletId(assetRendererFactory.getPortletId());
                                int _jspx_eval_liferay_002dutil_005finclude_005f1 = _jspx_th_liferay_002dutil_005finclude_005f1
                                        .doStartTag();
                                if (_jspx_th_liferay_002dutil_005finclude_005f1
                                        .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                    _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fportletId_005fpage_005fnobody
                                            .reuse(_jspx_th_liferay_002dutil_005finclude_005f1);
                                    return;
                                }
                                _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fportletId_005fpage_005fnobody
                                        .reuse(_jspx_th_liferay_002dutil_005finclude_005f1);
                                out.write("\n");
                                out.write("\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");
                        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</div>\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/portlet/asset_publisher/display/abstracts.jsp(94,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(Validator.isNotNull(viewURL));
                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<div class=\"asset-more\">\n");
                        out.write("\t\t\t\t\t<a href=\"");
                        out.print(viewURL);
                        out.write('"');
                        out.write('>');
                        //  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_005farguments_005fnobody
                                .get(com.liferay.taglib.ui.MessageTag.class);
                        _jspx_th_liferay_002dui_005fmessage_005f0.setPageContext(_jspx_page_context);
                        _jspx_th_liferay_002dui_005fmessage_005f0
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                        // /html/portlet/asset_publisher/display/abstracts.jsp(96,30) name = arguments type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_liferay_002dui_005fmessage_005f0.setArguments(new Object[] {
                                "aui-helper-hidden-accessible", HtmlUtil.escape(assetRenderer.getTitle()) });
                        // /html/portlet/asset_publisher/display/abstracts.jsp(96,30) 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(viewURLMessage);
                        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_005farguments_005fnobody
                                    .reuse(_jspx_th_liferay_002dui_005fmessage_005f0);
                            return;
                        }
                        _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005farguments_005fnobody
                                .reuse(_jspx_th_liferay_002dui_005fmessage_005f0);
                        out.write(" &raquo; </a>\n");
                        out.write("\t\t\t\t</div>\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("\t\t</div>\n");
                out.write("\n");
                out.write("\t\t<div class=\"asset-metadata\">\n");
                out.write("\t\t\t");

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

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

                boolean previous = false;

                for (int j = 0; j < metadataFields.length; j++) {
                    String value = null;

                    if (metadataFields[j].equals("create-date")) {
                        value = dateFormatDate.format(assetEntry.getCreateDate());
                    } else if (metadataFields[j].equals("modified-date")) {
                        value = dateFormatDate.format(assetEntry.getModifiedDate());
                    } else if (metadataFields[j].equals("publish-date")) {
                        if (assetEntry.getPublishDate() == null) {
                            value = StringPool.BLANK;
                        } else {
                            value = dateFormatDate.format(assetEntry.getPublishDate());
                        }
                    } else if (metadataFields[j].equals("expiration-date")) {
                        if (assetEntry.getExpirationDate() == null) {
                            value = StringPool.BLANK;
                        } else {
                            value = dateFormatDate.format(assetEntry.getExpirationDate());
                        }
                    } else if (metadataFields[j].equals("priority")) {
                        value = LanguageUtil.get(pageContext, "priority") + StringPool.COLON + StringPool.SPACE
                                + assetEntry.getPriority();
                    } else if (metadataFields[j].equals("author")) {
                        value = LanguageUtil.get(pageContext, "by") + StringPool.SPACE
                                + HtmlUtil.escape(assetEntry.getUserName());
                    } else if (metadataFields[j].equals("view-count")) {
                        int viewCount = assetEntry.getViewCount();

                        value = viewCount + StringPool.SPACE
                                + LanguageUtil.get(pageContext, (viewCount == 1) ? "view" : "views");
                    } else if (metadataFields[j].equals("categories")) {
                        value = "categories";
                    } else if (metadataFields[j].equals("tags")) {
                        value = "tags";
                    }

                    if (Validator.isNotNull(value)) {
                        boolean hasCategoriesOrTags = !(value.equals("categories")
                                && assetEntry.getCategories().isEmpty())
                                && !(value.equals("tags") && assetEntry.getTags().isEmpty());

                        if (previous && hasCategoriesOrTags) {

                            out.write("\n");
                            out.write("\n");
                            out.write("\t\t\t<span class=\"vertical-separator\"><!-- --></span>\n");
                            out.write("\n");

                        }

                        if (previous || hasCategoriesOrTags) {
                            previous = true;
                        }

                        out.write("\n");
                        out.write("\n");
                        out.write("\t\t<span class=\"metadata-entry ");
                        out.print("metadata-" + metadataFields[j]);
                        out.write("\">\n");
                        out.write("\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_005f0);
                        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");
                                //  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_005f2);
                                // /html/portlet/asset_publisher/asset_metadata.jspf(81,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_c_005fwhen_005f2.setTest(value.equals("categories"));
                                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");
                                        //  liferay-ui:asset-categories-summary
                                        com.liferay.taglib.ui.AssetCategoriesSummaryTag _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 = (com.liferay.taglib.ui.AssetCategoriesSummaryTag) _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dcategories_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody
                                                .get(com.liferay.taglib.ui.AssetCategoriesSummaryTag.class);
                                        _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0
                                                .setPageContext(_jspx_page_context);
                                        _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0
                                                .setParent(
                                                        (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f2);
                                        // /html/portlet/asset_publisher/asset_metadata.jspf(82,5) name = className type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                        _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0
                                                .setClassName(assetEntry.getClassName());
                                        // /html/portlet/asset_publisher/asset_metadata.jspf(82,5) name = classPK type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                        _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0
                                                .setClassPK(assetEntry.getClassPK());
                                        // /html/portlet/asset_publisher/asset_metadata.jspf(82,5) name = portletURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                        _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0
                                                .setPortletURL(selectionStyle.equals("manual") ? null
                                                        : renderResponse.createRenderURL());
                                        int _jspx_eval_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 = _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0
                                                .doStartTag();
                                        if (_jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0
                                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                            _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dcategories_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody
                                                    .reuse(_jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0);
                                            return;
                                        }
                                        _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dcategories_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody
                                                .reuse(_jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0);
                                        out.write("\n");
                                        out.write("\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");
                                //  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_005f2);
                                // /html/portlet/asset_publisher/asset_metadata.jspf(88,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                _jspx_th_c_005fwhen_005f3.setTest(value.equals("tags"));
                                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");
                                        //  liferay-ui:asset-tags-summary
                                        com.liferay.taglib.ui.AssetTagsSummaryTag _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0 = (com.liferay.taglib.ui.AssetTagsSummaryTag) _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody
                                                .get(com.liferay.taglib.ui.AssetTagsSummaryTag.class);
                                        _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0
                                                .setPageContext(_jspx_page_context);
                                        _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0.setParent(
                                                (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f3);
                                        // /html/portlet/asset_publisher/asset_metadata.jspf(89,5) name = className type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                        _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0
                                                .setClassName(assetEntry.getClassName());
                                        // /html/portlet/asset_publisher/asset_metadata.jspf(89,5) name = classPK type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                        _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0
                                                .setClassPK(assetEntry.getClassPK());
                                        // /html/portlet/asset_publisher/asset_metadata.jspf(89,5) name = portletURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                                        _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0
                                                .setPortletURL(selectionStyle.equals("manual") ? null
                                                        : renderResponse.createRenderURL());
                                        int _jspx_eval_liferay_002dui_005fasset_002dtags_002dsummary_005f0 = _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0
                                                .doStartTag();
                                        if (_jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0
                                                .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                            _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody
                                                    .reuse(_jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0);
                                            return;
                                        }
                                        _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody
                                                .reuse(_jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0);
                                        out.write("\n");
                                        out.write("\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");
                                //  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_005f2);
                                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");
                                        out.print(value);
                                        out.write("\n");
                                        out.write("\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");
                                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</span>\n");
                        out.write("\n");

                    }
                }

                out.write("\n");
                out.write("\t\t</div>\n");
                out.write("\t</div>\n");
                out.write("\n");
                out.write("\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_005fif_005f0);
                // /html/portlet/asset_publisher/display/abstracts.jsp(106,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_c_005fif_005f2.setTest((assetEntryIndex + 1) == results.size());
                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<div class=\"final-separator\"><!-- --></div>\n");
                        out.write("\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');
                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.portlet.enterprise_005fadmin.user.addresses_jsp.java

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        out.write('\n');
        out.write('\n');
        //  portlet:defineObjects
        com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .get(com.liferay.taglib.portlet.DefineObjectsTag.class);
        _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context);
        _jspx_th_portlet_005fdefineObjects_005f0.setParent(null);
        int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag();
        if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                    .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody
                .reuse(_jspx_th_portlet_005fdefineObjects_005f0);
        javax.portlet.ActionRequest actionRequest = null;
        javax.portlet.ActionResponse actionResponse = null;
        javax.portlet.EventRequest eventRequest = null;
        javax.portlet.EventResponse eventResponse = null;
        javax.portlet.PortletConfig portletConfig = null;
        java.lang.String portletName = null;
        javax.portlet.PortletPreferences portletPreferences = null;
        java.util.Map portletPreferencesValues = null;
        javax.portlet.PortletSession portletSession = null;
        java.util.Map portletSessionScope = null;
        javax.portlet.RenderRequest renderRequest = null;
        javax.portlet.RenderResponse renderResponse = null;
        javax.portlet.ResourceRequest resourceRequest = null;
        javax.portlet.ResourceResponse resourceResponse = null;
        actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest");
        actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse");
        eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest");
        eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse");
        portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");
        portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName");
        portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context
                .findAttribute("portletPreferences");
        portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues");
        portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession");
        portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope");
        renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");
        renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");
        resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest");
        resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context
                .findAttribute("resourceResponse");
        out.write('\n');
        out.write('\n');

        WindowState windowState = null;
        PortletMode portletMode = null;

        PortletURL currentURLObj = null;

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

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

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

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

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

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

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

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

        boolean showTabs1 = false;
        boolean showActiveUserSelect = true;

        if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_USERS)) {
            tabs1 = "users";
        } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_ORGANIZATIONS)) {
            if (!tabs1.equals("users")) {
                tabs1 = "organizations";
            }
        } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_USER_GROUPS) && !tabs1.equals("users")) {
            tabs1 = "user-groups";
        } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_ROLES) && !tabs1.equals("users")) {
            tabs1 = "roles";
        } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_PASSWORD_POLICIES)) {
            tabs1 = "password-policies";
        } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_SETTINGS)) {
            tabs1 = "settings";
        } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_MONITORING)) {
            tabs1 = "monitoring";
        } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_PLUGINS)) {
            tabs1 = "plugins";
        } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN)) {
            showTabs1 = true;
        } else {
            showActiveUserSelect = false;

            if (tabs1.equals("roles") || tabs1.equals("password-policies") || tabs1.equals("settings")
                    || tabs1.equals("monitoring") || tabs1.equals("plugins")) {
                tabs1 = "users";
            }
        }

        if (Validator.isNull(tabs1)) {
            tabs1 = "users";
        }

        boolean filterManageableGroups = true;
        boolean filterManageableOrganizations = true;
        boolean filterManageableRoles = true;
        boolean filterManageableUserGroupRoles = true;
        boolean filterManageableUserGroups = true;

        if (portletName.equals(PortletKeys.MY_ACCOUNT)) {
            filterManageableGroups = false;
            filterManageableOrganizations = false;
            filterManageableRoles = false;
            filterManageableUserGroupRoles = false;
            filterManageableUserGroups = false;
        } else if (permissionChecker.isCompanyAdmin()) {
            filterManageableGroups = false;
            filterManageableOrganizations = false;
            filterManageableUserGroups = false;
        }

        boolean includeSystemPortlets = true;

        int maxNumberOfRolesChecked = 500;

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

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

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

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

        String className = (String) request.getAttribute("addresses.className");
        long classPK = (Long) request.getAttribute("addresses.classPK");

        List<Address> addresses = Collections.EMPTY_LIST;

        int[] addressesIndexes = null;

        String addressesIndexesParam = ParamUtil.getString(request, "addressesIndexes");

        if (Validator.isNotNull(addressesIndexesParam)) {
            addresses = new ArrayList<Address>();

            addressesIndexes = StringUtil.split(addressesIndexesParam, 0);

            for (int addressesIndex : addressesIndexes) {
                addresses.add(new AddressImpl());
            }
        } else {
            if (classPK > 0) {
                addresses = AddressServiceUtil.getAddresses(className, classPK);

                addressesIndexes = new int[addresses.size()];

                for (int i = 0; i < addresses.size(); i++) {
                    addressesIndexes[i] = i;
                }
            }

            if (addresses.isEmpty()) {
                addresses = new ArrayList<Address>();

                addresses.add(new AddressImpl());

                addressesIndexes = new int[] { 0 };
            }

            if (addressesIndexes == null) {
                addressesIndexes = new int[0];
            }
        }

        out.write("\r\n");
        out.write("\r\n");
        if (_jspx_meth_liferay_002dui_005ferror_002dmarker_005f0(_jspx_page_context))
            return;
        out.write("\r\n");
        out.write("\r\n");
        out.write("<h3>");
        if (_jspx_meth_liferay_002dui_005fmessage_005f0(_jspx_page_context))
            return;
        out.write("</h3>\r\n");
        out.write("\r\n");
        //  liferay-ui:error
        com.liferay.taglib.ui.ErrorTag _jspx_th_liferay_002dui_005ferror_005f0 = (com.liferay.taglib.ui.ErrorTag) _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .get(com.liferay.taglib.ui.ErrorTag.class);
        _jspx_th_liferay_002dui_005ferror_005f0.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005ferror_005f0.setParent(null);
        // /html/portlet/enterprise_admin/common/addresses.jsp(67,0) name = exception type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f0.setException(AddressCityException.class);
        // /html/portlet/enterprise_admin/common/addresses.jsp(67,0) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f0.setMessage("please-enter-a-valid-city");
        int _jspx_eval_liferay_002dui_005ferror_005f0 = _jspx_th_liferay_002dui_005ferror_005f0.doStartTag();
        if (_jspx_th_liferay_002dui_005ferror_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005ferror_005f0);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .reuse(_jspx_th_liferay_002dui_005ferror_005f0);
        out.write('\r');
        out.write('\n');
        //  liferay-ui:error
        com.liferay.taglib.ui.ErrorTag _jspx_th_liferay_002dui_005ferror_005f1 = (com.liferay.taglib.ui.ErrorTag) _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .get(com.liferay.taglib.ui.ErrorTag.class);
        _jspx_th_liferay_002dui_005ferror_005f1.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005ferror_005f1.setParent(null);
        // /html/portlet/enterprise_admin/common/addresses.jsp(68,0) name = exception type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f1.setException(AddressStreetException.class);
        // /html/portlet/enterprise_admin/common/addresses.jsp(68,0) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f1.setMessage("please-enter-a-valid-street");
        int _jspx_eval_liferay_002dui_005ferror_005f1 = _jspx_th_liferay_002dui_005ferror_005f1.doStartTag();
        if (_jspx_th_liferay_002dui_005ferror_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005ferror_005f1);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .reuse(_jspx_th_liferay_002dui_005ferror_005f1);
        out.write('\r');
        out.write('\n');
        //  liferay-ui:error
        com.liferay.taglib.ui.ErrorTag _jspx_th_liferay_002dui_005ferror_005f2 = (com.liferay.taglib.ui.ErrorTag) _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .get(com.liferay.taglib.ui.ErrorTag.class);
        _jspx_th_liferay_002dui_005ferror_005f2.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005ferror_005f2.setParent(null);
        // /html/portlet/enterprise_admin/common/addresses.jsp(69,0) name = exception type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f2.setException(AddressZipException.class);
        // /html/portlet/enterprise_admin/common/addresses.jsp(69,0) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f2.setMessage("please-enter-a-valid-zip");
        int _jspx_eval_liferay_002dui_005ferror_005f2 = _jspx_th_liferay_002dui_005ferror_005f2.doStartTag();
        if (_jspx_th_liferay_002dui_005ferror_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005ferror_005f2);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .reuse(_jspx_th_liferay_002dui_005ferror_005f2);
        out.write('\r');
        out.write('\n');
        //  liferay-ui:error
        com.liferay.taglib.ui.ErrorTag _jspx_th_liferay_002dui_005ferror_005f3 = (com.liferay.taglib.ui.ErrorTag) _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .get(com.liferay.taglib.ui.ErrorTag.class);
        _jspx_th_liferay_002dui_005ferror_005f3.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005ferror_005f3.setParent(null);
        // /html/portlet/enterprise_admin/common/addresses.jsp(70,0) name = exception type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f3.setException(NoSuchCountryException.class);
        // /html/portlet/enterprise_admin/common/addresses.jsp(70,0) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f3.setMessage("please-select-a-country");
        int _jspx_eval_liferay_002dui_005ferror_005f3 = _jspx_th_liferay_002dui_005ferror_005f3.doStartTag();
        if (_jspx_th_liferay_002dui_005ferror_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005ferror_005f3);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .reuse(_jspx_th_liferay_002dui_005ferror_005f3);
        out.write('\r');
        out.write('\n');
        //  liferay-ui:error
        com.liferay.taglib.ui.ErrorTag _jspx_th_liferay_002dui_005ferror_005f4 = (com.liferay.taglib.ui.ErrorTag) _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fkey_005fnobody
                .get(com.liferay.taglib.ui.ErrorTag.class);
        _jspx_th_liferay_002dui_005ferror_005f4.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005ferror_005f4.setParent(null);
        // /html/portlet/enterprise_admin/common/addresses.jsp(71,0) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f4
                .setKey(NoSuchListTypeException.class.getName() + className + ListTypeConstants.ADDRESS);
        // /html/portlet/enterprise_admin/common/addresses.jsp(71,0) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f4.setMessage("please-select-a-type");
        int _jspx_eval_liferay_002dui_005ferror_005f4 = _jspx_th_liferay_002dui_005ferror_005f4.doStartTag();
        if (_jspx_th_liferay_002dui_005ferror_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fkey_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005ferror_005f4);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fkey_005fnobody
                .reuse(_jspx_th_liferay_002dui_005ferror_005f4);
        out.write('\r');
        out.write('\n');
        //  liferay-ui:error
        com.liferay.taglib.ui.ErrorTag _jspx_th_liferay_002dui_005ferror_005f5 = (com.liferay.taglib.ui.ErrorTag) _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .get(com.liferay.taglib.ui.ErrorTag.class);
        _jspx_th_liferay_002dui_005ferror_005f5.setPageContext(_jspx_page_context);
        _jspx_th_liferay_002dui_005ferror_005f5.setParent(null);
        // /html/portlet/enterprise_admin/common/addresses.jsp(72,0) name = exception type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f5.setException(NoSuchRegionException.class);
        // /html/portlet/enterprise_admin/common/addresses.jsp(72,0) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_liferay_002dui_005ferror_005f5.setMessage("please-select-a-region");
        int _jspx_eval_liferay_002dui_005ferror_005f5 = _jspx_th_liferay_002dui_005ferror_005f5.doStartTag();
        if (_jspx_th_liferay_002dui_005ferror_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                    .reuse(_jspx_th_liferay_002dui_005ferror_005f5);
            return;
        }
        _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody
                .reuse(_jspx_th_liferay_002dui_005ferror_005f5);
        out.write("\r\n");
        out.write("\r\n");
        //  aui:fieldset
        com.liferay.taglib.aui.FieldsetTag _jspx_th_aui_005ffieldset_005f0 = (com.liferay.taglib.aui.FieldsetTag) _005fjspx_005ftagPool_005faui_005ffieldset
                .get(com.liferay.taglib.aui.FieldsetTag.class);
        _jspx_th_aui_005ffieldset_005f0.setPageContext(_jspx_page_context);
        _jspx_th_aui_005ffieldset_005f0.setParent(null);
        int _jspx_eval_aui_005ffieldset_005f0 = _jspx_th_aui_005ffieldset_005f0.doStartTag();
        if (_jspx_eval_aui_005ffieldset_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005ffieldset_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005ffieldset_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005ffieldset_005f0.doInitBody();
            }
            do {
                out.write("\r\n");
                out.write("\r\n");
                out.write("\t");

                for (int i = 0; i < addressesIndexes.length; i++) {
                    int addressesIndex = addressesIndexes[i];

                    Address address = addresses.get(i);

                    long countryId = ParamUtil.getLong(request, "addressCountryId" + addressesIndex,
                            address.getCountryId());
                    long regionId = ParamUtil.getLong(request, "addressRegionId" + addressesIndex,
                            address.getRegionId());

                    out.write("\r\n");
                    out.write("\r\n");
                    out.write("\t\t");
                    //  aui:model-context
                    com.liferay.taglib.aui.ModelContextTag _jspx_th_aui_005fmodel_002dcontext_005f0 = (com.liferay.taglib.aui.ModelContextTag) _005fjspx_005ftagPool_005faui_005fmodel_002dcontext_0026_005fmodel_005fbean_005fnobody
                            .get(com.liferay.taglib.aui.ModelContextTag.class);
                    _jspx_th_aui_005fmodel_002dcontext_005f0.setPageContext(_jspx_page_context);
                    _jspx_th_aui_005fmodel_002dcontext_005f0
                            .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0);
                    // /html/portlet/enterprise_admin/common/addresses.jsp(86,2) name = bean type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_aui_005fmodel_002dcontext_005f0.setBean(address);
                    // /html/portlet/enterprise_admin/common/addresses.jsp(86,2) name = model type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_aui_005fmodel_002dcontext_005f0.setModel(Address.class);
                    int _jspx_eval_aui_005fmodel_002dcontext_005f0 = _jspx_th_aui_005fmodel_002dcontext_005f0
                            .doStartTag();
                    if (_jspx_th_aui_005fmodel_002dcontext_005f0
                            .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                        _005fjspx_005ftagPool_005faui_005fmodel_002dcontext_0026_005fmodel_005fbean_005fnobody
                                .reuse(_jspx_th_aui_005fmodel_002dcontext_005f0);
                        return;
                    }
                    _005fjspx_005ftagPool_005faui_005fmodel_002dcontext_0026_005fmodel_005fbean_005fnobody
                            .reuse(_jspx_th_aui_005fmodel_002dcontext_005f0);
                    out.write("\r\n");
                    out.write("\r\n");
                    out.write("\t\t<div class=\"lfr-form-row\">\r\n");
                    out.write("\t\t\t<div class=\"row-fields\">\r\n");
                    out.write("\t\t\t\t");
                    //  aui:column
                    com.liferay.taglib.aui.ColumnTag _jspx_th_aui_005fcolumn_005f0 = (com.liferay.taglib.aui.ColumnTag) _005fjspx_005ftagPool_005faui_005fcolumn
                            .get(com.liferay.taglib.aui.ColumnTag.class);
                    _jspx_th_aui_005fcolumn_005f0.setPageContext(_jspx_page_context);
                    _jspx_th_aui_005fcolumn_005f0
                            .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0);
                    int _jspx_eval_aui_005fcolumn_005f0 = _jspx_th_aui_005fcolumn_005f0.doStartTag();
                    if (_jspx_eval_aui_005fcolumn_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        if (_jspx_eval_aui_005fcolumn_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                            out = _jspx_page_context.pushBody();
                            _jspx_th_aui_005fcolumn_005f0
                                    .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                            _jspx_th_aui_005fcolumn_005f0.doInitBody();
                        }
                        do {
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:input
                            com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f0 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody
                                    .get(com.liferay.taglib.aui.InputTag.class);
                            _jspx_th_aui_005finput_005f0.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005finput_005f0
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f0);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(91,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f0.setName("addressId" + addressesIndex);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(91,5) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f0.setType("hidden");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(91,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f0.setValue(address.getAddressId());
                            int _jspx_eval_aui_005finput_005f0 = _jspx_th_aui_005finput_005f0.doStartTag();
                            if (_jspx_th_aui_005finput_005f0
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody
                                        .reuse(_jspx_th_aui_005finput_005f0);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f0);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:input
                            com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f1 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .get(com.liferay.taglib.aui.InputTag.class);
                            _jspx_th_aui_005finput_005f1.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005finput_005f1
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f0);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(93,5) name = fieldParam type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f1.setFieldParam("addressStreet1_" + addressesIndex);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(93,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f1.setName("street1");
                            int _jspx_eval_aui_005finput_005f1 = _jspx_th_aui_005finput_005f1.doStartTag();
                            if (_jspx_th_aui_005finput_005f1
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                        .reuse(_jspx_th_aui_005finput_005f1);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f1);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:input
                            com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f2 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .get(com.liferay.taglib.aui.InputTag.class);
                            _jspx_th_aui_005finput_005f2.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005finput_005f2
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f0);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(95,5) name = fieldParam type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f2.setFieldParam("addressStreet2_" + addressesIndex);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(95,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f2.setName("street2");
                            int _jspx_eval_aui_005finput_005f2 = _jspx_th_aui_005finput_005f2.doStartTag();
                            if (_jspx_th_aui_005finput_005f2
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                        .reuse(_jspx_th_aui_005finput_005f2);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f2);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:input
                            com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f3 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .get(com.liferay.taglib.aui.InputTag.class);
                            _jspx_th_aui_005finput_005f3.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005finput_005f3
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f0);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(97,5) name = fieldParam type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f3.setFieldParam("addressStreet3_" + addressesIndex);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(97,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f3.setName("street3");
                            int _jspx_eval_aui_005finput_005f3 = _jspx_th_aui_005finput_005f3.doStartTag();
                            if (_jspx_th_aui_005finput_005f3
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                        .reuse(_jspx_th_aui_005finput_005f3);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f3);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:select
                            com.liferay.taglib.aui.SelectTag _jspx_th_aui_005fselect_005f0 = (com.liferay.taglib.aui.SelectTag) _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel_005fnobody
                                    .get(com.liferay.taglib.aui.SelectTag.class);
                            _jspx_th_aui_005fselect_005f0.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005fselect_005f0
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f0);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(99,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005fselect_005f0.setLabel("country");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(99,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005fselect_005f0.setName("addressCountryId" + addressesIndex);
                            int _jspx_eval_aui_005fselect_005f0 = _jspx_th_aui_005fselect_005f0.doStartTag();
                            if (_jspx_th_aui_005fselect_005f0
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel_005fnobody
                                        .reuse(_jspx_th_aui_005fselect_005f0);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel_005fnobody
                                    .reuse(_jspx_th_aui_005fselect_005f0);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:select
                            com.liferay.taglib.aui.SelectTag _jspx_th_aui_005fselect_005f1 = (com.liferay.taglib.aui.SelectTag) _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel_005fnobody
                                    .get(com.liferay.taglib.aui.SelectTag.class);
                            _jspx_th_aui_005fselect_005f1.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005fselect_005f1
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f0);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(101,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005fselect_005f1.setLabel("region");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(101,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005fselect_005f1.setName("addressRegionId" + addressesIndex);
                            int _jspx_eval_aui_005fselect_005f1 = _jspx_th_aui_005fselect_005f1.doStartTag();
                            if (_jspx_th_aui_005fselect_005f1
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel_005fnobody
                                        .reuse(_jspx_th_aui_005fselect_005f1);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flabel_005fnobody
                                    .reuse(_jspx_th_aui_005fselect_005f1);
                            out.write("\r\n");
                            out.write("\t\t\t\t");
                            int evalDoAfterBody = _jspx_th_aui_005fcolumn_005f0.doAfterBody();
                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                break;
                        } while (true);
                        if (_jspx_eval_aui_005fcolumn_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                            out = _jspx_page_context.popBody();
                        }
                    }
                    if (_jspx_th_aui_005fcolumn_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                        _005fjspx_005ftagPool_005faui_005fcolumn.reuse(_jspx_th_aui_005fcolumn_005f0);
                        return;
                    }
                    _005fjspx_005ftagPool_005faui_005fcolumn.reuse(_jspx_th_aui_005fcolumn_005f0);
                    out.write("\r\n");
                    out.write("\r\n");
                    out.write("\t\t\t\t");
                    //  aui:column
                    com.liferay.taglib.aui.ColumnTag _jspx_th_aui_005fcolumn_005f1 = (com.liferay.taglib.aui.ColumnTag) _005fjspx_005ftagPool_005faui_005fcolumn
                            .get(com.liferay.taglib.aui.ColumnTag.class);
                    _jspx_th_aui_005fcolumn_005f1.setPageContext(_jspx_page_context);
                    _jspx_th_aui_005fcolumn_005f1
                            .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0);
                    int _jspx_eval_aui_005fcolumn_005f1 = _jspx_th_aui_005fcolumn_005f1.doStartTag();
                    if (_jspx_eval_aui_005fcolumn_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        if (_jspx_eval_aui_005fcolumn_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                            out = _jspx_page_context.pushBody();
                            _jspx_th_aui_005fcolumn_005f1
                                    .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                            _jspx_th_aui_005fcolumn_005f1.doInitBody();
                        }
                        do {
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:select
                            com.liferay.taglib.aui.SelectTag _jspx_th_aui_005fselect_005f2 = (com.liferay.taglib.aui.SelectTag) _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flistType_005flabel_005fnobody
                                    .get(com.liferay.taglib.aui.SelectTag.class);
                            _jspx_th_aui_005fselect_005f2.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005fselect_005f2
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f1);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(105,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005fselect_005f2.setLabel("type");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(105,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005fselect_005f2.setName("addressTypeId" + addressesIndex);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(105,5) name = listType type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005fselect_005f2.setListType(className + ListTypeConstants.ADDRESS);
                            int _jspx_eval_aui_005fselect_005f2 = _jspx_th_aui_005fselect_005f2.doStartTag();
                            if (_jspx_th_aui_005fselect_005f2
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flistType_005flabel_005fnobody
                                        .reuse(_jspx_th_aui_005fselect_005f2);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flistType_005flabel_005fnobody
                                    .reuse(_jspx_th_aui_005fselect_005f2);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:input
                            com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f4 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .get(com.liferay.taglib.aui.InputTag.class);
                            _jspx_th_aui_005finput_005f4.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005finput_005f4
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f1);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(107,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f4.setName("zip");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(107,5) name = fieldParam type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f4.setFieldParam("addressZip" + addressesIndex);
                            int _jspx_eval_aui_005finput_005f4 = _jspx_th_aui_005finput_005f4.doStartTag();
                            if (_jspx_th_aui_005finput_005f4
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                        .reuse(_jspx_th_aui_005finput_005f4);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f4);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:input
                            com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f5 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .get(com.liferay.taglib.aui.InputTag.class);
                            _jspx_th_aui_005finput_005f5.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005finput_005f5
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f1);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(109,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f5.setName("city");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(109,5) name = fieldParam type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f5.setFieldParam("addressCity" + addressesIndex);
                            int _jspx_eval_aui_005finput_005f5 = _jspx_th_aui_005finput_005f5.doStartTag();
                            if (_jspx_th_aui_005finput_005f5
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                        .reuse(_jspx_th_aui_005finput_005f5);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005ffieldParam_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f5);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:input
                            com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f6 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005finlineLabel_005fid_005fcssClass_005fchecked_005fnobody
                                    .get(com.liferay.taglib.aui.InputTag.class);
                            _jspx_th_aui_005finput_005f6.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005finput_005f6
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f1);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(111,5) name = checked type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f6.setChecked(address.isPrimary());
                            // /html/portlet/enterprise_admin/common/addresses.jsp(111,5) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f6.setCssClass("primary-ctrl");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(111,5) name = id type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f6.setId("addressPrimary" + addressesIndex);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(111,5) name = inlineLabel type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f6.setInlineLabel("left");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(111,5) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f6.setLabel("primary");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(111,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f6.setName("addressPrimary");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(111,5) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f6.setType("radio");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(111,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f6.setValue(addressesIndex);
                            int _jspx_eval_aui_005finput_005f6 = _jspx_th_aui_005finput_005f6.doStartTag();
                            if (_jspx_th_aui_005finput_005f6
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005finlineLabel_005fid_005fcssClass_005fchecked_005fnobody
                                        .reuse(_jspx_th_aui_005finput_005f6);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005finlineLabel_005fid_005fcssClass_005fchecked_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f6);
                            out.write("\r\n");
                            out.write("\r\n");
                            out.write("\t\t\t\t\t");
                            //  aui:input
                            com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f7 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005finlineLabel_005ffieldParam_005fcssClass_005fnobody
                                    .get(com.liferay.taglib.aui.InputTag.class);
                            _jspx_th_aui_005finput_005f7.setPageContext(_jspx_page_context);
                            _jspx_th_aui_005finput_005f7
                                    .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005fcolumn_005f1);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(113,5) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f7.setCssClass("mailing-ctrl");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(113,5) name = fieldParam type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f7.setFieldParam("addressMailing" + addressesIndex);
                            // /html/portlet/enterprise_admin/common/addresses.jsp(113,5) name = inlineLabel type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f7.setInlineLabel("left");
                            // /html/portlet/enterprise_admin/common/addresses.jsp(113,5) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                            _jspx_th_aui_005finput_005f7.setName("mailing");
                            int _jspx_eval_aui_005finput_005f7 = _jspx_th_aui_005finput_005f7.doStartTag();
                            if (_jspx_th_aui_005finput_005f7
                                    .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                                _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005finlineLabel_005ffieldParam_005fcssClass_005fnobody
                                        .reuse(_jspx_th_aui_005finput_005f7);
                                return;
                            }
                            _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005finlineLabel_005ffieldParam_005fcssClass_005fnobody
                                    .reuse(_jspx_th_aui_005finput_005f7);
                            out.write("\r\n");
                            out.write("\t\t\t\t");
                            int evalDoAfterBody = _jspx_th_aui_005fcolumn_005f1.doAfterBody();
                            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                break;
                        } while (true);
                        if (_jspx_eval_aui_005fcolumn_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                            out = _jspx_page_context.popBody();
                        }
                    }
                    if (_jspx_th_aui_005fcolumn_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                        _005fjspx_005ftagPool_005faui_005fcolumn.reuse(_jspx_th_aui_005fcolumn_005f1);
                        return;
                    }
                    _005fjspx_005ftagPool_005faui_005fcolumn.reuse(_jspx_th_aui_005fcolumn_005f1);
                    out.write("\r\n");
                    out.write("\t\t\t</div>\r\n");
                    out.write("\t\t</div>\r\n");
                    out.write("\r\n");
                    out.write("\t\t");
                    //  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((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0);
                    // /html/portlet/enterprise_admin/common/addresses.jsp(118,2) 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-dynamic-select");
                    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("\r\n");
                            out.write("\t\t\tnew Liferay.DynamicSelect(\r\n");
                            out.write("\t\t\t\t[\r\n");
                            out.write("\t\t\t\t\t{\r\n");
                            out.write("\t\t\t\t\t\tselect: '");
                            if (_jspx_meth_portlet_005fnamespace_005f0(_jspx_th_aui_005fscript_005f0,
                                    _jspx_page_context))
                                return;
                            out.write("addressCountryId");
                            out.print(addressesIndex);
                            out.write("',\r\n");
                            out.write("\t\t\t\t\t\tselectData: Liferay.Address.getCountries,\r\n");
                            out.write("\t\t\t\t\t\tselectDesc: 'name',\r\n");
                            out.write("\t\t\t\t\t\tselectId: 'countryId',\r\n");
                            out.write("\t\t\t\t\t\tselectVal: '");
                            out.print(countryId);
                            out.write("'\r\n");
                            out.write("\t\t\t\t\t},\r\n");
                            out.write("\t\t\t\t\t{\r\n");
                            out.write("\t\t\t\t\t\tselect: '");
                            if (_jspx_meth_portlet_005fnamespace_005f1(_jspx_th_aui_005fscript_005f0,
                                    _jspx_page_context))
                                return;
                            out.write("addressRegionId");
                            out.print(addressesIndex);
                            out.write("',\r\n");
                            out.write("\t\t\t\t\t\tselectData: Liferay.Address.getRegions,\r\n");
                            out.write("\t\t\t\t\t\tselectDesc: 'name',\r\n");
                            out.write("\t\t\t\t\t\tselectId: 'regionId',\r\n");
                            out.write("\t\t\t\t\t\tselectVal: '");
                            out.print(regionId);
                            out.write("'\r\n");
                            out.write("\t\t\t\t\t}\r\n");
                            out.write("\t\t\t\t]\r\n");
                            out.write("\t\t\t);\r\n");
                            out.write("\t\t");
                            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);
                    out.write("\r\n");
                    out.write("\r\n");
                    out.write("\t");

                }

                out.write("\r\n");
                out.write("\r\n");
                int evalDoAfterBody = _jspx_th_aui_005ffieldset_005f0.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005ffieldset_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005ffieldset_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005ffieldset.reuse(_jspx_th_aui_005ffieldset_005f0);
            return;
        }
        _005fjspx_005ftagPool_005faui_005ffieldset.reuse(_jspx_th_aui_005ffieldset_005f0);
        out.write("\r\n");
        out.write("\r\n");
        if (_jspx_meth_aui_005fscript_005f1(_jspx_page_context))
            return;
    } 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);
    }
}