List of usage examples for javax.servlet.jsp JspWriter getBufferSize
public int getBufferSize()
From source file:org.apache.jsp.html.portlet.announcements.tabs1_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 2 s . co m*/ HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\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"); int delta = 3; Format dateFormatDate = FastDateFormatFactoryUtil.getDate(locale, timeZone); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); String tabs1 = ParamUtil.getString(request, "tabs1", "entries"); PortletURL tabs1URL = renderResponse.createRenderURL(); tabs1URL.setParameter("struts_action", "/announcements/view"); tabs1URL.setParameter("tabs1", tabs1); String tabs1Names = "entries"; if (PortletPermissionUtil.contains(permissionChecker, plid, PortletKeys.ANNOUNCEMENTS, ActionKeys.ADD_ENTRY)) { tabs1Names += ",manage-entries"; } out.write('\n'); out.write('\n'); // liferay-ui:tabs com.liferay.taglib.ui.TabsTag _jspx_th_liferay_002dui_005ftabs_005f0 = (com.liferay.taglib.ui.TabsTag) _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005furl_005fnames_005fnobody .get(com.liferay.taglib.ui.TabsTag.class); _jspx_th_liferay_002dui_005ftabs_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005ftabs_005f0.setParent(null); // /html/portlet/announcements/tabs1.jsp(34,0) name = names type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setNames(tabs1Names); // /html/portlet/announcements/tabs1.jsp(34,0) name = url type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setUrl(tabs1URL.toString()); int _jspx_eval_liferay_002dui_005ftabs_005f0 = _jspx_th_liferay_002dui_005ftabs_005f0.doStartTag(); if (_jspx_th_liferay_002dui_005ftabs_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005furl_005fnames_005fnobody .reuse(_jspx_th_liferay_002dui_005ftabs_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005furl_005fnames_005fnobody .reuse(_jspx_th_liferay_002dui_005ftabs_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.asset_005fpublisher.asset_005factions_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;//from ww w. j a v a 2 s. c o m HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); // portlet:defineObjects com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .get(com.liferay.taglib.portlet.DefineObjectsTag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletConfig portletConfig = null; java.lang.String portletName = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context .findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context .findAttribute("resourceResponse"); out.write('\n'); out.write('\n'); WindowState windowState = null; PortletMode portletMode = null; PortletURL currentURLObj = null; if (renderRequest != null) { windowState = renderRequest.getWindowState(); portletMode = renderRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse); } else if (resourceRequest != null) { windowState = resourceRequest.getWindowState(); portletMode = resourceRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse); } String currentURL = currentURLObj.toString(); //String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); PortletPreferences preferences = renderRequest.getPreferences(); String portletResource = ParamUtil.getString(request, "portletResource"); if (Validator.isNotNull(portletResource)) { preferences = PortletPreferencesFactoryUtil.getPortletSetup(request, portletResource); } String selectionStyle = preferences.getValue("selection-style", null); if (Validator.isNull(selectionStyle)) { selectionStyle = "dynamic"; } boolean defaultScope = GetterUtil.getBoolean(preferences.getValue("default-scope", null), true); long[] groupIds = AssetPublisherUtil.getGroupIds(preferences, scopeGroupId, layout); long[] availableClassNameIds = AssetRendererFactoryRegistryUtil.getClassNameIds(); boolean anyAssetType = GetterUtil .getBoolean(preferences.getValue("any-asset-type", Boolean.TRUE.toString())); long[] classNameIds = AssetPublisherUtil.getClassNameIds(preferences, availableClassNameIds); AssetEntryQuery assetEntryQuery = new AssetEntryQuery(); String[] allAssetTagNames = new String[0]; if (selectionStyle.equals("dynamic")) { assetEntryQuery = AssetPublisherUtil.getAssetEntryQuery(preferences, scopeGroupId); allAssetTagNames = AssetPublisherUtil.getAssetTagNames(preferences, scopeGroupId); } long assetVocabularyId = GetterUtil .getLong(preferences.getValue("asset-vocabulary-id", StringPool.BLANK)); long assetCategoryId = ParamUtil.getLong(request, "categoryId"); String assetCategoryName = null; String assetVocabularyName = null; if (assetCategoryId > 0) { assetEntryQuery.setAllCategoryIds(new long[] { assetCategoryId }); AssetCategory assetCategory = AssetCategoryLocalServiceUtil.getCategory(assetCategoryId); assetCategoryName = assetCategory.getName(); AssetVocabulary assetVocabulary = AssetVocabularyLocalServiceUtil .getAssetVocabulary(assetCategory.getVocabularyId()); assetVocabularyName = assetVocabulary.getName(); PortalUtil.setPageKeywords(assetCategory.getName(), request); } String assetTagName = ParamUtil.getString(request, "tag"); if (Validator.isNotNull(assetTagName)) { allAssetTagNames = new String[] { assetTagName }; long[] assetTagIds = AssetTagLocalServiceUtil.getTagIds(scopeGroupId, allAssetTagNames); assetEntryQuery.setAllTagIds(assetTagIds); PortalUtil.setPageKeywords(assetTagName, request); } boolean mergeUrlTags = GetterUtil.getBoolean(preferences.getValue("merge-url-tags", null), true); String displayStyle = GetterUtil.getString(preferences.getValue("display-style", "abstracts")); if (Validator.isNull(displayStyle)) { displayStyle = "abstracts"; } boolean showAssetTitle = GetterUtil.getBoolean(preferences.getValue("show-asset-title", null), true); boolean showContextLink = GetterUtil.getBoolean(preferences.getValue("show-context-link", null), true); int abstractLength = GetterUtil.getInteger(preferences.getValue("abstract-length", StringPool.BLANK), 200); String assetLinkBehaviour = GetterUtil .getString(preferences.getValue("asset-link-behaviour", "showFullContent")); String orderByColumn1 = GetterUtil.getString(preferences.getValue("order-by-column-1", "modifiedDate")); String orderByColumn2 = GetterUtil.getString(preferences.getValue("order-by-column-2", "title")); String orderByType1 = GetterUtil.getString(preferences.getValue("order-by-type-1", "DESC")); String orderByType2 = GetterUtil.getString(preferences.getValue("order-by-type-2", "ASC")); boolean excludeZeroViewCount = GetterUtil .getBoolean(preferences.getValue("exclude-zero-view-count", "0")); int delta = GetterUtil.getInteger(preferences.getValue("delta", StringPool.BLANK), SearchContainer.DEFAULT_DELTA); String paginationType = GetterUtil.getString(preferences.getValue("pagination-type", "none")); boolean showAvailableLocales = GetterUtil .getBoolean(preferences.getValue("show-available-locales", StringPool.BLANK)); boolean enableRatings = GetterUtil.getBoolean(preferences.getValue("enable-ratings", null)); boolean enableComments = GetterUtil.getBoolean(preferences.getValue("enable-comments", null)); boolean enableCommentRatings = GetterUtil .getBoolean(preferences.getValue("enable-comment-ratings", null)); boolean enableTagBasedNavigation = GetterUtil .getBoolean(preferences.getValue("enable-tag-based-navigation", null)); String[] conversions = DocumentConversionUtil.getConversions("html"); String[] extensions = preferences.getValues("extensions", new String[0]); boolean openOfficeServerEnabled = PrefsPropsUtil.getBoolean(PropsKeys.OPENOFFICE_SERVER_ENABLED, PropsValues.OPENOFFICE_SERVER_ENABLED); boolean enableConversions = openOfficeServerEnabled && (extensions != null) && (extensions.length > 0); boolean enablePrint = GetterUtil.getBoolean(preferences.getValue("enable-print", null)); boolean enableFlags = GetterUtil.getBoolean(preferences.getValue("enable-flags", null)); String defaultMetadataFields = StringPool.BLANK; String allMetadataFields = "create-date,modified-date,publish-date,expiration-date,priority,author,view-count,categories,tags"; String[] metadataFields = StringUtil .split(preferences.getValue("metadata-fields", defaultMetadataFields)); boolean enableRSS = GetterUtil.getBoolean(preferences.getValue("enable-rss", null)); int rssDelta = GetterUtil.getInteger(preferences.getValue("rss-delta", "20")); String rssDisplayStyle = preferences.getValue("rss-display-style", RSSUtil.DISPLAY_STYLE_ABSTRACT); String rssFormat = preferences.getValue("rss-format", "atom10"); String rssName = preferences.getValue("rss-name", portletDisplay.getTitle()); String[] assetEntryXmls = preferences.getValues("asset-entry-xml", new String[0]); boolean viewInContext = assetLinkBehaviour.equals("viewInPortlet"); boolean showPortletWithNoResults = false; boolean groupByClass = (assetVocabularyId == -1); boolean allowEmptyResults = false; Format dateFormatDate = FastDateFormatFactoryUtil.getDate(locale, timeZone); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); boolean showIconLabel = ((Boolean) request.getAttribute("view.jsp-showIconLabel")).booleanValue(); AssetRenderer assetRenderer = (AssetRenderer) request.getAttribute("view.jsp-assetRenderer"); PortletURL editPortletURL = assetRenderer.getURLEdit((LiferayPortletRequest) renderRequest, (LiferayPortletResponse) renderResponse); if (editPortletURL != null) { editPortletURL.setWindowState(WindowState.MAXIMIZED); editPortletURL.setPortletMode(PortletMode.VIEW); editPortletURL.setParameter("redirect", currentURL); } Group stageableGroup = themeDisplay.getScopeGroup(); if (themeDisplay.getScopeGroup().isLayout()) { stageableGroup = layout.getGroup(); } out.write('\n'); out.write('\n'); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f0.setParent(null); // /html/portlet/asset_publisher/asset_actions.jsp(40,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(assetRenderer.hasEditPermission(permissionChecker) && (editPortletURL != null) && !stageableGroup.hasStagingGroup()); int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag(); if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t<div class=\"lfr-meta-actions asset-actions\">\n"); out.write("\t\t"); // liferay-ui:icon com.liferay.taglib.ui.IconTag _jspx_th_liferay_002dui_005ficon_005f0 = (com.liferay.taglib.ui.IconTag) _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fmessage_005flabel_005fimage_005fnobody .get(com.liferay.taglib.ui.IconTag.class); _jspx_th_liferay_002dui_005ficon_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005ficon_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0); // /html/portlet/asset_publisher/asset_actions.jsp(42,2) name = image type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ficon_005f0.setImage("edit"); // /html/portlet/asset_publisher/asset_actions.jsp(42,2) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ficon_005f0.setLabel(showIconLabel); // /html/portlet/asset_publisher/asset_actions.jsp(42,2) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ficon_005f0.setMessage(showIconLabel ? LanguageUtil.format(pageContext, "edit-x-x", new Object[] { "aui-helper-hidden-accessible", HtmlUtil.escape(assetRenderer.getTitle()) }) : LanguageUtil.format(pageContext, "edit-x", HtmlUtil.escape(assetRenderer.getTitle()))); // /html/portlet/asset_publisher/asset_actions.jsp(42,2) name = url type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ficon_005f0.setUrl(editPortletURL.toString()); int _jspx_eval_liferay_002dui_005ficon_005f0 = _jspx_th_liferay_002dui_005ficon_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005ficon_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fmessage_005flabel_005fimage_005fnobody .reuse(_jspx_th_liferay_002dui_005ficon_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005ficon_0026_005furl_005fmessage_005flabel_005fimage_005fnobody .reuse(_jspx_th_liferay_002dui_005ficon_005f0); out.write("\n"); out.write("\t</div>\n"); int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.asset_005fpublisher.display.abstracts_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;//from w w w .jav a 2 s . co m HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); // portlet:defineObjects com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .get(com.liferay.taglib.portlet.DefineObjectsTag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletConfig portletConfig = null; java.lang.String portletName = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context .findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context .findAttribute("resourceResponse"); out.write('\n'); out.write('\n'); WindowState windowState = null; PortletMode portletMode = null; PortletURL currentURLObj = null; if (renderRequest != null) { windowState = renderRequest.getWindowState(); portletMode = renderRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse); } else if (resourceRequest != null) { windowState = resourceRequest.getWindowState(); portletMode = resourceRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse); } String currentURL = currentURLObj.toString(); //String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); PortletPreferences preferences = renderRequest.getPreferences(); String portletResource = ParamUtil.getString(request, "portletResource"); if (Validator.isNotNull(portletResource)) { preferences = PortletPreferencesFactoryUtil.getPortletSetup(request, portletResource); } String selectionStyle = preferences.getValue("selection-style", null); if (Validator.isNull(selectionStyle)) { selectionStyle = "dynamic"; } boolean defaultScope = GetterUtil.getBoolean(preferences.getValue("default-scope", null), true); long[] groupIds = AssetPublisherUtil.getGroupIds(preferences, scopeGroupId, layout); long[] availableClassNameIds = AssetRendererFactoryRegistryUtil.getClassNameIds(); boolean anyAssetType = GetterUtil .getBoolean(preferences.getValue("any-asset-type", Boolean.TRUE.toString())); long[] classNameIds = AssetPublisherUtil.getClassNameIds(preferences, availableClassNameIds); AssetEntryQuery assetEntryQuery = new AssetEntryQuery(); String[] allAssetTagNames = new String[0]; if (selectionStyle.equals("dynamic")) { assetEntryQuery = AssetPublisherUtil.getAssetEntryQuery(preferences, scopeGroupId); allAssetTagNames = AssetPublisherUtil.getAssetTagNames(preferences, scopeGroupId); } long assetVocabularyId = GetterUtil .getLong(preferences.getValue("asset-vocabulary-id", StringPool.BLANK)); long assetCategoryId = ParamUtil.getLong(request, "categoryId"); String assetCategoryName = null; String assetVocabularyName = null; if (assetCategoryId > 0) { assetEntryQuery.setAllCategoryIds(new long[] { assetCategoryId }); AssetCategory assetCategory = AssetCategoryLocalServiceUtil.getCategory(assetCategoryId); assetCategoryName = assetCategory.getName(); AssetVocabulary assetVocabulary = AssetVocabularyLocalServiceUtil .getAssetVocabulary(assetCategory.getVocabularyId()); assetVocabularyName = assetVocabulary.getName(); PortalUtil.setPageKeywords(assetCategory.getName(), request); } String assetTagName = ParamUtil.getString(request, "tag"); if (Validator.isNotNull(assetTagName)) { allAssetTagNames = new String[] { assetTagName }; long[] assetTagIds = AssetTagLocalServiceUtil.getTagIds(scopeGroupId, allAssetTagNames); assetEntryQuery.setAllTagIds(assetTagIds); PortalUtil.setPageKeywords(assetTagName, request); } boolean mergeUrlTags = GetterUtil.getBoolean(preferences.getValue("merge-url-tags", null), true); String displayStyle = GetterUtil.getString(preferences.getValue("display-style", "abstracts")); if (Validator.isNull(displayStyle)) { displayStyle = "abstracts"; } boolean showAssetTitle = GetterUtil.getBoolean(preferences.getValue("show-asset-title", null), true); boolean showContextLink = GetterUtil.getBoolean(preferences.getValue("show-context-link", null), true); int abstractLength = GetterUtil.getInteger(preferences.getValue("abstract-length", StringPool.BLANK), 200); String assetLinkBehaviour = GetterUtil .getString(preferences.getValue("asset-link-behaviour", "showFullContent")); String orderByColumn1 = GetterUtil.getString(preferences.getValue("order-by-column-1", "modifiedDate")); String orderByColumn2 = GetterUtil.getString(preferences.getValue("order-by-column-2", "title")); String orderByType1 = GetterUtil.getString(preferences.getValue("order-by-type-1", "DESC")); String orderByType2 = GetterUtil.getString(preferences.getValue("order-by-type-2", "ASC")); boolean excludeZeroViewCount = GetterUtil .getBoolean(preferences.getValue("exclude-zero-view-count", "0")); int delta = GetterUtil.getInteger(preferences.getValue("delta", StringPool.BLANK), SearchContainer.DEFAULT_DELTA); String paginationType = GetterUtil.getString(preferences.getValue("pagination-type", "none")); boolean showAvailableLocales = GetterUtil .getBoolean(preferences.getValue("show-available-locales", StringPool.BLANK)); boolean enableRatings = GetterUtil.getBoolean(preferences.getValue("enable-ratings", null)); boolean enableComments = GetterUtil.getBoolean(preferences.getValue("enable-comments", null)); boolean enableCommentRatings = GetterUtil .getBoolean(preferences.getValue("enable-comment-ratings", null)); boolean enableTagBasedNavigation = GetterUtil .getBoolean(preferences.getValue("enable-tag-based-navigation", null)); String[] conversions = DocumentConversionUtil.getConversions("html"); String[] extensions = preferences.getValues("extensions", new String[0]); boolean openOfficeServerEnabled = PrefsPropsUtil.getBoolean(PropsKeys.OPENOFFICE_SERVER_ENABLED, PropsValues.OPENOFFICE_SERVER_ENABLED); boolean enableConversions = openOfficeServerEnabled && (extensions != null) && (extensions.length > 0); boolean enablePrint = GetterUtil.getBoolean(preferences.getValue("enable-print", null)); boolean enableFlags = GetterUtil.getBoolean(preferences.getValue("enable-flags", null)); String defaultMetadataFields = StringPool.BLANK; String allMetadataFields = "create-date,modified-date,publish-date,expiration-date,priority,author,view-count,categories,tags"; String[] metadataFields = StringUtil .split(preferences.getValue("metadata-fields", defaultMetadataFields)); boolean enableRSS = GetterUtil.getBoolean(preferences.getValue("enable-rss", null)); int rssDelta = GetterUtil.getInteger(preferences.getValue("rss-delta", "20")); String rssDisplayStyle = preferences.getValue("rss-display-style", RSSUtil.DISPLAY_STYLE_ABSTRACT); String rssFormat = preferences.getValue("rss-format", "atom10"); String rssName = preferences.getValue("rss-name", portletDisplay.getTitle()); String[] assetEntryXmls = preferences.getValues("asset-entry-xml", new String[0]); boolean viewInContext = assetLinkBehaviour.equals("viewInPortlet"); boolean showPortletWithNoResults = false; boolean groupByClass = (assetVocabularyId == -1); boolean allowEmptyResults = false; Format dateFormatDate = FastDateFormatFactoryUtil.getDate(locale, timeZone); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); List results = (List) request.getAttribute("view.jsp-results"); int assetEntryIndex = ((Integer) request.getAttribute("view.jsp-assetEntryIndex")).intValue(); AssetEntry assetEntry = (AssetEntry) request.getAttribute("view.jsp-assetEntry"); AssetRendererFactory assetRendererFactory = (AssetRendererFactory) request .getAttribute("view.jsp-assetRendererFactory"); AssetRenderer assetRenderer = (AssetRenderer) request.getAttribute("view.jsp-assetRenderer"); boolean show = ((Boolean) request.getAttribute("view.jsp-show")).booleanValue(); request.setAttribute("view.jsp-showIconLabel", true); String title = (String) request.getAttribute("view.jsp-title"); if (Validator.isNull(title)) { title = assetRenderer.getTitle(); } PortletURL viewFullContentURL = renderResponse.createRenderURL(); viewFullContentURL.setParameter("struts_action", "/asset_publisher/view_content"); viewFullContentURL.setParameter("assetEntryId", String.valueOf(assetEntry.getEntryId())); viewFullContentURL.setParameter("type", assetRendererFactory.getType()); if (Validator.isNotNull(assetRenderer.getUrlTitle())) { if (assetRenderer.getGroupId() != scopeGroupId) { viewFullContentURL.setParameter("groupId", String.valueOf(assetRenderer.getGroupId())); } viewFullContentURL.setParameter("urlTitle", assetRenderer.getUrlTitle()); } String summary = StringUtil.shorten(assetRenderer.getSummary(), abstractLength); String viewURL = viewInContext ? assetRenderer.getURLViewInContext((LiferayPortletRequest) renderRequest, (LiferayPortletResponse) renderResponse, viewFullContentURL.toString()) : viewFullContentURL.toString(); String viewURLMessage = viewInContext ? assetRenderer.getViewInContextMessage() : "read-more-x-about-x"; viewURL = _checkViewURL(viewURL, currentURL, themeDisplay); out.write('\n'); out.write('\n'); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f0.setParent(null); // /html/portlet/asset_publisher/display/abstracts.jsp(59,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fif_005f0.setTest(show && assetRenderer.hasViewPermission(permissionChecker)); int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag(); if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t<div class=\"asset-abstract\">\n"); out.write("\t\t"); if (_jspx_meth_liferay_002dutil_005finclude_005f0(_jspx_th_c_005fif_005f0, _jspx_page_context)) return; out.write("\n"); out.write("\n"); out.write("\t\t<h3 class=\"asset-title\">\n"); out.write("\t\t\t"); // c:choose org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f0 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose .get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class); _jspx_th_c_005fchoose_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fchoose_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0); int _jspx_eval_c_005fchoose_005f0 = _jspx_th_c_005fchoose_005f0.doStartTag(); if (_jspx_eval_c_005fchoose_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t"); // c:when org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f0 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class); _jspx_th_c_005fwhen_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fwhen_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0); // /html/portlet/asset_publisher/display/abstracts.jsp(65,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fwhen_005f0.setTest(Validator.isNotNull(viewURL)); int _jspx_eval_c_005fwhen_005f0 = _jspx_th_c_005fwhen_005f0.doStartTag(); if (_jspx_eval_c_005fwhen_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t<a href=\""); out.print(viewURL); out.write("\"><img alt=\"\" src=\""); out.print(assetRendererFactory.getIconPath(renderRequest)); out.write("\" /> "); out.print(HtmlUtil.escape(title)); out.write("</a>\n"); out.write("\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fwhen_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fwhen_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f0); return; } _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f0); out.write("\n"); out.write("\t\t\t\t"); // c:otherwise org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f0 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise .get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class); _jspx_th_c_005fotherwise_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fotherwise_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0); int _jspx_eval_c_005fotherwise_005f0 = _jspx_th_c_005fotherwise_005f0.doStartTag(); if (_jspx_eval_c_005fotherwise_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t<img src=\""); out.print(assetRendererFactory.getIconPath(renderRequest)); out.write("\" alt=\"\" /> "); out.print(HtmlUtil.escape(title)); out.write("\n"); out.write("\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fotherwise_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fotherwise_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0); return; } _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0); out.write("\n"); out.write("\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fchoose_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fchoose_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0); return; } _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0); out.write("\n"); out.write("\t\t</h3>\n"); out.write("\n"); out.write("\t\t<div class=\"asset-content\">\n"); out.write("\t\t\t<div class=\"asset-summary\">\n"); out.write("\n"); out.write("\t\t\t\t"); String path = assetRenderer.render(renderRequest, renderResponse, AssetRenderer.TEMPLATE_ABSTRACT); request.setAttribute(WebKeys.ASSET_RENDERER, assetRenderer); request.setAttribute(WebKeys.ASSET_PUBLISHER_ABSTRACT_LENGTH, abstractLength); out.write("\n"); out.write("\n"); out.write("\t\t\t\t"); // c:choose org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f1 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose .get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class); _jspx_th_c_005fchoose_005f1.setPageContext(_jspx_page_context); _jspx_th_c_005fchoose_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0); int _jspx_eval_c_005fchoose_005f1 = _jspx_th_c_005fchoose_005f1.doStartTag(); if (_jspx_eval_c_005fchoose_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t"); // c:when org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f1 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class); _jspx_th_c_005fwhen_005f1.setPageContext(_jspx_page_context); _jspx_th_c_005fwhen_005f1 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1); // /html/portlet/asset_publisher/display/abstracts.jsp(85,5) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fwhen_005f1.setTest(path == null); int _jspx_eval_c_005fwhen_005f1 = _jspx_th_c_005fwhen_005f1.doStartTag(); if (_jspx_eval_c_005fwhen_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t\t"); out.print(HtmlUtil.escape(summary)); out.write("\n"); out.write("\t\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fwhen_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fwhen_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f1); return; } _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f1); out.write("\n"); out.write("\t\t\t\t\t"); // c:otherwise org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f1 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise .get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class); _jspx_th_c_005fotherwise_005f1.setPageContext(_jspx_page_context); _jspx_th_c_005fotherwise_005f1 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1); int _jspx_eval_c_005fotherwise_005f1 = _jspx_th_c_005fotherwise_005f1.doStartTag(); if (_jspx_eval_c_005fotherwise_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t\t"); // liferay-util:include com.liferay.taglib.util.IncludeTag _jspx_th_liferay_002dutil_005finclude_005f1 = (com.liferay.taglib.util.IncludeTag) _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fportletId_005fpage_005fnobody .get(com.liferay.taglib.util.IncludeTag.class); _jspx_th_liferay_002dutil_005finclude_005f1.setPageContext(_jspx_page_context); _jspx_th_liferay_002dutil_005finclude_005f1.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fotherwise_005f1); // /html/portlet/asset_publisher/display/abstracts.jsp(89,6) name = page type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dutil_005finclude_005f1.setPage(path); // /html/portlet/asset_publisher/display/abstracts.jsp(89,6) name = portletId type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dutil_005finclude_005f1 .setPortletId(assetRendererFactory.getPortletId()); int _jspx_eval_liferay_002dutil_005finclude_005f1 = _jspx_th_liferay_002dutil_005finclude_005f1 .doStartTag(); if (_jspx_th_liferay_002dutil_005finclude_005f1 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fportletId_005fpage_005fnobody .reuse(_jspx_th_liferay_002dutil_005finclude_005f1); return; } _005fjspx_005ftagPool_005fliferay_002dutil_005finclude_0026_005fportletId_005fpage_005fnobody .reuse(_jspx_th_liferay_002dutil_005finclude_005f1); out.write("\n"); out.write("\t\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fotherwise_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fotherwise_005f1 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f1); return; } _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f1); out.write("\n"); out.write("\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fchoose_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fchoose_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f1); return; } _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f1); out.write("\n"); out.write("\t\t\t</div>\n"); out.write("\n"); out.write("\t\t\t"); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0); // /html/portlet/asset_publisher/display/abstracts.jsp(94,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fif_005f1.setTest(Validator.isNotNull(viewURL)); int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag(); if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t<div class=\"asset-more\">\n"); out.write("\t\t\t\t\t<a href=\""); out.print(viewURL); out.write('"'); out.write('>'); // liferay-ui:message com.liferay.taglib.ui.MessageTag _jspx_th_liferay_002dui_005fmessage_005f0 = (com.liferay.taglib.ui.MessageTag) _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005farguments_005fnobody .get(com.liferay.taglib.ui.MessageTag.class); _jspx_th_liferay_002dui_005fmessage_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fmessage_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1); // /html/portlet/asset_publisher/display/abstracts.jsp(96,30) name = arguments type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fmessage_005f0.setArguments(new Object[] { "aui-helper-hidden-accessible", HtmlUtil.escape(assetRenderer.getTitle()) }); // /html/portlet/asset_publisher/display/abstracts.jsp(96,30) name = key type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fmessage_005f0.setKey(viewURLMessage); int _jspx_eval_liferay_002dui_005fmessage_005f0 = _jspx_th_liferay_002dui_005fmessage_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005fmessage_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005farguments_005fnobody .reuse(_jspx_th_liferay_002dui_005fmessage_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005farguments_005fnobody .reuse(_jspx_th_liferay_002dui_005fmessage_005f0); out.write(" » </a>\n"); out.write("\t\t\t\t</div>\n"); out.write("\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1); out.write("\n"); out.write("\t\t</div>\n"); out.write("\n"); out.write("\t\t<div class=\"asset-metadata\">\n"); out.write("\t\t\t"); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); boolean previous = false; for (int j = 0; j < metadataFields.length; j++) { String value = null; if (metadataFields[j].equals("create-date")) { value = dateFormatDate.format(assetEntry.getCreateDate()); } else if (metadataFields[j].equals("modified-date")) { value = dateFormatDate.format(assetEntry.getModifiedDate()); } else if (metadataFields[j].equals("publish-date")) { if (assetEntry.getPublishDate() == null) { value = StringPool.BLANK; } else { value = dateFormatDate.format(assetEntry.getPublishDate()); } } else if (metadataFields[j].equals("expiration-date")) { if (assetEntry.getExpirationDate() == null) { value = StringPool.BLANK; } else { value = dateFormatDate.format(assetEntry.getExpirationDate()); } } else if (metadataFields[j].equals("priority")) { value = LanguageUtil.get(pageContext, "priority") + StringPool.COLON + StringPool.SPACE + assetEntry.getPriority(); } else if (metadataFields[j].equals("author")) { value = LanguageUtil.get(pageContext, "by") + StringPool.SPACE + HtmlUtil.escape(assetEntry.getUserName()); } else if (metadataFields[j].equals("view-count")) { int viewCount = assetEntry.getViewCount(); value = viewCount + StringPool.SPACE + LanguageUtil.get(pageContext, (viewCount == 1) ? "view" : "views"); } else if (metadataFields[j].equals("categories")) { value = "categories"; } else if (metadataFields[j].equals("tags")) { value = "tags"; } if (Validator.isNotNull(value)) { boolean hasCategoriesOrTags = !(value.equals("categories") && assetEntry.getCategories().isEmpty()) && !(value.equals("tags") && assetEntry.getTags().isEmpty()); if (previous && hasCategoriesOrTags) { out.write("\n"); out.write("\n"); out.write("\t\t\t<span class=\"vertical-separator\"><!-- --></span>\n"); out.write("\n"); } if (previous || hasCategoriesOrTags) { previous = true; } out.write("\n"); out.write("\n"); out.write("\t\t<span class=\"metadata-entry "); out.print("metadata-" + metadataFields[j]); out.write("\">\n"); out.write("\t\t\t"); // c:choose org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f2 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose .get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class); _jspx_th_c_005fchoose_005f2.setPageContext(_jspx_page_context); _jspx_th_c_005fchoose_005f2 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0); int _jspx_eval_c_005fchoose_005f2 = _jspx_th_c_005fchoose_005f2.doStartTag(); if (_jspx_eval_c_005fchoose_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t"); // c:when org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f2 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class); _jspx_th_c_005fwhen_005f2.setPageContext(_jspx_page_context); _jspx_th_c_005fwhen_005f2 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2); // /html/portlet/asset_publisher/asset_metadata.jspf(81,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fwhen_005f2.setTest(value.equals("categories")); int _jspx_eval_c_005fwhen_005f2 = _jspx_th_c_005fwhen_005f2.doStartTag(); if (_jspx_eval_c_005fwhen_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t"); // liferay-ui:asset-categories-summary com.liferay.taglib.ui.AssetCategoriesSummaryTag _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 = (com.liferay.taglib.ui.AssetCategoriesSummaryTag) _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dcategories_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody .get(com.liferay.taglib.ui.AssetCategoriesSummaryTag.class); _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 .setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f2); // /html/portlet/asset_publisher/asset_metadata.jspf(82,5) name = className type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 .setClassName(assetEntry.getClassName()); // /html/portlet/asset_publisher/asset_metadata.jspf(82,5) name = classPK type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 .setClassPK(assetEntry.getClassPK()); // /html/portlet/asset_publisher/asset_metadata.jspf(82,5) name = portletURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 .setPortletURL(selectionStyle.equals("manual") ? null : renderResponse.createRenderURL()); int _jspx_eval_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 = _jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dcategories_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody .reuse(_jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dcategories_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody .reuse(_jspx_th_liferay_002dui_005fasset_002dcategories_002dsummary_005f0); out.write("\n"); out.write("\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fwhen_005f2.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fwhen_005f2 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .reuse(_jspx_th_c_005fwhen_005f2); return; } _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .reuse(_jspx_th_c_005fwhen_005f2); out.write("\n"); out.write("\t\t\t\t"); // c:when org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f3 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class); _jspx_th_c_005fwhen_005f3.setPageContext(_jspx_page_context); _jspx_th_c_005fwhen_005f3 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2); // /html/portlet/asset_publisher/asset_metadata.jspf(88,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fwhen_005f3.setTest(value.equals("tags")); int _jspx_eval_c_005fwhen_005f3 = _jspx_th_c_005fwhen_005f3.doStartTag(); if (_jspx_eval_c_005fwhen_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t"); // liferay-ui:asset-tags-summary com.liferay.taglib.ui.AssetTagsSummaryTag _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0 = (com.liferay.taglib.ui.AssetTagsSummaryTag) _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody .get(com.liferay.taglib.ui.AssetTagsSummaryTag.class); _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0 .setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f3); // /html/portlet/asset_publisher/asset_metadata.jspf(89,5) name = className type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0 .setClassName(assetEntry.getClassName()); // /html/portlet/asset_publisher/asset_metadata.jspf(89,5) name = classPK type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0 .setClassPK(assetEntry.getClassPK()); // /html/portlet/asset_publisher/asset_metadata.jspf(89,5) name = portletURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0 .setPortletURL(selectionStyle.equals("manual") ? null : renderResponse.createRenderURL()); int _jspx_eval_liferay_002dui_005fasset_002dtags_002dsummary_005f0 = _jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody .reuse(_jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dsummary_0026_005fportletURL_005fclassPK_005fclassName_005fnobody .reuse(_jspx_th_liferay_002dui_005fasset_002dtags_002dsummary_005f0); out.write("\n"); out.write("\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fwhen_005f3.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fwhen_005f3 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .reuse(_jspx_th_c_005fwhen_005f3); return; } _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest .reuse(_jspx_th_c_005fwhen_005f3); out.write("\n"); out.write("\t\t\t\t"); // c:otherwise org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f2 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise .get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class); _jspx_th_c_005fotherwise_005f2.setPageContext(_jspx_page_context); _jspx_th_c_005fotherwise_005f2 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2); int _jspx_eval_c_005fotherwise_005f2 = _jspx_th_c_005fotherwise_005f2 .doStartTag(); if (_jspx_eval_c_005fotherwise_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t"); out.print(value); out.write("\n"); out.write("\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fotherwise_005f2.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fotherwise_005f2 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fotherwise .reuse(_jspx_th_c_005fotherwise_005f2); return; } _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f2); out.write("\n"); out.write("\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fchoose_005f2.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fchoose_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f2); return; } _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f2); out.write("\n"); out.write("\t\t</span>\n"); out.write("\n"); } } out.write("\n"); out.write("\t\t</div>\n"); out.write("\t</div>\n"); out.write("\n"); out.write("\t"); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0); // /html/portlet/asset_publisher/display/abstracts.jsp(106,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fif_005f2.setTest((assetEntryIndex + 1) == results.size()); int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag(); if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t<div class=\"final-separator\"><!-- --></div>\n"); out.write("\t"); int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2); out.write('\n'); int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.asset_005ftags_005fadmin.view_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;/* w ww. ja va 2 s . c o m*/ HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); // portlet:defineObjects com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .get(com.liferay.taglib.portlet.DefineObjectsTag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletConfig portletConfig = null; java.lang.String portletName = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context .findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context .findAttribute("resourceResponse"); out.write('\n'); out.write('\n'); WindowState windowState = null; PortletMode portletMode = null; PortletURL currentURLObj = null; if (renderRequest != null) { windowState = renderRequest.getWindowState(); portletMode = renderRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse); } else if (resourceRequest != null) { windowState = resourceRequest.getWindowState(); portletMode = resourceRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse); } String currentURL = currentURLObj.toString(); //String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); out.write('\n'); out.write("\n"); out.write("\n"); out.write("<form id=\""); if (_jspx_meth_portlet_005fnamespace_005f0(_jspx_page_context)) return; out.write("fm\">\n"); out.write("\n"); out.write("<table class=\"tags-admin-container\">\n"); out.write("<tr>\n"); out.write("\t<td colspan=\"3\">\n"); out.write("\t\t<div class=\"tags-admin-toolbar\">\n"); out.write("\t\t\t<span class=\"tags-admin-search-bar\">\n"); out.write("\t\t\t\t<input id=\"tags-admin-search-input\" type=\"text\" value=\"\" />\n"); out.write("\t\t\t</span>\n"); out.write("\n"); out.write("\t\t\t<span class=\"tags-admin-actions\">\n"); out.write("\t\t\t\t"); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f0.setParent(null); // /html/portlet/asset_tags_admin/view.jsp(30,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fif_005f0.setTest(AssetPermission.contains(permissionChecker, themeDisplay.getParentGroupId(), ActionKeys.ADD_TAG)); int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag(); if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write( "\t\t\t\t\t<input class=\"add-tag-button\" id=\"add-tag-button\" name=\"add-tag-button\" type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f0(_jspx_th_c_005fif_005f0, _jspx_page_context)) return; out.write("\">\n"); out.write("\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); out.write("\n"); out.write("\n"); out.write("\t\t\t\t"); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f1.setParent(null); // /html/portlet/asset_tags_admin/view.jsp(34,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fif_005f1.setTest(GroupPermissionUtil.contains(permissionChecker, themeDisplay.getParentGroupId(), ActionKeys.PERMISSIONS)); int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag(); if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write("\t\t\t\t\t"); // liferay-security:permissionsURL com.liferay.taglib.security.PermissionsURLTag _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 = (com.liferay.taglib.security.PermissionsURLTag) _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody .get(com.liferay.taglib.security.PermissionsURLTag.class); _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1); // /html/portlet/asset_tags_admin/view.jsp(35,5) name = modelResource type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 .setModelResource("com.liferay.portlet.asset"); // /html/portlet/asset_tags_admin/view.jsp(35,5) name = modelResourceDescription type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 .setModelResourceDescription(HtmlUtil.escape(themeDisplay.getParentGroupName())); // /html/portlet/asset_tags_admin/view.jsp(35,5) name = resourcePrimKey type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 .setResourcePrimKey(String.valueOf(themeDisplay.getParentGroupId())); // /html/portlet/asset_tags_admin/view.jsp(35,5) name = var type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0.setVar("permissionsURL"); int _jspx_eval_liferay_002dsecurity_005fpermissionsURL_005f0 = _jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 .doStartTag(); if (_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody .reuse(_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dsecurity_005fpermissionsURL_0026_005fvar_005fresourcePrimKey_005fmodelResourceDescription_005fmodelResource_005fnobody .reuse(_jspx_th_liferay_002dsecurity_005fpermissionsURL_005f0); java.lang.String permissionsURL = null; permissionsURL = (java.lang.String) _jspx_page_context.findAttribute("permissionsURL"); out.write("\n"); out.write("\n"); out.write("\t\t\t\t\t<input type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f1(_jspx_th_c_005fif_005f1, _jspx_page_context)) return; out.write("\" onClick=\"location.href = '"); out.print(permissionsURL); out.write("';\" />\n"); out.write("\t\t\t\t"); int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1); out.write("\n"); out.write("\n"); out.write("\t\t\t\t<div class=\"add-tag-layer-wrapper\">\n"); out.write("\t\t\t\t\t<div class=\"add-tag-layer\">\n"); out.write("\t\t\t\t\t\t<span class=\"aui-field\">\n"); out.write("\t\t\t\t\t\t\t<span class=\"aui-field-content\">\n"); out.write("\t\t\t\t\t\t\t\t<label class=\"tag-label\" for=\"new-tag-name\">\n"); out.write("\t\t\t\t\t\t\t\t\t"); if (_jspx_meth_liferay_002dui_005fmessage_005f2(_jspx_page_context)) return; out.write("\n"); out.write("\t\t\t\t\t\t\t\t</label>\n"); out.write("\n"); out.write( "\t\t\t\t\t\t\t\t<input class=\"new-tag-name\" id=\"new-tag-name\" name=\"new-tag-name\" type=\"text\" value=\"\" />\n"); out.write("\t\t\t\t\t\t\t</span>\n"); out.write("\t\t\t\t\t\t</span>\n"); out.write("\n"); out.write("\t\t\t\t\t\t<div class=\"tag-permissions-actions\">\n"); out.write("\t\t\t\t\t\t\t"); // liferay-ui:input-permissions com.liferay.taglib.ui.InputPermissionsTag _jspx_th_liferay_002dui_005finput_002dpermissions_005f0 = (com.liferay.taglib.ui.InputPermissionsTag) _005fjspx_005ftagPool_005fliferay_002dui_005finput_002dpermissions_0026_005fmodelName_005fnobody .get(com.liferay.taglib.ui.InputPermissionsTag.class); _jspx_th_liferay_002dui_005finput_002dpermissions_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005finput_002dpermissions_005f0.setParent(null); // /html/portlet/asset_tags_admin/view.jsp(58,7) name = modelName type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005finput_002dpermissions_005f0.setModelName(AssetTag.class.getName()); int _jspx_eval_liferay_002dui_005finput_002dpermissions_005f0 = _jspx_th_liferay_002dui_005finput_002dpermissions_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005finput_002dpermissions_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005finput_002dpermissions_0026_005fmodelName_005fnobody .reuse(_jspx_th_liferay_002dui_005finput_002dpermissions_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005finput_002dpermissions_0026_005fmodelName_005fnobody .reuse(_jspx_th_liferay_002dui_005finput_002dpermissions_005f0); out.write("\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\n"); out.write("\t\t\t\t\t\t<div class=\"aui-button-holder\">\n"); out.write("\t\t\t\t\t\t\t<input class=\"tag-save-button\" type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f3(_jspx_page_context)) return; out.write("\" />\n"); out.write("\n"); out.write("\t\t\t\t\t\t\t<input class=\"close-panel\" type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f4(_jspx_page_context)) return; out.write("\" />\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t</div>\n"); out.write("\t\t\t\t</div>\n"); out.write("\t\t\t</span>\n"); out.write("\t\t</div>\n"); out.write("\t</td>\n"); out.write("</tr>\n"); out.write("<tr class=\"tags-admin-content\">\n"); out.write("\t<td class=\"tag-container\">\n"); out.write("\t\t<div class=\"results-header\">\n"); out.write("\t\t\t"); if (_jspx_meth_liferay_002dui_005fmessage_005f5(_jspx_page_context)) return; out.write("\n"); out.write("\t\t</div>\n"); out.write("\n"); out.write( "\t\t<div class=\"lfr-message-response\" id=\"tag-messages\" style=\"display: none;\"></div>\n"); out.write("\n"); out.write("\t\t<div class=\"tags lfr-component\"></div>\n"); out.write("\t</td>\n"); out.write("\t<td class=\"aui-helper-hidden tag-edit-container\">\n"); out.write("\t\t<div class=\"results-header\">"); if (_jspx_meth_liferay_002dui_005fmessage_005f6(_jspx_page_context)) return; out.write("</div>\n"); out.write("\t\t<div class=\"tag-edit\">\n"); out.write("\t\t\t<div class=\"tag-close\">\n"); out.write("\t\t\t\t<span>\n"); out.write("\t\t\t\t\t"); if (_jspx_meth_liferay_002dui_005ficon_005f0(_jspx_page_context)) return; out.write("\n"); out.write("\t\t\t\t</span>\n"); out.write("\t\t\t</div>\n"); out.write("\n"); out.write("\t\t\t<div class=\"tag-label\">\n"); out.write("\t\t\t\t"); if (_jspx_meth_liferay_002dui_005fmessage_005f7(_jspx_page_context)) return; out.write(":\n"); out.write("\t\t\t</div>\n"); out.write("\n"); out.write("\t\t\t<input class=\"tag-name\" name=\"tag-name\" type=\"text\" />\n"); out.write("\n"); out.write("\t\t\t<br /><br />\n"); out.write("\n"); out.write("\t\t\t<div class=\"tag-properties\">\n"); out.write("\t\t\t\t"); if (_jspx_meth_liferay_002dui_005fmessage_005f8(_jspx_page_context)) return; out.write(":\n"); out.write("\n"); out.write("\t\t\t\t"); if (_jspx_meth_liferay_002dui_005ficon_002dhelp_005f0(_jspx_page_context)) return; out.write("\n"); out.write("\n"); out.write("\t\t\t\t<div class=\"aui-helper-hidden tag-property-row\">\n"); out.write("\t\t\t\t\t<input class=\"property-key\" type=\"text\" />\n"); out.write("\n"); out.write("\t\t\t\t\t<input class=\"property-value\" type=\"text\" />\n"); out.write("\n"); out.write("\t\t\t\t\t<span class=\"add-property\">\n"); out.write("\t\t\t\t\t\t"); if (_jspx_meth_liferay_002dui_005ficon_005f1(_jspx_page_context)) return; out.write("\n"); out.write("\t\t\t\t\t</span>\n"); out.write("\n"); out.write("\t\t\t\t\t<span class=\"delete-property\">\n"); out.write("\t\t\t\t\t\t"); if (_jspx_meth_liferay_002dui_005ficon_005f2(_jspx_page_context)) return; out.write("\n"); out.write("\t\t\t\t\t</span>\n"); out.write("\t\t\t\t</div>\n"); out.write("\n"); out.write("\t\t\t\t<br />\n"); out.write("\n"); out.write("\t\t\t\t<input class=\"tag-save-properties\" type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f9(_jspx_page_context)) return; out.write("\" />\n"); out.write("\n"); out.write("\t\t\t\t<input class=\"tag-close\" type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f10(_jspx_page_context)) return; out.write("\" />\n"); out.write("\n"); out.write("\t\t\t\t<input class=\"tag-delete-button\" type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f11(_jspx_page_context)) return; out.write("\" />\n"); out.write("\n"); out.write("\t\t\t\t<input class=\"tag-permissions-button\" type=\"button\" value=\""); if (_jspx_meth_liferay_002dui_005fmessage_005f12(_jspx_page_context)) return; out.write("\" />\n"); out.write("\t\t\t</div>\n"); out.write("\t\t</div>\n"); out.write("\t</td>\n"); out.write("</tr>\n"); out.write("</table>\n"); out.write("\n"); out.write("</form>\n"); out.write("\n"); // aui:script com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f0 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse .get(com.liferay.taglib.aui.ScriptTag.class); _jspx_th_aui_005fscript_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005fscript_005f0.setParent(null); // /html/portlet/asset_tags_admin/view.jsp(145,0) name = use type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fscript_005f0.setUse("liferay-tags-admin"); int _jspx_eval_aui_005fscript_005f0 = _jspx_th_aui_005fscript_005f0.doStartTag(); if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_aui_005fscript_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_aui_005fscript_005f0.doInitBody(); } do { out.write("\n"); out.write("\tnew Liferay.Portlet.AssetTagsAdmin('"); out.print(portletDisplay.getId()); out.write("');\n"); int evalDoAfterBody = _jspx_th_aui_005fscript_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_aui_005fscript_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f0); return; } _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.asset_005ftags_005fnavigation.view_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;//from w ww .ja va2s . com HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; 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"); PortletPreferences preferences = renderRequest.getPreferences(); String portletResource = ParamUtil.getString(request, "portletResource"); if (Validator.isNotNull(portletResource)) { preferences = PortletPreferencesFactoryUtil.getPortletSetup(request, portletResource); } long classNameId = PrefsParamUtil.getLong(preferences, request, "classNameId"); String displayStyle = PrefsParamUtil.getString(preferences, request, "displayStyle", "cloud"); boolean showAssetCount = PrefsParamUtil.getBoolean(preferences, request, "showAssetCount"); boolean showZeroAssetCount = PrefsParamUtil.getBoolean(preferences, request, "showZeroAssetCount"); out.write('\n'); out.write('\n'); // liferay-ui:asset-tags-navigation com.liferay.taglib.ui.AssetTagsNavigationTag _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0 = (com.liferay.taglib.ui.AssetTagsNavigationTag) _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dnavigation_0026_005fshowZeroAssetCount_005fshowAssetCount_005fhidePortletWhenEmpty_005fdisplayStyle_005fclassNameId_005fnobody .get(com.liferay.taglib.ui.AssetTagsNavigationTag.class); _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0.setParent(null); // /html/portlet/asset_tags_navigation/view.jsp(19,0) name = classNameId type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0.setClassNameId(classNameId); // /html/portlet/asset_tags_navigation/view.jsp(19,0) name = displayStyle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0.setDisplayStyle(displayStyle); // /html/portlet/asset_tags_navigation/view.jsp(19,0) name = hidePortletWhenEmpty type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0.setHidePortletWhenEmpty(true); // /html/portlet/asset_tags_navigation/view.jsp(19,0) name = showAssetCount type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0.setShowAssetCount(showAssetCount); // /html/portlet/asset_tags_navigation/view.jsp(19,0) name = showZeroAssetCount type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0 .setShowZeroAssetCount(showZeroAssetCount); int _jspx_eval_liferay_002dui_005fasset_002dtags_002dnavigation_005f0 = _jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dnavigation_0026_005fshowZeroAssetCount_005fshowAssetCount_005fhidePortletWhenEmpty_005fdisplayStyle_005fclassNameId_005fnobody .reuse(_jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fasset_002dtags_002dnavigation_0026_005fshowZeroAssetCount_005fshowAssetCount_005fhidePortletWhenEmpty_005fdisplayStyle_005fclassNameId_005fnobody .reuse(_jspx_th_liferay_002dui_005fasset_002dtags_002dnavigation_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.breadcrumb.view_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;/*from w w w. j a v a2s .com*/ HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; 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'); PortletPreferences preferences = renderRequest.getPreferences(); String portletResource = ParamUtil.getString(request, "portletResource"); if (Validator.isNotNull(portletResource)) { preferences = PortletPreferencesFactoryUtil.getPortletSetup(request, portletResource); } int displayStyle = GetterUtil.getInteger(preferences.getValue("display-style", StringPool.BLANK)); out.write('\n'); out.write('\n'); // liferay-ui:breadcrumb com.liferay.taglib.ui.BreadcrumbTag _jspx_th_liferay_002dui_005fbreadcrumb_005f0 = (com.liferay.taglib.ui.BreadcrumbTag) _005fjspx_005ftagPool_005fliferay_002dui_005fbreadcrumb_0026_005fdisplayStyle_005fnobody .get(com.liferay.taglib.ui.BreadcrumbTag.class); _jspx_th_liferay_002dui_005fbreadcrumb_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fbreadcrumb_005f0.setParent(null); // /html/portlet/breadcrumb/view.jsp(19,0) name = displayStyle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005fbreadcrumb_005f0.setDisplayStyle(displayStyle); int _jspx_eval_liferay_002dui_005fbreadcrumb_005f0 = _jspx_th_liferay_002dui_005fbreadcrumb_005f0 .doStartTag(); if (_jspx_th_liferay_002dui_005fbreadcrumb_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fbreadcrumb_0026_005fdisplayStyle_005fnobody .reuse(_jspx_th_liferay_002dui_005fbreadcrumb_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fbreadcrumb_0026_005fdisplayStyle_005fnobody .reuse(_jspx_th_liferay_002dui_005fbreadcrumb_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.calendar.tabs1_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 2 s .c o m*/ HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); // portlet:defineObjects com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .get(com.liferay.taglib.portlet.DefineObjectsTag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletConfig portletConfig = null; java.lang.String portletName = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context .findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context .findAttribute("resourceResponse"); out.write('\n'); out.write('\n'); WindowState windowState = null; PortletMode portletMode = null; PortletURL currentURLObj = null; if (renderRequest != null) { windowState = renderRequest.getWindowState(); portletMode = renderRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse); } else if (resourceRequest != null) { windowState = resourceRequest.getWindowState(); portletMode = resourceRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse); } String currentURL = currentURLObj.toString(); //String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); PortletPreferences preferences = renderRequest.getPreferences(); String portletResource = ParamUtil.getString(request, "portletResource"); if (Validator.isNotNull(portletResource)) { preferences = PortletPreferencesFactoryUtil.getPortletSetup(request, portletResource); } String tabs1Names = "summary,day,week,month,year,events"; if (CalendarPermission.contains(permissionChecker, scopeGroupId, ActionKeys.EXPORT_ALL_EVENTS) || CalendarPermission.contains(permissionChecker, scopeGroupId, ActionKeys.ADD_EVENT)) { tabs1Names += ",export-import"; } String[] tabs1NamesArray = StringUtil.split(tabs1Names); String tabs1Default = preferences.getValue("tabs1-default", tabs1NamesArray[0]); String summaryTabOrientation = preferences.getValue("summary-tab-orientation", "horizontal"); boolean summaryTabShowMiniMonth = GetterUtil .getBoolean(preferences.getValue("summary-tab-show-mini-month", "true")); boolean summaryTabShowTodaysEvents = GetterUtil .getBoolean(preferences.getValue("summary-tab-show-todays-events", "true")); boolean enableComments = PropsValues.CALENDAR_EVENT_COMMENTS_ENABLED && GetterUtil.getBoolean(preferences.getValue("enable-comments", null), true); String monthParam = request.getParameter("month"); String dayParam = request.getParameter("day"); String yearParam = request.getParameter("year"); Calendar selCal = CalendarFactoryUtil.getCalendar(timeZone, locale); try { selCal.set(Calendar.YEAR, Integer.parseInt(yearParam)); } catch (NumberFormatException nfe) { } try { if (dayParam != null) { selCal.set(Calendar.DATE, 1); } selCal.set(Calendar.MONTH, Integer.parseInt(monthParam)); } catch (NumberFormatException nfe) { } try { int maxDayOfMonth = selCal.getActualMaximum(Calendar.DATE); int dayParamInt = Integer.parseInt(dayParam); if (dayParamInt > maxDayOfMonth) { dayParamInt = maxDayOfMonth; } selCal.set(Calendar.DATE, dayParamInt); } catch (NumberFormatException nfe) { } int selMonth = selCal.get(Calendar.MONTH); int selDay = selCal.get(Calendar.DATE); int selYear = selCal.get(Calendar.YEAR); Calendar curCal = CalendarFactoryUtil.getCalendar(timeZone, locale); int curMonth = curCal.get(Calendar.MONTH); int curDay = curCal.get(Calendar.DATE); int curYear = curCal.get(Calendar.YEAR); int[] monthIds = CalendarUtil.getMonthIds(); String[] months = CalendarUtil.getMonths(locale); String[] days = CalendarUtil.getDays(locale); Format dateFormatDate = FastDateFormatFactoryUtil.getDate(locale); Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale); Format dateFormatTime = FastDateFormatFactoryUtil.getTime(locale); DateFormat dateFormatISO8601 = DateUtil.getISO8601Format(); 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'); String tabs1 = ParamUtil.getString(request, "tabs1", tabs1Default); PortletURL tabs1URL = renderResponse.createRenderURL(); tabs1URL.setParameter("struts_action", "/calendar/view"); tabs1URL.setParameter("month", String.valueOf(selMonth)); tabs1URL.setParameter("day", String.valueOf(selDay)); tabs1URL.setParameter("year", String.valueOf(selYear)); out.write('\n'); out.write('\n'); // liferay-ui:tabs com.liferay.taglib.ui.TabsTag _jspx_th_liferay_002dui_005ftabs_005f0 = (com.liferay.taglib.ui.TabsTag) _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005fvalue_005furl_005fnames_005fnobody .get(com.liferay.taglib.ui.TabsTag.class); _jspx_th_liferay_002dui_005ftabs_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005ftabs_005f0.setParent(null); // /html/portlet/calendar/tabs1.jsp(30,0) name = names type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setNames(tabs1Names); // /html/portlet/calendar/tabs1.jsp(30,0) name = url type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setUrl(tabs1URL.toString()); // /html/portlet/calendar/tabs1.jsp(30,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setValue(tabs1); int _jspx_eval_liferay_002dui_005ftabs_005f0 = _jspx_th_liferay_002dui_005ftabs_005f0.doStartTag(); if (_jspx_th_liferay_002dui_005ftabs_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005fvalue_005furl_005fnames_005fnobody .reuse(_jspx_th_liferay_002dui_005ftabs_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005fvalue_005furl_005fnames_005fnobody .reuse(_jspx_th_liferay_002dui_005ftabs_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.communities.tree_005fjs_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;//from w ww .j a v a 2 s.c o m HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); // portlet:defineObjects com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .get(com.liferay.taglib.portlet.DefineObjectsTag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletConfig portletConfig = null; java.lang.String portletName = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context .findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context .findAttribute("resourceResponse"); out.write('\n'); out.write('\n'); WindowState windowState = null; PortletMode portletMode = null; PortletURL currentURLObj = null; if (renderRequest != null) { windowState = renderRequest.getWindowState(); portletMode = renderRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse); } else if (resourceRequest != null) { windowState = resourceRequest.getWindowState(); portletMode = resourceRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse); } String currentURL = currentURLObj.toString(); //String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); Format dateFormatDate = FastDateFormatFactoryUtil.getDate(locale, timeZone); Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale, timeZone); out.write('\n'); out.write('\n'); long groupId = ((Long) request.getAttribute("edit_pages.jsp-groupId")).longValue(); long selPlid = ((Long) request.getAttribute("edit_pages.jsp-selPlid")).longValue(); boolean privateLayout = ((Boolean) request.getAttribute("edit_pages.jsp-privateLayout")).booleanValue(); String rootNodeName = (String) request.getAttribute("edit_pages.jsp-rootNodeName"); boolean selectableTree = ParamUtil.getBoolean(request, "selectableTree"); String treeId = ParamUtil.getString(request, "treeId"); PortletURL portletURL = (PortletURL) request.getAttribute("edit_pages.jsp-portletURL"); out.write("\n"); out.write("\n"); out.write("<div class=\"lfr-tree-loading\" id=\""); if (_jspx_meth_portlet_005fnamespace_005f0(_jspx_page_context)) return; out.write("treeLoading\">\n"); out.write("\t<span class=\"aui-icon aui-icon-loading lfr-tree-loading-icon\"></span>\n"); out.write("</div>\n"); out.write("\n"); out.write("<div class=\"lfr-tree\" id=\""); if (_jspx_meth_portlet_005fnamespace_005f1(_jspx_page_context)) return; out.print(HtmlUtil.escape(treeId)); out.write("Output\"></div>\n"); out.write("\n"); // aui:script com.liferay.taglib.aui.ScriptTag _jspx_th_aui_005fscript_005f0 = (com.liferay.taglib.aui.ScriptTag) _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse .get(com.liferay.taglib.aui.ScriptTag.class); _jspx_th_aui_005fscript_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005fscript_005f0.setParent(null); // /html/portlet/communities/tree_js.jsp(38,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-io-request,aui-tree-view,dataschema-xml,datatype-xml"); int _jspx_eval_aui_005fscript_005f0 = _jspx_th_aui_005fscript_005f0.doStartTag(); if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_aui_005fscript_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_aui_005fscript_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_aui_005fscript_005f0.doInitBody(); } do { out.write("\n"); out.write("\tvar TreeUtil = {\n"); out.write("\t\tDEFAULT_PARENT_LAYOUT_ID: "); out.print(LayoutConstants.DEFAULT_PARENT_LAYOUT_ID); out.write(",\n"); out.write("\t\tOPEN_NODES: '"); out.print(SessionTreeJSClicks.getOpenNodes(request, treeId)); out.write("'.split(','),\n"); out.write("\t\tPREFIX_LAYOUT_ID: '_layoutId_',\n"); out.write("\t\tPREFIX_PLID: '_plid_',\n"); out.write("\t\tSELECTED_NODES: '"); out.print(SessionTreeJSClicks.getOpenNodes(request, treeId + "SelectedNode")); out.write("'.split(','),\n"); out.write("\n"); out.write("\t\tafterRenderTree: function(event) {\n"); out.write("\t\t\tvar treeInstance = event.target;\n"); out.write("\n"); out.write("\t\t\tvar rootNode = treeInstance.item(0);\n"); out.write("\t\t\tvar loadingEl = A.one('#"); if (_jspx_meth_portlet_005fnamespace_005f2(_jspx_th_aui_005fscript_005f0, _jspx_page_context)) return; out.write("treeLoading');\n"); out.write("\n"); out.write("\t\t\tloadingEl.hide();\n"); out.write("\n"); out.write("\t\t\tTreeUtil.restoreNodeState(rootNode);\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\tcreateId: function(layoutId, plid) {\n"); out.write("\t\t\treturn '"); out.print(HtmlUtil.escape(treeId)); out.write("' + TreeUtil.PREFIX_LAYOUT_ID + layoutId + TreeUtil.PREFIX_PLID + plid;\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\tcreateLink: function(label, plid) {\n"); out.write("\t\t\treturn '<a href=\""); out.print(portletURL + StringPool.AMPERSAND + portletDisplay.getNamespace() + "selPlid="); out.write("'+ plid +'\">'+ Liferay.Util.escapeHTML(label) +'</a>';\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\textractLayoutId: function(node) {\n"); out.write("\t\t\treturn node.get('id').match(/layoutId_(\\d+)/)[1];\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\textractPlid: function(node) {\n"); out.write("\t\t\treturn node.get('id').match(/plid_(\\d+)/)[1];\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\tformatJSONResults: function(json) {\n"); out.write("\t\t\tvar output = [];\n"); out.write("\n"); out.write("\t\t\tA.each(\n"); out.write("\t\t\t\tjson,\n"); out.write("\t\t\t\tfunction(node) {\n"); out.write("\t\t\t\t\tvar nameXML = A.DataType.XML.parse(node.name);\n"); out.write("\n"); out.write("\t\t\t\t\tvar schema = {\n"); out.write("\t\t\t\t\t\tresultListLocator: 'root',\n"); out.write("\t\t\t\t\t\tresultFields: [\n"); out.write("\t\t\t\t\t\t\t{\n"); out.write("\t\t\t\t\t\t\t\tkey: 'label',\n"); out.write("\t\t\t\t\t\t\t\tlocator: 'name'\n"); out.write("\t\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t\t]\n"); out.write("\t\t\t\t\t};\n"); out.write("\n"); out.write("\t\t\t\t\tvar nodeBase = A.DataSchema.XML.apply(schema, nameXML).results[0];\n"); out.write("\n"); out.write("\t\t\t\t\tvar newNode = A.mix(\n"); out.write("\t\t\t\t\t\tnodeBase,\n"); out.write("\t\t\t\t\t\t{\n"); out.write("\t\t\t\t\t\t\tafter: {\n"); out.write("\t\t\t\t\t\t\t\tcheck: function(event) {\n"); out.write("\t\t\t\t\t\t\t\t\tvar plid = TreeUtil.extractPlid(event.target);\n"); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\tTreeUtil.updateSessionTreeClick(plid, true, '"); out.print(HtmlUtil.escape(treeId)); out.write("SelectedNode');\n"); out.write("\t\t\t\t\t\t\t\t},\n"); out.write("\t\t\t\t\t\t\t\tuncheck: function(event) {\n"); out.write("\t\t\t\t\t\t\t\t\tvar plid = TreeUtil.extractPlid(event.target);\n"); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\tTreeUtil.updateSessionTreeClick(plid, false, '"); out.print(HtmlUtil.escape(treeId)); out.write("SelectedNode');\n"); out.write("\t\t\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t\t\t},\n"); out.write("\t\t\t\t\t\t\talwaysShowHitArea: node.hasChildren,\n"); out.write("\t\t\t\t\t\t\tid: TreeUtil.createId(node.layoutId, node.plid),\n"); out.write("\t\t\t\t\t\t\ttype: '"); out.print(selectableTree ? "task" : "io"); out.write("'\n"); out.write("\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t);\n"); out.write("\n"); out.write("\t\t\t\t\tif (!"); out.print(selectableTree); out.write(") {\n"); out.write("\t\t\t\t\t\tnewNode.label = TreeUtil.createLink(newNode.label, node.plid);\n"); out.write("\t\t\t\t\t}\n"); out.write("\n"); out.write("\t\t\t\t\toutput.push(newNode);\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t);\n"); out.write("\n"); out.write("\t\t\treturn output;\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\trestoreNodeState: function(node) {\n"); out.write("\t\t\tvar instance = this;\n"); out.write("\n"); out.write("\t\t\tvar id = node.get('id');\n"); out.write("\t\t\tvar plid = TreeUtil.extractPlid(node);\n"); out.write("\n"); out.write("\t\t\tif (plid == '"); out.print(selPlid); out.write("') {\n"); out.write("\t\t\t\tnode.select();\n"); out.write("\t\t\t}\n"); out.write("\n"); out.write("\t\t\tif (A.Array.indexOf(TreeUtil.OPEN_NODES, id) > -1) {\n"); out.write("\t\t\t\tnode.expand();\n"); out.write("\t\t\t}\n"); out.write("\n"); out.write("\t\t\tif (A.Array.indexOf(TreeUtil.SELECTED_NODES, plid) > -1) {\n"); out.write("\t\t\t\tif (node.check) {\n"); out.write("\t\t\t\t\tnode.check();\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t}\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\tupdateLayout: function(data) {\n"); out.write( "\t\t\tvar updateURL = themeDisplay.getPathMain() + '/layout_management/update_page';\n"); out.write("\n"); out.write("\t\t\tA.io.request(\n"); out.write("\t\t\t\tupdateURL,\n"); out.write("\t\t\t\t{\n"); out.write("\t\t\t\t\tdata: data\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t);\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\tupdateLayoutParent: function(dragPlid, dropPlid) {\n"); out.write("\t\t\tTreeUtil.updateLayout(\n"); out.write("\t\t\t\t{\n"); out.write("\t\t\t\t\tcmd: 'parent_layout_id',\n"); out.write("\t\t\t\t\tparentPlid: dropPlid,\n"); out.write("\t\t\t\t\tplid: dragPlid\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t);\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\tupdateLayoutPriority: function(dragPlid, index) {\n"); out.write("\t\t\tTreeUtil.updateLayout(\n"); out.write("\t\t\t\t{\n"); out.write("\t\t\t\t\tcmd: 'priority',\n"); out.write("\t\t\t\t\tplid: dragPlid,\n"); out.write("\t\t\t\t\tpriority: index\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t);\n"); out.write("\t\t},\n"); out.write("\n"); out.write("\t\tupdateSessionTreeClick: function(id, open, treeId) {\n"); out.write( "\t\t\tvar sessionClickURL = themeDisplay.getPathMain() + '/portal/session_tree_js_click';\n"); out.write("\n"); out.write("\t\t\tvar data = {\n"); out.write("\t\t\t\tnodeId: id,\n"); out.write("\t\t\t\topenNode: open || false,\n"); out.write("\t\t\t\ttreeId: treeId\n"); out.write("\t\t\t};\n"); out.write("\n"); out.write("\t\t\tA.io.request(\n"); out.write("\t\t\t\tsessionClickURL,\n"); out.write("\t\t\t\t{\n"); out.write("\t\t\t\t\tdata: data\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t);\n"); out.write("\t\t}\n"); out.write("\t};\n"); out.write("\n"); out.write( "\tvar getLayoutsURL = themeDisplay.getPathMain() + '/layout_management/get_layouts';\n"); out.write("\tvar rootId = TreeUtil.createId(TreeUtil.DEFAULT_PARENT_LAYOUT_ID, 0);\n"); out.write("\tvar rootLabel = '"); out.print(HtmlUtil.escape(rootNodeName)); out.write("';\n"); out.write("\tvar treeElId = '"); if (_jspx_meth_portlet_005fnamespace_005f3(_jspx_th_aui_005fscript_005f0, _jspx_page_context)) return; out.print(HtmlUtil.escape(treeId)); out.write("Output';\n"); out.write("\n"); out.write("\tvar RootNodeType = A.TreeNodeTask;\n"); out.write("\tvar TreeViewType = A.TreeView;\n"); out.write("\n"); out.write("\tif (!"); out.print(selectableTree); out.write(") {\n"); out.write("\t\tRootNodeType = A.TreeNodeIO;\n"); out.write("\t\tTreeViewType = A.TreeViewDD;\n"); out.write("\n"); out.write( "\t\trootLabel = TreeUtil.createLink(rootLabel, TreeUtil.DEFAULT_PARENT_LAYOUT_ID);\n"); out.write("\t}\n"); out.write("\n"); out.write("\tvar rootNode = new RootNodeType(\n"); out.write("\t\t{\n"); out.write("\t\t\talwaysShowHitArea: true,\n"); out.write("\t\t\tdraggable: false,\n"); out.write("\t\t\tid: rootId,\n"); out.write("\t\t\tlabel: rootLabel,\n"); out.write("\t\t\tleaf: false\n"); out.write("\t\t}\n"); out.write("\t);\n"); out.write("\n"); out.write("\trootNode.get('contentBox').addClass('lfr-root-node');\n"); out.write("\n"); out.write("\tvar treeview = new TreeViewType(\n"); out.write("\t\t{\n"); out.write("\t\t\tafter: {\n"); out.write("\t\t\t\tcollapse: function(event) {\n"); out.write("\t\t\t\t\tvar id = event.tree.node.get('id');\n"); out.write("\n"); out.write("\t\t\t\t\tTreeUtil.updateSessionTreeClick(id, false, '"); out.print(HtmlUtil.escape(treeId)); out.write("');\n"); out.write("\t\t\t\t},\n"); out.write("\t\t\t\texpand: function(event) {\n"); out.write("\t\t\t\t\tvar id = event.tree.node.get('id');\n"); out.write("\n"); out.write("\t\t\t\t\tTreeUtil.updateSessionTreeClick(id, true, '"); out.print(HtmlUtil.escape(treeId)); out.write("');\n"); out.write("\t\t\t\t},\n"); out.write("\t\t\t\trender: TreeUtil.afterRenderTree\n"); out.write("\t\t\t},\n"); out.write("\t\t\tboundingBox: '#' + treeElId,\n"); out.write("\t\t\tchildren: [rootNode],\n"); out.write("\t\t\tio: {\n"); out.write("\t\t\t\tcfg: {\n"); out.write("\t\t\t\t\tdata: function(node) {\n"); out.write("\t\t\t\t\t\tvar parentLayoutId = TreeUtil.extractLayoutId(node);\n"); out.write("\n"); out.write("\t\t\t\t\t\treturn {\n"); out.write("\t\t\t\t\t\t\tgroupId: "); out.print(groupId); out.write(",\n"); out.write("\t\t\t\t\t\t\tprivateLayout: "); out.print(privateLayout); out.write(",\n"); out.write("\t\t\t\t\t\t\tparentLayoutId: parentLayoutId\n"); out.write("\t\t\t\t\t\t};\n"); out.write("\t\t\t\t\t},\n"); out.write("\t\t\t\t\tmethod: AUI.defaults.io.method\n"); out.write("\t\t\t\t},\n"); out.write("\t\t\t\tformatter: TreeUtil.formatJSONResults,\n"); out.write("\t\t\t\turl: getLayoutsURL\n"); out.write("\t\t\t},\n"); out.write("\t\t\ton: {\n"); out.write("\t\t\t\tappend: function(event) {\n"); out.write("\t\t\t\t\tTreeUtil.restoreNodeState(event.tree.node);\n"); out.write("\t\t\t\t},\n"); out.write("\t\t\t\tdrop: function(event) {\n"); out.write("\t\t\t\t\tvar tree = event.tree;\n"); out.write("\n"); out.write("\t\t\t\t\tvar index = tree.dragNode.get('parentNode').indexOf(tree.dragNode);\n"); out.write("\n"); out.write("\t\t\t\t\tTreeUtil.updateLayoutPriority(\n"); out.write("\t\t\t\t\t\tTreeUtil.extractPlid(tree.dragNode),\n"); out.write("\t\t\t\t\t\tindex\n"); out.write("\t\t\t\t\t);\n"); out.write("\t\t\t\t},\n"); out.write("\t\t\t\tdropAppend: function(event) {\n"); out.write("\t\t\t\t\tvar tree = event.tree;\n"); out.write("\n"); out.write("\t\t\t\t\tTreeUtil.updateLayoutParent(\n"); out.write("\t\t\t\t\t\tTreeUtil.extractPlid(tree.dragNode),\n"); out.write("\t\t\t\t\t\tTreeUtil.extractPlid(tree.dropNode)\n"); out.write("\t\t\t\t\t);\n"); out.write("\t\t\t\t},\n"); out.write("\t\t\t\tdropInsert: function(event) {\n"); out.write("\t\t\t\t\tvar tree = event.tree;\n"); out.write("\n"); out.write("\t\t\t\t\tTreeUtil.updateLayoutParent(\n"); out.write("\t\t\t\t\t\tTreeUtil.extractPlid(tree.dragNode),\n"); out.write("\t\t\t\t\t\tTreeUtil.extractPlid(tree.dropNode.get('parentNode'))\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\ttype: 'pages'\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; } _005fjspx_005ftagPool_005faui_005fscript_0026_005fuse.reuse(_jspx_th_aui_005fscript_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.enterprise_005fadmin.edit_005frole_005ftabs_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;//ww w .ja v a 2 s . com HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); // portlet:defineObjects com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .get(com.liferay.taglib.portlet.DefineObjectsTag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletConfig portletConfig = null; java.lang.String portletName = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context .findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context .findAttribute("resourceResponse"); out.write('\n'); out.write('\n'); WindowState windowState = null; PortletMode portletMode = null; PortletURL currentURLObj = null; if (renderRequest != null) { windowState = renderRequest.getWindowState(); portletMode = renderRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse); } else if (resourceRequest != null) { windowState = resourceRequest.getWindowState(); portletMode = resourceRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse); } String currentURL = currentURLObj.toString(); //String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); String tabs1 = ParamUtil.getString(request, "tabs1"); boolean showTabs1 = false; boolean showActiveUserSelect = true; if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_USERS)) { tabs1 = "users"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_ORGANIZATIONS)) { if (!tabs1.equals("users")) { tabs1 = "organizations"; } } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_USER_GROUPS) && !tabs1.equals("users")) { tabs1 = "user-groups"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_ROLES) && !tabs1.equals("users")) { tabs1 = "roles"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_PASSWORD_POLICIES)) { tabs1 = "password-policies"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_SETTINGS)) { tabs1 = "settings"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_MONITORING)) { tabs1 = "monitoring"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_PLUGINS)) { tabs1 = "plugins"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN)) { showTabs1 = true; } else { showActiveUserSelect = false; if (tabs1.equals("roles") || tabs1.equals("password-policies") || tabs1.equals("settings") || tabs1.equals("monitoring") || tabs1.equals("plugins")) { tabs1 = "users"; } } if (Validator.isNull(tabs1)) { tabs1 = "users"; } boolean filterManageableGroups = true; boolean filterManageableOrganizations = true; boolean filterManageableRoles = true; boolean filterManageableUserGroupRoles = true; boolean filterManageableUserGroups = true; if (portletName.equals(PortletKeys.MY_ACCOUNT)) { filterManageableGroups = false; filterManageableOrganizations = false; filterManageableRoles = false; filterManageableUserGroupRoles = false; filterManageableUserGroups = false; } else if (permissionChecker.isCompanyAdmin()) { filterManageableGroups = false; filterManageableOrganizations = false; filterManageableUserGroups = false; } boolean includeSystemPortlets = true; int maxNumberOfRolesChecked = 500; Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale, timeZone); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); String cmd = ParamUtil.getString(request, Constants.CMD); tabs1 = ParamUtil.getString(request, "tabs1"); String redirect = ParamUtil.getString(request, "redirect"); String backURL = ParamUtil.getString(request, "backURL", redirect); Role role = (Role) request.getAttribute(WebKeys.ROLE); String portletResource = ParamUtil.getString(request, "portletResource"); String portletResourceLabel = null; if (Validator.isNotNull(portletResource)) { Portlet portlet = PortletLocalServiceUtil.getPortletById(company.getCompanyId(), portletResource); portletResourceLabel = PortalUtil.getPortletTitle(portlet, application, locale); } // Edit PortletURL editRoleURL = renderResponse.createRenderURL(); editRoleURL.setParameter("struts_action", "/enterprise_admin/edit_role"); editRoleURL.setParameter("redirect", backURL); editRoleURL.setParameter(Constants.CMD, Constants.VIEW); editRoleURL.setParameter("roleId", String.valueOf(role.getRoleId())); // Define permissions PortletURL definePermissionsURL = renderResponse.createRenderURL(); definePermissionsURL.setParameter("struts_action", "/enterprise_admin/edit_role_permissions"); definePermissionsURL.setParameter("redirect", backURL); definePermissionsURL.setParameter(Constants.CMD, Constants.VIEW); definePermissionsURL.setParameter("roleId", String.valueOf(role.getRoleId())); // Assign members PortletURL assignMembersURL = renderResponse.createRenderURL(); assignMembersURL.setParameter("struts_action", "/enterprise_admin/edit_role_assignments"); assignMembersURL.setParameter("redirect", backURL); assignMembersURL.setParameter("roleId", String.valueOf(role.getRoleId())); int pos = 0; String tabs1Names = StringPool.BLANK; if (RolePermissionUtil.contains(permissionChecker, role.getRoleId(), ActionKeys.UPDATE)) { tabs1Names += ",edit"; request.setAttribute("liferay-ui:tabs:url" + pos++, editRoleURL.toString()); } String name = role.getName(); if (!name.equals(RoleConstants.ADMINISTRATOR) && !name.equals(RoleConstants.COMMUNITY_ADMINISTRATOR) && !name.equals(RoleConstants.COMMUNITY_OWNER) && !name.equals(RoleConstants.ORGANIZATION_ADMINISTRATOR) && !name.equals(RoleConstants.ORGANIZATION_OWNER) && !name.equals(RoleConstants.OWNER) && RolePermissionUtil.contains(permissionChecker, role.getRoleId(), ActionKeys.DEFINE_PERMISSIONS)) { tabs1Names += ",define-permissions"; request.setAttribute("liferay-ui:tabs:url" + pos++, definePermissionsURL.toString()); } boolean unassignableRole = false; if (name.equals(RoleConstants.GUEST) || name.equals(RoleConstants.OWNER) || name.equals(RoleConstants.USER)) { unassignableRole = true; } if (!unassignableRole && (role.getType() == RoleConstants.TYPE_REGULAR) && RolePermissionUtil .contains(permissionChecker, role.getRoleId(), ActionKeys.ASSIGN_MEMBERS)) { tabs1Names += ",assign-members"; request.setAttribute("liferay-ui:tabs:url" + pos++, assignMembersURL.toString()); } if (tabs1Names.startsWith(",")) { tabs1Names = tabs1Names.substring(1); } // Breadcrumbs PortalUtil.addPortletBreadcrumbEntry(request, role.getTitle(locale), null); request.setAttribute("edit_role_permissions.jsp-role", role); request.setAttribute("edit_role_permissions.jsp-portletResource", portletResource); out.write('\n'); out.write('\n'); // liferay-ui:tabs com.liferay.taglib.ui.TabsTag _jspx_th_liferay_002dui_005ftabs_005f0 = (com.liferay.taglib.ui.TabsTag) _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005fnames_005fnobody .get(com.liferay.taglib.ui.TabsTag.class); _jspx_th_liferay_002dui_005ftabs_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005ftabs_005f0.setParent(null); // /html/portlet/enterprise_admin/edit_role_tabs.jsp(108,0) name = names type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftabs_005f0.setNames(tabs1Names); int _jspx_eval_liferay_002dui_005ftabs_005f0 = _jspx_th_liferay_002dui_005ftabs_005f0.doStartTag(); if (_jspx_th_liferay_002dui_005ftabs_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005fnames_005fnobody .reuse(_jspx_th_liferay_002dui_005ftabs_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005ftabs_0026_005fnames_005fnobody .reuse(_jspx_th_liferay_002dui_005ftabs_005f0); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.portlet.enterprise_005fadmin.user.additional_005femail_005faddresses_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;// ww w. ja v a 2s.c o m HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\r\n"); out.write("\r\n"); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); // portlet:defineObjects com.liferay.taglib.portlet.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (com.liferay.taglib.portlet.DefineObjectsTag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .get(com.liferay.taglib.portlet.DefineObjectsTag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody .reuse(_jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletConfig portletConfig = null; java.lang.String portletName = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); portletName = (java.lang.String) _jspx_page_context.findAttribute("portletName"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context .findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context .findAttribute("resourceResponse"); out.write('\n'); out.write('\n'); WindowState windowState = null; PortletMode portletMode = null; PortletURL currentURLObj = null; if (renderRequest != null) { windowState = renderRequest.getWindowState(); portletMode = renderRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse); } else if (resourceRequest != null) { windowState = resourceRequest.getWindowState(); portletMode = resourceRequest.getPortletMode(); currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse); } String currentURL = currentURLObj.toString(); //String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); String tabs1 = ParamUtil.getString(request, "tabs1"); boolean showTabs1 = false; boolean showActiveUserSelect = true; if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_USERS)) { tabs1 = "users"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_ORGANIZATIONS)) { if (!tabs1.equals("users")) { tabs1 = "organizations"; } } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_USER_GROUPS) && !tabs1.equals("users")) { tabs1 = "user-groups"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_ROLES) && !tabs1.equals("users")) { tabs1 = "roles"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_PASSWORD_POLICIES)) { tabs1 = "password-policies"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_SETTINGS)) { tabs1 = "settings"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_MONITORING)) { tabs1 = "monitoring"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN_PLUGINS)) { tabs1 = "plugins"; } else if (portletName.equals(PortletKeys.ENTERPRISE_ADMIN)) { showTabs1 = true; } else { showActiveUserSelect = false; if (tabs1.equals("roles") || tabs1.equals("password-policies") || tabs1.equals("settings") || tabs1.equals("monitoring") || tabs1.equals("plugins")) { tabs1 = "users"; } } if (Validator.isNull(tabs1)) { tabs1 = "users"; } boolean filterManageableGroups = true; boolean filterManageableOrganizations = true; boolean filterManageableRoles = true; boolean filterManageableUserGroupRoles = true; boolean filterManageableUserGroups = true; if (portletName.equals(PortletKeys.MY_ACCOUNT)) { filterManageableGroups = false; filterManageableOrganizations = false; filterManageableRoles = false; filterManageableUserGroupRoles = false; filterManageableUserGroups = false; } else if (permissionChecker.isCompanyAdmin()) { filterManageableGroups = false; filterManageableOrganizations = false; filterManageableUserGroups = false; } boolean includeSystemPortlets = true; int maxNumberOfRolesChecked = 500; Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale, timeZone); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\r\n"); out.write("\r\n"); String className = (String) request.getAttribute("emailAddresses.className"); long classPK = (Long) request.getAttribute("emailAddresses.classPK"); List<EmailAddress> emailAddresses = Collections.EMPTY_LIST; int[] emailAddressesIndexes = null; String emailAddressesIndexesParam = ParamUtil.getString(request, "emailAddressesIndexes"); if (Validator.isNotNull(emailAddressesIndexesParam)) { emailAddresses = new ArrayList<EmailAddress>(); emailAddressesIndexes = StringUtil.split(emailAddressesIndexesParam, 0); for (int emailAddressesIndex : emailAddressesIndexes) { emailAddresses.add(new EmailAddressImpl()); } } else { if (classPK > 0) { emailAddresses = EmailAddressServiceUtil.getEmailAddresses(className, classPK); emailAddressesIndexes = new int[emailAddresses.size()]; for (int i = 0; i < emailAddresses.size(); i++) { emailAddressesIndexes[i] = i; } } if (emailAddresses.isEmpty()) { emailAddresses = new ArrayList<EmailAddress>(); emailAddresses.add(new EmailAddressImpl()); emailAddressesIndexes = new int[] { 0 }; } if (emailAddressesIndexes == null) { emailAddressesIndexes = new int[0]; } } out.write("\r\n"); out.write("\r\n"); if (_jspx_meth_liferay_002dui_005ferror_002dmarker_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("\r\n"); out.write("<h3>"); if (_jspx_meth_liferay_002dui_005fmessage_005f0(_jspx_page_context)) return; out.write("</h3>\r\n"); out.write("\r\n"); // liferay-ui:error com.liferay.taglib.ui.ErrorTag _jspx_th_liferay_002dui_005ferror_005f0 = (com.liferay.taglib.ui.ErrorTag) _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody .get(com.liferay.taglib.ui.ErrorTag.class); _jspx_th_liferay_002dui_005ferror_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005ferror_005f0.setParent(null); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(67,0) name = exception type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ferror_005f0.setException(EmailAddressException.class); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(67,0) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ferror_005f0.setMessage("please-enter-a-valid-email-address"); int _jspx_eval_liferay_002dui_005ferror_005f0 = _jspx_th_liferay_002dui_005ferror_005f0.doStartTag(); if (_jspx_th_liferay_002dui_005ferror_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody .reuse(_jspx_th_liferay_002dui_005ferror_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fexception_005fnobody .reuse(_jspx_th_liferay_002dui_005ferror_005f0); out.write('\r'); out.write('\n'); // liferay-ui:error com.liferay.taglib.ui.ErrorTag _jspx_th_liferay_002dui_005ferror_005f1 = (com.liferay.taglib.ui.ErrorTag) _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fkey_005fnobody .get(com.liferay.taglib.ui.ErrorTag.class); _jspx_th_liferay_002dui_005ferror_005f1.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005ferror_005f1.setParent(null); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(68,0) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ferror_005f1 .setKey(NoSuchListTypeException.class.getName() + className + ListTypeConstants.EMAIL_ADDRESS); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(68,0) name = message type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ferror_005f1.setMessage("please-select-a-type"); int _jspx_eval_liferay_002dui_005ferror_005f1 = _jspx_th_liferay_002dui_005ferror_005f1.doStartTag(); if (_jspx_th_liferay_002dui_005ferror_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fkey_005fnobody .reuse(_jspx_th_liferay_002dui_005ferror_005f1); return; } _005fjspx_005ftagPool_005fliferay_002dui_005ferror_0026_005fmessage_005fkey_005fnobody .reuse(_jspx_th_liferay_002dui_005ferror_005f1); out.write("\r\n"); out.write("\r\n"); // aui:fieldset com.liferay.taglib.aui.FieldsetTag _jspx_th_aui_005ffieldset_005f0 = (com.liferay.taglib.aui.FieldsetTag) _005fjspx_005ftagPool_005faui_005ffieldset .get(com.liferay.taglib.aui.FieldsetTag.class); _jspx_th_aui_005ffieldset_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005ffieldset_005f0.setParent(null); int _jspx_eval_aui_005ffieldset_005f0 = _jspx_th_aui_005ffieldset_005f0.doStartTag(); if (_jspx_eval_aui_005ffieldset_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_aui_005ffieldset_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_aui_005ffieldset_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_aui_005ffieldset_005f0.doInitBody(); } do { out.write("\r\n"); out.write("\r\n"); out.write("\t"); for (int i = 0; i < emailAddressesIndexes.length; i++) { int emailAddressesIndex = emailAddressesIndexes[i]; EmailAddress emailAddress = emailAddresses.get(i); out.write("\r\n"); out.write("\r\n"); out.write("\t\t"); // aui:model-context com.liferay.taglib.aui.ModelContextTag _jspx_th_aui_005fmodel_002dcontext_005f0 = (com.liferay.taglib.aui.ModelContextTag) _005fjspx_005ftagPool_005faui_005fmodel_002dcontext_0026_005fmodel_005fbean_005fnobody .get(com.liferay.taglib.aui.ModelContextTag.class); _jspx_th_aui_005fmodel_002dcontext_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005fmodel_002dcontext_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(79,2) name = bean type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fmodel_002dcontext_005f0.setBean(emailAddress); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(79,2) name = model type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fmodel_002dcontext_005f0.setModel(EmailAddress.class); int _jspx_eval_aui_005fmodel_002dcontext_005f0 = _jspx_th_aui_005fmodel_002dcontext_005f0 .doStartTag(); if (_jspx_th_aui_005fmodel_002dcontext_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005fmodel_002dcontext_0026_005fmodel_005fbean_005fnobody .reuse(_jspx_th_aui_005fmodel_002dcontext_005f0); return; } _005fjspx_005ftagPool_005faui_005fmodel_002dcontext_0026_005fmodel_005fbean_005fnobody .reuse(_jspx_th_aui_005fmodel_002dcontext_005f0); out.write("\r\n"); out.write("\r\n"); out.write("\t\t<div class=\"lfr-form-row lfr-form-row-inline\">\r\n"); out.write("\t\t\t<div class=\"row-fields\">\r\n"); out.write("\t\t\t\t"); // aui:input com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f0 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .get(com.liferay.taglib.aui.InputTag.class); _jspx_th_aui_005finput_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005finput_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(83,4) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setName("emailAddressId" + emailAddressesIndex); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(83,4) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setType("hidden"); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(83,4) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setValue(emailAddress.getEmailAddressId()); int _jspx_eval_aui_005finput_005f0 = _jspx_th_aui_005finput_005f0.doStartTag(); if (_jspx_th_aui_005finput_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .reuse(_jspx_th_aui_005finput_005f0); return; } _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005fnobody .reuse(_jspx_th_aui_005finput_005f0); out.write("\r\n"); out.write("\r\n"); out.write("\t\t\t\t"); // aui:input com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f1 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005flabel_005ffieldParam_005fnobody .get(com.liferay.taglib.aui.InputTag.class); _jspx_th_aui_005finput_005f1.setPageContext(_jspx_page_context); _jspx_th_aui_005finput_005f1 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(85,4) name = fieldParam type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setFieldParam("emailAddressAddress" + emailAddressesIndex); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(85,4) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setLabel("email-address"); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(85,4) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setName("address"); int _jspx_eval_aui_005finput_005f1 = _jspx_th_aui_005finput_005f1.doStartTag(); if (_jspx_th_aui_005finput_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005flabel_005ffieldParam_005fnobody .reuse(_jspx_th_aui_005finput_005f1); return; } _005fjspx_005ftagPool_005faui_005finput_0026_005fname_005flabel_005ffieldParam_005fnobody .reuse(_jspx_th_aui_005finput_005f1); out.write("\r\n"); out.write("\r\n"); out.write("\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_005flistType_005flabel_005fnobody .get(com.liferay.taglib.aui.SelectTag.class); _jspx_th_aui_005fselect_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005fselect_005f0 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(87,4) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fselect_005f0.setLabel("type"); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(87,4) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fselect_005f0.setName("emailAddressTypeId" + emailAddressesIndex); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(87,4) name = listType type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005fselect_005f0.setListType(className + ListTypeConstants.EMAIL_ADDRESS); int _jspx_eval_aui_005fselect_005f0 = _jspx_th_aui_005fselect_005f0.doStartTag(); if (_jspx_th_aui_005fselect_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flistType_005flabel_005fnobody .reuse(_jspx_th_aui_005fselect_005f0); return; } _005fjspx_005ftagPool_005faui_005fselect_0026_005fname_005flistType_005flabel_005fnobody .reuse(_jspx_th_aui_005fselect_005f0); out.write("\r\n"); out.write("\r\n"); out.write("\t\t\t\t"); // aui:input com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f2 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005finlineLabel_005fid_005fcssClass_005fchecked_005fnobody .get(com.liferay.taglib.aui.InputTag.class); _jspx_th_aui_005finput_005f2.setPageContext(_jspx_page_context); _jspx_th_aui_005finput_005f2 .setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_aui_005ffieldset_005f0); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(89,4) name = checked type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setChecked(emailAddress.isPrimary()); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(89,4) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setCssClass("primary-ctrl"); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(89,4) name = id type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setId("emailAddressPrimary" + emailAddressesIndex); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(89,4) name = inlineLabel type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setInlineLabel("left"); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(89,4) name = label type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setLabel("primary"); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(89,4) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setName("emailAddressPrimary"); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(89,4) name = type type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setType("radio"); // /html/portlet/enterprise_admin/common/additional_email_addresses.jsp(89,4) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f2.setValue(emailAddressesIndex); int _jspx_eval_aui_005finput_005f2 = _jspx_th_aui_005finput_005f2.doStartTag(); if (_jspx_th_aui_005finput_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005finlineLabel_005fid_005fcssClass_005fchecked_005fnobody .reuse(_jspx_th_aui_005finput_005f2); return; } _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005finlineLabel_005fid_005fcssClass_005fchecked_005fnobody .reuse(_jspx_th_aui_005finput_005f2); out.write("\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t</div>\r\n"); out.write("\r\n"); out.write("\t"); } out.write("\r\n"); out.write("\r\n"); int evalDoAfterBody = _jspx_th_aui_005ffieldset_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_aui_005ffieldset_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_aui_005ffieldset_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005ffieldset.reuse(_jspx_th_aui_005ffieldset_005f0); return; } _005fjspx_005ftagPool_005faui_005ffieldset.reuse(_jspx_th_aui_005ffieldset_005f0); out.write("\r\n"); out.write("\r\n"); if (_jspx_meth_aui_005fscript_005f0(_jspx_page_context)) return; } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }