Example usage for javax.servlet.jsp PageContext pushBody

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

Introduction

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

Prototype


public BodyContent pushBody() 

Source Link

Document

Return a new BodyContent object, save the current "out" JspWriter, and update the value of the "out" attribute in the page scope attribute namespace of the PageContext.

Usage

From source file:org.apache.jsp.html.portlet.image_005fgallery.image_005fthumbnail_jsp.java

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

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

    try {
        response.setContentType("text/html; 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");

        PortletPreferences preferences = renderRequest.getPreferences();

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

        if (Validator.isNotNull(portletResource)) {
            preferences = PortletPreferencesFactoryUtil.getPortletSetup(request, portletResource);
        } else if (layout.isTypeControlPanel()) {
            preferences = PortletPreferencesLocalServiceUtil.getPreferences(themeDisplay.getCompanyId(),
                    scopeGroupId, PortletKeys.PREFS_OWNER_TYPE_GROUP, 0, PortletKeys.IMAGE_GALLERY, null);
        }

        long rootFolderId = PrefsParamUtil.getLong(preferences, request, "rootFolderId",
                IGFolderConstants.DEFAULT_PARENT_FOLDER_ID);

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

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

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

        IGImage image = (IGImage) row.getObject();

        out.write("\n");
        out.write("\n");
        out.write("<table class=\"lfr-table\">\n");
        out.write("<tr>\n");
        out.write("\t<td>\n");
        out.write("\t\t");
        //  aui:a
        com.liferay.taglib.aui.ATag _jspx_th_aui_005fa_005f0 = (com.liferay.taglib.aui.ATag) _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                .get(com.liferay.taglib.aui.ATag.class);
        _jspx_th_aui_005fa_005f0.setPageContext(_jspx_page_context);
        _jspx_th_aui_005fa_005f0.setParent(null);
        // /html/portlet/image_gallery/image_thumbnail.jsp(28,2) name = href type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fa_005f0.setHref(themeDisplay.getPathImage() + "/image_gallery?img_id="
                + image.getLargeImageId() + "&t=" + ImageServletTokenUtil.getToken(image.getLargeImageId()));
        // /html/portlet/image_gallery/image_thumbnail.jsp(28,2) name = target type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fa_005f0.setTarget("_blank");
        int _jspx_eval_aui_005fa_005f0 = _jspx_th_aui_005fa_005f0.doStartTag();
        if (_jspx_eval_aui_005fa_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fa_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005fa_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005fa_005f0.doInitBody();
            }
            do {
                out.write("\n");
                out.write("\t\t\t<img border=\"1\" src=\"");
                out.print(themeDisplay.getPathImage());
                out.write("/image_gallery?img_id=");
                out.print(image.getSmallImageId());
                out.write('&');
                out.write('t');
                out.write('=');
                out.print(ImageServletTokenUtil.getToken(image.getSmallImageId()));
                out.write("\" title=\"");
                out.print(image.getDescription());
                out.write("\" />\n");
                out.write("\t\t");
                int evalDoAfterBody = _jspx_th_aui_005fa_005f0.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005fa_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005fa_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref.reuse(_jspx_th_aui_005fa_005f0);
            return;
        }
        _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref.reuse(_jspx_th_aui_005fa_005f0);
        out.write("\n");
        out.write("\t</td>\n");
        out.write("</tr>\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/image_gallery/image_thumbnail.jsp(34,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((image.getCustom1ImageId() > 0) || (image.getCustom2ImageId() > 0));
        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<tr>\n");
                out.write("\t\t<td>\n");
                out.write("\t\t\t");
                //  aui:a
                com.liferay.taglib.aui.ATag _jspx_th_aui_005fa_005f1 = (com.liferay.taglib.aui.ATag) _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                        .get(com.liferay.taglib.aui.ATag.class);
                _jspx_th_aui_005fa_005f1.setPageContext(_jspx_page_context);
                _jspx_th_aui_005fa_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0);
                // /html/portlet/image_gallery/image_thumbnail.jsp(37,3) name = href type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fa_005f1.setHref(
                        themeDisplay.getPathImage() + "/image_gallery?img_id=" + image.getLargeImageId() + "&t="
                                + ImageServletTokenUtil.getToken(image.getLargeImageId()));
                // /html/portlet/image_gallery/image_thumbnail.jsp(37,3) name = target type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_aui_005fa_005f1.setTarget("_blank");
                int _jspx_eval_aui_005fa_005f1 = _jspx_th_aui_005fa_005f1.doStartTag();
                if (_jspx_eval_aui_005fa_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_aui_005fa_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.pushBody();
                        _jspx_th_aui_005fa_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                        _jspx_th_aui_005fa_005f1.doInitBody();
                    }
                    do {
                        out.write("\n");
                        out.write("\t\t\t\t");
                        if (_jspx_meth_liferay_002dui_005fmessage_005f0(_jspx_th_aui_005fa_005f1,
                                _jspx_page_context))
                            return;
                        out.write("\n");
                        out.write("\t\t\t");
                        int evalDoAfterBody = _jspx_th_aui_005fa_005f1.doAfterBody();
                        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                            break;
                    } while (true);
                    if (_jspx_eval_aui_005fa_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                        out = _jspx_page_context.popBody();
                    }
                }
                if (_jspx_th_aui_005fa_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                            .reuse(_jspx_th_aui_005fa_005f1);
                    return;
                }
                _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref.reuse(_jspx_th_aui_005fa_005f1);
                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/portlet/image_gallery/image_thumbnail.jsp(41,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(image.getCustom1ImageId() > 0);
                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|\n");
                        out.write("\n");
                        out.write("\t\t\t\t");
                        //  aui:a
                        com.liferay.taglib.aui.ATag _jspx_th_aui_005fa_005f2 = (com.liferay.taglib.aui.ATag) _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                                .get(com.liferay.taglib.aui.ATag.class);
                        _jspx_th_aui_005fa_005f2.setPageContext(_jspx_page_context);
                        _jspx_th_aui_005fa_005f2
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
                        // /html/portlet/image_gallery/image_thumbnail.jsp(44,4) name = href type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_aui_005fa_005f2.setHref(themeDisplay.getPathImage() + "/image_gallery?img_id="
                                + image.getCustom1ImageId() + "&t="
                                + ImageServletTokenUtil.getToken(image.getCustom1ImageId()));
                        // /html/portlet/image_gallery/image_thumbnail.jsp(44,4) name = target type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_aui_005fa_005f2.setTarget("_blank");
                        int _jspx_eval_aui_005fa_005f2 = _jspx_th_aui_005fa_005f2.doStartTag();
                        if (_jspx_eval_aui_005fa_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                            if (_jspx_eval_aui_005fa_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.pushBody();
                                _jspx_th_aui_005fa_005f2
                                        .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                                _jspx_th_aui_005fa_005f2.doInitBody();
                            }
                            do {
                                out.write("\n");
                                out.write("\t\t\t\t\t");
                                if (_jspx_meth_liferay_002dui_005fmessage_005f1(_jspx_th_aui_005fa_005f2,
                                        _jspx_page_context))
                                    return;
                                out.write(" 1\n");
                                out.write("\t\t\t\t");
                                int evalDoAfterBody = _jspx_th_aui_005fa_005f2.doAfterBody();
                                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                    break;
                            } while (true);
                            if (_jspx_eval_aui_005fa_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.popBody();
                            }
                        }
                        if (_jspx_th_aui_005fa_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                                    .reuse(_jspx_th_aui_005fa_005f2);
                            return;
                        }
                        _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                                .reuse(_jspx_th_aui_005fa_005f2);
                        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\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/image_gallery/image_thumbnail.jsp(49,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                _jspx_th_c_005fif_005f2.setTest(image.getCustom2ImageId() > 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|\n");
                        out.write("\n");
                        out.write("\t\t\t\t");
                        //  aui:a
                        com.liferay.taglib.aui.ATag _jspx_th_aui_005fa_005f3 = (com.liferay.taglib.aui.ATag) _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                                .get(com.liferay.taglib.aui.ATag.class);
                        _jspx_th_aui_005fa_005f3.setPageContext(_jspx_page_context);
                        _jspx_th_aui_005fa_005f3
                                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
                        // /html/portlet/image_gallery/image_thumbnail.jsp(52,4) name = href type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_aui_005fa_005f3.setHref(themeDisplay.getPathImage() + "/image_gallery?img_id="
                                + image.getCustom2ImageId() + "&t="
                                + ImageServletTokenUtil.getToken(image.getCustom2ImageId()));
                        // /html/portlet/image_gallery/image_thumbnail.jsp(52,4) name = target type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                        _jspx_th_aui_005fa_005f3.setTarget("_blank");
                        int _jspx_eval_aui_005fa_005f3 = _jspx_th_aui_005fa_005f3.doStartTag();
                        if (_jspx_eval_aui_005fa_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                            if (_jspx_eval_aui_005fa_005f3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.pushBody();
                                _jspx_th_aui_005fa_005f3
                                        .setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                                _jspx_th_aui_005fa_005f3.doInitBody();
                            }
                            do {
                                out.write("\n");
                                out.write("\t\t\t\t\t");
                                if (_jspx_meth_liferay_002dui_005fmessage_005f2(_jspx_th_aui_005fa_005f3,
                                        _jspx_page_context))
                                    return;
                                out.write(" 2\n");
                                out.write("\t\t\t\t");
                                int evalDoAfterBody = _jspx_th_aui_005fa_005f3.doAfterBody();
                                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                    break;
                            } while (true);
                            if (_jspx_eval_aui_005fa_005f3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                                out = _jspx_page_context.popBody();
                            }
                        }
                        if (_jspx_th_aui_005fa_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                            _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                                    .reuse(_jspx_th_aui_005fa_005f3);
                            return;
                        }
                        _005fjspx_005ftagPool_005faui_005fa_0026_005ftarget_005fhref
                                .reuse(_jspx_th_aui_005fa_005f3);
                        out.write("\n");
                        out.write("\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("\t\t</td>\n");
                out.write("\t</tr>\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");
        out.write("</table>");
    } 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.image_005fgallery.top_005flinks_jsp.java

private boolean _jspx_meth_aui_005fscript_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f1,
            PageContext _jspx_page_context) throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  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_005f1);
        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();
            }//ww  w .  jav a 2s  . c  o  m
            do {
                out.write("\n");
                out.write("\t\t\t\tLiferay.Util.focusFormField(document.");
                if (_jspx_meth_portlet_005fnamespace_005f0(_jspx_th_aui_005fscript_005f0, _jspx_page_context))
                    return true;
                out.write("searchFm.");
                if (_jspx_meth_portlet_005fnamespace_005f1(_jspx_th_aui_005fscript_005f0, _jspx_page_context))
                    return true;
                out.write("keywords);\n");
                out.write("\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 true;
        }
        _005fjspx_005ftagPool_005faui_005fscript.reuse(_jspx_th_aui_005fscript_005f0);
        return false;
    }

From source file:org.apache.jsp.html.portlet.image_005fgallery.view_jsp.java

private boolean _jspx_meth_aui_005fscript_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fwhen_005f0,
            PageContext _jspx_page_context) throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  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_c_005fwhen_005f0);
        // /html/portlet/image_gallery/view_images.jspf(129,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("aui-image-viewer-gallery");
        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();
            }//from   ww  w . java  2s  .c  om
            do {
                out.write("\n");
                out.write("\tvar viewportRegion = A.getDoc().get('viewportRegion');\n");
                out.write("\tvar maxHeight = (viewportRegion.height * 0.5);\n");
                out.write("\tvar maxWidth = (viewportRegion.width * 0.5);\n");
                out.write("\n");
                out.write("\tvar imageGallery = new A.ImageGallery(\n");
                out.write("\t\t{\n");
                out.write("\t\t\tafter: {\n");
                out.write("\t\t\t\trender: function(event) {\n");
                out.write("\t\t\t\t\tvar instance = this;\n");
                out.write("\t\t\t\t\tvar footerNode = instance.footerNode;\n");
                out.write("\n");
                out.write(
                        "\t\t\t\t\tinstance._actions = A.Node.create('<div class=\"lfr-image-gallery-actions\"></div>');\n");
                out.write("\n");
                out.write("\t\t\t\t\tif (footerNode) {\n");
                out.write("\t\t\t\t\t\tfooterNode.append(\n");
                out.write("\t\t\t\t\t\t\tinstance._actions\n");
                out.write("\t\t\t\t\t\t);\n");
                out.write("\t\t\t\t\t}\n");
                out.write("\t\t\t\t},\n");
                out.write("\t\t\t\trequest: function(event) {\n");
                out.write("\t\t\t\t\tvar instance = this;\n");
                out.write("\n");
                out.write("\t\t\t\t\tvar currentLink = instance.getCurrentLink();\n");
                out.write("\t\t\t\t\tvar largeImageId = currentLink.attr('largeImageId');\n");
                out.write("\t\t\t\t\tvar actions = instance._actions;\n");
                out.write("\n");
                out.write("\t\t\t\t\tif (actions) {\n");
                out.write("\t\t\t\t\t\tvar action = A.one('#");
                if (_jspx_meth_portlet_005fnamespace_005f3(_jspx_th_aui_005fscript_005f0, _jspx_page_context))
                    return true;
                out.write("buttonsContainer_' + largeImageId);\n");
                out.write("\n");
                out.write("\t\t\t\t\t\tactions.empty();\n");
                out.write("\n");
                out.write("\t\t\t\t\t\tactions.append(\n");
                out.write("\t\t\t\t\t\t\taction.clone().show()\n");
                out.write("\t\t\t\t\t\t);\n");
                out.write("\t\t\t\t\t}\n");
                out.write("\t\t\t\t}\n");
                out.write("\t\t\t},\n");
                out.write("\t\t\tdelay: 5000,\n");
                out.write("\t\t\tlinks: '#imageGalleryPanelContainer .image-thumbnail',\n");
                out.write("\t\t\tmaxHeight: maxHeight,\n");
                out.write("\t\t\tmaxWidth: maxWidth,\n");
                out.write("\t\t\tplayingLabel: '(");
                if (_jspx_meth_liferay_002dui_005fmessage_005f1(_jspx_th_aui_005fscript_005f0, _jspx_page_context))
                    return true;
                out.write(")'\n");
                out.write("\t\t}\n");
                out.write("\t).render();\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 true;
        }
        _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f0);
        return false;
    }

From source file:org.apache.jsp.html.portlet.image_005fgallery.view_jsp.java

private boolean _jspx_meth_aui_005fscript_005f1(
            javax.servlet.jsp.tagext.JspTag _jspx_th_liferay_002dui_005fpanel_005f1, PageContext _jspx_page_context)
            throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  aui:script
        com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f1 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse
                .get(com.liferay.taglib.aui.ScriptTag.class);
        _jspx_th_aui_005fscript_005f1.setPageContext(_jspx_page_context);
        _jspx_th_aui_005fscript_005f1/*from w  w w  .  ja v  a  2s.co m*/
                .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_liferay_002dui_005fpanel_005f1);
        // /html/portlet/image_gallery/view_images.jspf(129,0) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fscript_005f1.setUse("aui-image-viewer-gallery");
        int _jspx_eval_aui_005fscript_005f1 = _jspx_th_aui_005fscript_005f1.doStartTag();
        if (_jspx_eval_aui_005fscript_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fscript_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005fscript_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005fscript_005f1.doInitBody();
            }
            do {
                out.write("\n");
                out.write("\tvar viewportRegion = A.getDoc().get('viewportRegion');\n");
                out.write("\tvar maxHeight = (viewportRegion.height * 0.5);\n");
                out.write("\tvar maxWidth = (viewportRegion.width * 0.5);\n");
                out.write("\n");
                out.write("\tvar imageGallery = new A.ImageGallery(\n");
                out.write("\t\t{\n");
                out.write("\t\t\tafter: {\n");
                out.write("\t\t\t\trender: function(event) {\n");
                out.write("\t\t\t\t\tvar instance = this;\n");
                out.write("\t\t\t\t\tvar footerNode = instance.footerNode;\n");
                out.write("\n");
                out.write(
                        "\t\t\t\t\tinstance._actions = A.Node.create('<div class=\"lfr-image-gallery-actions\"></div>');\n");
                out.write("\n");
                out.write("\t\t\t\t\tif (footerNode) {\n");
                out.write("\t\t\t\t\t\tfooterNode.append(\n");
                out.write("\t\t\t\t\t\t\tinstance._actions\n");
                out.write("\t\t\t\t\t\t);\n");
                out.write("\t\t\t\t\t}\n");
                out.write("\t\t\t\t},\n");
                out.write("\t\t\t\trequest: function(event) {\n");
                out.write("\t\t\t\t\tvar instance = this;\n");
                out.write("\n");
                out.write("\t\t\t\t\tvar currentLink = instance.getCurrentLink();\n");
                out.write("\t\t\t\t\tvar largeImageId = currentLink.attr('largeImageId');\n");
                out.write("\t\t\t\t\tvar actions = instance._actions;\n");
                out.write("\n");
                out.write("\t\t\t\t\tif (actions) {\n");
                out.write("\t\t\t\t\t\tvar action = A.one('#");
                if (_jspx_meth_portlet_005fnamespace_005f7(_jspx_th_aui_005fscript_005f1, _jspx_page_context))
                    return true;
                out.write("buttonsContainer_' + largeImageId);\n");
                out.write("\n");
                out.write("\t\t\t\t\t\tactions.empty();\n");
                out.write("\n");
                out.write("\t\t\t\t\t\tactions.append(\n");
                out.write("\t\t\t\t\t\t\taction.clone().show()\n");
                out.write("\t\t\t\t\t\t);\n");
                out.write("\t\t\t\t\t}\n");
                out.write("\t\t\t\t}\n");
                out.write("\t\t\t},\n");
                out.write("\t\t\tdelay: 5000,\n");
                out.write("\t\t\tlinks: '#imageGalleryPanelContainer .image-thumbnail',\n");
                out.write("\t\t\tmaxHeight: maxHeight,\n");
                out.write("\t\t\tmaxWidth: maxWidth,\n");
                out.write("\t\t\tplayingLabel: '(");
                if (_jspx_meth_liferay_002dui_005fmessage_005f5(_jspx_th_aui_005fscript_005f1, _jspx_page_context))
                    return true;
                out.write(")'\n");
                out.write("\t\t}\n");
                out.write("\t).render();\n");
                int evalDoAfterBody = _jspx_th_aui_005fscript_005f1.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005fscript_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005fscript_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f1);
            return true;
        }
        _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f1);
        return false;
    }

From source file:org.apache.jsp.html.portlet.image_005fgallery.view_jsp.java

private boolean _jspx_meth_aui_005fscript_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_aui_005flayout_005f1,
            PageContext _jspx_page_context) throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  aui:script
        com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f2 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse
                .get(com.liferay.taglib.aui.ScriptTag.class);
        _jspx_th_aui_005fscript_005f2.setPageContext(_jspx_page_context);
        _jspx_th_aui_005fscript_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005flayout_005f1);
        // /html/portlet/image_gallery/view_images.jspf(129,0) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fscript_005f2.setUse("aui-image-viewer-gallery");
        int _jspx_eval_aui_005fscript_005f2 = _jspx_th_aui_005fscript_005f2.doStartTag();
        if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005fscript_005f2.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005fscript_005f2.doInitBody();
            }// www  .j  a  v  a2 s .c om
            do {
                out.write("\n");
                out.write("\tvar viewportRegion = A.getDoc().get('viewportRegion');\n");
                out.write("\tvar maxHeight = (viewportRegion.height * 0.5);\n");
                out.write("\tvar maxWidth = (viewportRegion.width * 0.5);\n");
                out.write("\n");
                out.write("\tvar imageGallery = new A.ImageGallery(\n");
                out.write("\t\t{\n");
                out.write("\t\t\tafter: {\n");
                out.write("\t\t\t\trender: function(event) {\n");
                out.write("\t\t\t\t\tvar instance = this;\n");
                out.write("\t\t\t\t\tvar footerNode = instance.footerNode;\n");
                out.write("\n");
                out.write(
                        "\t\t\t\t\tinstance._actions = A.Node.create('<div class=\"lfr-image-gallery-actions\"></div>');\n");
                out.write("\n");
                out.write("\t\t\t\t\tif (footerNode) {\n");
                out.write("\t\t\t\t\t\tfooterNode.append(\n");
                out.write("\t\t\t\t\t\t\tinstance._actions\n");
                out.write("\t\t\t\t\t\t);\n");
                out.write("\t\t\t\t\t}\n");
                out.write("\t\t\t\t},\n");
                out.write("\t\t\t\trequest: function(event) {\n");
                out.write("\t\t\t\t\tvar instance = this;\n");
                out.write("\n");
                out.write("\t\t\t\t\tvar currentLink = instance.getCurrentLink();\n");
                out.write("\t\t\t\t\tvar largeImageId = currentLink.attr('largeImageId');\n");
                out.write("\t\t\t\t\tvar actions = instance._actions;\n");
                out.write("\n");
                out.write("\t\t\t\t\tif (actions) {\n");
                out.write("\t\t\t\t\t\tvar action = A.one('#");
                if (_jspx_meth_portlet_005fnamespace_005f11(_jspx_th_aui_005fscript_005f2, _jspx_page_context))
                    return true;
                out.write("buttonsContainer_' + largeImageId);\n");
                out.write("\n");
                out.write("\t\t\t\t\t\tactions.empty();\n");
                out.write("\n");
                out.write("\t\t\t\t\t\tactions.append(\n");
                out.write("\t\t\t\t\t\t\taction.clone().show()\n");
                out.write("\t\t\t\t\t\t);\n");
                out.write("\t\t\t\t\t}\n");
                out.write("\t\t\t\t}\n");
                out.write("\t\t\t},\n");
                out.write("\t\t\tdelay: 5000,\n");
                out.write("\t\t\tlinks: '#imageGalleryPanelContainer .image-thumbnail',\n");
                out.write("\t\t\tmaxHeight: maxHeight,\n");
                out.write("\t\t\tmaxWidth: maxWidth,\n");
                out.write("\t\t\tplayingLabel: '(");
                if (_jspx_meth_liferay_002dui_005fmessage_005f7(_jspx_th_aui_005fscript_005f2, _jspx_page_context))
                    return true;
                out.write(")'\n");
                out.write("\t\t}\n");
                out.write("\t).render();\n");
                int evalDoAfterBody = _jspx_th_aui_005fscript_005f2.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005fscript_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f2);
            return true;
        }
        _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f2);
        return false;
    }

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;/*from w w  w .j a v a  2s.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("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        out.write("\n");
        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.portlet.journal.edit_005farticle_005fcontent_005fxsd_005fel_jsp.java

private boolean _jspx_meth_aui_005fa_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f5,
        PageContext _jspx_page_context) throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  aui:a//from  ww  w. j  a  v  a 2  s  .c  o m
    com.liferay.taglib.aui.ATag _jspx_th_aui_005fa_005f0 = (com.liferay.taglib.aui.ATag) _005fjspx_005ftagPool_005faui_005fa_0026_005fhref_005fcssClass
            .get(com.liferay.taglib.aui.ATag.class);
    _jspx_th_aui_005fa_005f0.setPageContext(_jspx_page_context);
    _jspx_th_aui_005fa_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
    // /html/portlet/journal/edit_article_content_xsd_el.jsp(133,9) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_aui_005fa_005f0.setCssClass("journal-image-link");
    // /html/portlet/journal/edit_article_content_xsd_el.jsp(133,9) name = href type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_aui_005fa_005f0.setHref("javascript:void(0);");
    int _jspx_eval_aui_005fa_005f0 = _jspx_th_aui_005fa_005f0.doStartTag();
    if (_jspx_eval_aui_005fa_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_aui_005fa_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
            out = _jspx_page_context.pushBody();
            _jspx_th_aui_005fa_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
            _jspx_th_aui_005fa_005f0.doInitBody();
        }
        do {
            out.write("<span class=\"show-label\">");
            if (_jspx_meth_liferay_002dui_005fmessage_005f0(_jspx_th_aui_005fa_005f0, _jspx_page_context))
                return true;
            out.write("</span><span class=\"hide-label aui-helper-hidden\">");
            if (_jspx_meth_liferay_002dui_005fmessage_005f1(_jspx_th_aui_005fa_005f0, _jspx_page_context))
                return true;
            out.write("</span>");
            int evalDoAfterBody = _jspx_th_aui_005fa_005f0.doAfterBody();
            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
        } while (true);
        if (_jspx_eval_aui_005fa_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
            out = _jspx_page_context.popBody();
        }
    }
    if (_jspx_th_aui_005fa_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005faui_005fa_0026_005fhref_005fcssClass.reuse(_jspx_th_aui_005fa_005f0);
        return true;
    }
    _005fjspx_005ftagPool_005faui_005fa_0026_005fhref_005fcssClass.reuse(_jspx_th_aui_005fa_005f0);
    return false;
}

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

private boolean _jspx_meth_aui_005fform_005f0(PageContext _jspx_page_context) throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  aui:form
        com.liferay.taglib.aui.FormTag _jspx_th_aui_005fform_005f0 = (com.liferay.taglib.aui.FormTag) _005fjspx_005ftagPool_005faui_005fform_0026_005fname_005fmethod_005fenctype
                .get(com.liferay.taglib.aui.FormTag.class);
        _jspx_th_aui_005fform_005f0.setPageContext(_jspx_page_context);
        _jspx_th_aui_005fform_005f0.setParent(null);
        // /html/portlet/journal/edit_article.jsp(234,0) null
        _jspx_th_aui_005fform_005f0.setDynamicAttribute(null, "enctype", new String("multipart/form-data"));
        // /html/portlet/journal/edit_article.jsp(234,0) null
        _jspx_th_aui_005fform_005f0.setDynamicAttribute(null, "method", new String("post"));
        // /html/portlet/journal/edit_article.jsp(234,0) name = name type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fform_005f0.setName("fm2");
        int _jspx_eval_aui_005fform_005f0 = _jspx_th_aui_005fform_005f0.doStartTag();
        if (_jspx_eval_aui_005fform_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fform_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005fform_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005fform_005f0.doInitBody();
            }//w w w. j  a  v a 2  s .  co m
            do {
                out.write("\n");
                out.write("\t<input name=\"groupId\" type=\"hidden\" value=\"\" />\n");
                out.write("\t<input name=\"articleId\" type=\"hidden\" value=\"\" />\n");
                out.write("\t<input name=\"version\" type=\"hidden\" value=\"\" />\n");
                out.write("\t<input name=\"title\" type=\"hidden\" value=\"\" />\n");
                out.write("\t<input name=\"xml\" type=\"hidden\" value=\"\" />\n");
                int evalDoAfterBody = _jspx_th_aui_005fform_005f0.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005fform_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005fform_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fform_0026_005fname_005fmethod_005fenctype
                    .reuse(_jspx_th_aui_005fform_005f0);
            return true;
        }
        _005fjspx_005ftagPool_005faui_005fform_0026_005fname_005fmethod_005fenctype
                .reuse(_jspx_th_aui_005fform_005f0);
        return false;
    }

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

private boolean _jspx_meth_aui_005fscript_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fotherwise_005f2,
            PageContext _jspx_page_context) throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  aui:script
        com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f2 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript
                .get(com.liferay.taglib.aui.ScriptTag.class);
        _jspx_th_aui_005fscript_005f2.setPageContext(_jspx_page_context);
        _jspx_th_aui_005fscript_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fotherwise_005f2);
        int _jspx_eval_aui_005fscript_005f2 = _jspx_th_aui_005fscript_005f2.doStartTag();
        if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005fscript_005f2.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005fscript_005f2.doInitBody();
            }/*from w  w w. j a v  a  2 s  .  c  o  m*/
            do {
                out.write("\n");
                out.write("\t\t\t\t\t\t\t\t\tdocument.");
                if (_jspx_meth_portlet_005fnamespace_005f15(_jspx_th_aui_005fscript_005f2, _jspx_page_context))
                    return true;
                out.write("fm1.");
                if (_jspx_meth_portlet_005fnamespace_005f16(_jspx_th_aui_005fscript_005f2, _jspx_page_context))
                    return true;
                out.write("removeArticleLocaleButton.disabled = true;\n");
                out.write("\t\t\t\t\t\t\t\t");
                int evalDoAfterBody = _jspx_th_aui_005fscript_005f2.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005fscript_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005fscript_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fscript.reuse(_jspx_th_aui_005fscript_005f2);
            return true;
        }
        _005fjspx_005ftagPool_005faui_005fscript.reuse(_jspx_th_aui_005fscript_005f2);
        return false;
    }

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

private boolean _jspx_meth_aui_005fa_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_aui_005ffieldset_005f5,
            PageContext _jspx_page_context) throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  aui:a
        com.liferay.taglib.aui.ATag _jspx_th_aui_005fa_005f1 = (com.liferay.taglib.aui.ATag) _005fjspx_005ftagPool_005faui_005fa_0026_005fid_005fhref
                .get(com.liferay.taglib.aui.ATag.class);
        _jspx_th_aui_005fa_005f1.setPageContext(_jspx_page_context);
        _jspx_th_aui_005fa_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f5);
        // /html/portlet/journal/edit_article_structure_extra.jspf(28,3) name = href type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fa_005f1.setHref("#");
        // /html/portlet/journal/edit_article_structure_extra.jspf(28,3) name = id type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_aui_005fa_005f1.setId("showStructureIdContainer");
        int _jspx_eval_aui_005fa_005f1 = _jspx_th_aui_005fa_005f1.doStartTag();
        if (_jspx_eval_aui_005fa_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_aui_005fa_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.pushBody();
                _jspx_th_aui_005fa_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                _jspx_th_aui_005fa_005f1.doInitBody();
            }/* www .  j ava2 s  . c  om*/
            do {
                if (_jspx_meth_liferay_002dui_005fmessage_005f22(_jspx_th_aui_005fa_005f1, _jspx_page_context))
                    return true;
                out.write(" &raquo;");
                int evalDoAfterBody = _jspx_th_aui_005fa_005f1.doAfterBody();
                if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
            } while (true);
            if (_jspx_eval_aui_005fa_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                out = _jspx_page_context.popBody();
            }
        }
        if (_jspx_th_aui_005fa_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005faui_005fa_0026_005fid_005fhref.reuse(_jspx_th_aui_005fa_005f1);
            return true;
        }
        _005fjspx_005ftagPool_005faui_005fa_0026_005fid_005fhref.reuse(_jspx_th_aui_005fa_005f1);
        return false;
    }