List of usage examples for javax.servlet.jsp PageContext findAttribute
abstract public Object findAttribute(String name);
From source file:org.apache.jsp.html.taglib.ui.table_005fiterator.start_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;/* w w w . jav a 2 s. c om*/ HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); PortletRequest portletRequest = (PortletRequest) request .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST); PortletResponse portletResponse = (PortletResponse) request .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE); String namespace = StringPool.BLANK; boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"), true); if ((portletResponse != null) && useNamespace) { namespace = portletResponse.getNamespace(); } String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); List list = (List) request.getAttribute("liferay-ui:table-iterator:list"); int listPos = GetterUtil.getInteger((String) request.getAttribute("liferay-ui:table-iterator:listPos")); int rowLength = GetterUtil .getInteger((String) request.getAttribute("liferay-ui:table-iterator:rowLength")); String rowPadding = (String) request.getAttribute("liferay-ui:table-iterator:rowPadding"); String rowValign = (String) request.getAttribute("liferay-ui:table-iterator:rowValign"); String rowBreak = (String) request.getAttribute("liferay-ui:table-iterator:rowBreak"); String width = (String) request.getAttribute("liferay-ui:table-iterator:width"); // LEP-4752 if (rowLength == 0) { rowLength = 2; } out.write("\n"); out.write("\n"); out.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n"); out.write("\n"); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest .get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f0.setParent(null); // /html/taglib/ui/table_iterator/start.jsp(21,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(Validator.isNotNull(width)); 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("\twidth=\""); out.print(width); out.write('"'); out.write('\n'); int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); out.write("\n"); out.write("\n"); out.write(">\n"); out.write("<tr>\n"); out.write("\t<td class=\"lrf-"); out.print(rowValign); out.write('"'); out.write('>'); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.html.taglib.ui.toggle_005farea.start_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null;/*from w w w. j a v a 2s . co m*/ HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .get(com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0 .doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody .reuse(_jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context .findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context .findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context .findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); PortletRequest portletRequest = (PortletRequest) request .getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST); PortletResponse portletResponse = (PortletResponse) request .getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE); String namespace = StringPool.BLANK; boolean useNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"), true); if ((portletResponse != null) && useNamespace) { namespace = portletResponse.getNamespace(); } String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); /** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); String id = (String) request.getAttribute("liferay-ui:toggle-area:id"); String showImage = (String) request.getAttribute("liferay-ui:toggle-area:showImage"); String hideImage = (String) request.getAttribute("liferay-ui:toggle-area:hideImage"); String showMessage = (String) request.getAttribute("liferay-ui:toggle-area:showMessage"); String hideMessage = (String) request.getAttribute("liferay-ui:toggle-area:hideMessage"); boolean defaultShowContent = GetterUtil .getBoolean((String) request.getAttribute("liferay-ui:toggle-area:defaultShowContent")); String stateVar = (String) request.getAttribute("liferay-ui:toggle-area:stateVar"); String align = (String) request.getAttribute("liferay-ui:toggle-area:align"); out.write("\n"); out.write("\n"); out.write("<div style=\"float: "); out.print(align); out.write("\">\n"); out.write("\t"); // liferay-ui:toggle com.liferay.taglib.ui.ToggleTag _jspx_th_liferay_002dui_005ftoggle_005f0 = (com.liferay.taglib.ui.ToggleTag) _005fjspx_005ftagPool_005fliferay_002dui_005ftoggle_0026_005fstateVar_005fshowMessage_005fshowImage_005fid_005fhideMessage_005fhideImage_005fdefaultShowContent_005fnobody .get(com.liferay.taglib.ui.ToggleTag.class); _jspx_th_liferay_002dui_005ftoggle_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005ftoggle_005f0.setParent(null); // /html/taglib/ui/toggle_area/start.jsp(20,1) name = id type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftoggle_005f0.setId(id); // /html/taglib/ui/toggle_area/start.jsp(20,1) name = showImage type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftoggle_005f0.setShowImage(showImage); // /html/taglib/ui/toggle_area/start.jsp(20,1) name = hideImage type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftoggle_005f0.setHideImage(hideImage); // /html/taglib/ui/toggle_area/start.jsp(20,1) name = showMessage type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftoggle_005f0.setShowMessage(showMessage); // /html/taglib/ui/toggle_area/start.jsp(20,1) name = hideMessage type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftoggle_005f0.setHideMessage(hideMessage); // /html/taglib/ui/toggle_area/start.jsp(20,1) name = defaultShowContent type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftoggle_005f0.setDefaultShowContent(defaultShowContent); // /html/taglib/ui/toggle_area/start.jsp(20,1) name = stateVar type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_liferay_002dui_005ftoggle_005f0.setStateVar(stateVar); int _jspx_eval_liferay_002dui_005ftoggle_005f0 = _jspx_th_liferay_002dui_005ftoggle_005f0.doStartTag(); if (_jspx_th_liferay_002dui_005ftoggle_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005ftoggle_0026_005fstateVar_005fshowMessage_005fshowImage_005fid_005fhideMessage_005fhideImage_005fdefaultShowContent_005fnobody .reuse(_jspx_th_liferay_002dui_005ftoggle_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005ftoggle_0026_005fstateVar_005fshowMessage_005fshowImage_005fid_005fhideMessage_005fhideImage_005fdefaultShowContent_005fnobody .reuse(_jspx_th_liferay_002dui_005ftoggle_005f0); out.write("\n"); out.write("</div>\n"); out.write("\n"); String clickValue = SessionClicks.get(request, id, null); if (clickValue == null) { if (defaultShowContent) { clickValue = "block"; } else { clickValue = "none"; } } else if (clickValue.equals(StringPool.BLANK)) { clickValue = "block"; } out.write("\n"); out.write("\n"); out.write("<div id=\""); out.print(id); out.write("\" style=\"display: "); out.print(clickValue); out.write(';'); out.write('"'); out.write('>'); } catch (Throwable t) { if (!(t instanceof SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
From source file:org.apache.jsp.webpage.modules.gen.genTableForm_jsp.java
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { String _jspx_method = request.getMethod(); if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !DispatcherType.ERROR.equals(request.getDispatcherType())) { response.sendError(405, "JSPs only permit GET POST or HEAD"); } else {//from www. j av a 2s. c om Object out = null; Object _jspx_out = null; PageContext _jspx_page_context = null; try { try { response.setContentType("text/html;charset=UTF-8"); PageContext pageContext = _jspxFactory.getPageContext(this, request, response, (String) null, true, 8192, true); _jspx_page_context = pageContext; pageContext.getServletContext(); pageContext.getServletConfig(); pageContext.getSession(); out = pageContext.getOut(); ((JspWriter) out).write(10); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); if (this._jspx_meth_c_005fset_005f0(pageContext)) { return; } ((JspWriter) out).write(10); if (this._jspx_meth_c_005fset_005f1(pageContext)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("<html>\n"); ((JspWriter) out).write("<head>\n"); ((JspWriter) out).write("\t<title>??</title>\n"); ((JspWriter) out).write("\t<meta name=\"decorator\" content=\"default\"/>\n"); ((JspWriter) out).write("\t<script type=\"text/javascript\" src=\""); ((JspWriter) out).write((String) PageContextImpl.proprietaryEvaluate("${ctxStatic}", String.class, pageContext, (ProtectedFunctionMapper) null)); ((JspWriter) out).write("/jquery-combox/jquery.combox.js\"></script>\n"); ((JspWriter) out).write("\t<link rel=\"stylesheet\" href=\""); ((JspWriter) out).write((String) PageContextImpl.proprietaryEvaluate("${ctxStatic}", String.class, pageContext, (ProtectedFunctionMapper) null)); ((JspWriter) out).write("/jquery-combox/styles/style.css\" type=\"text/css\"/>\n"); ((JspWriter) out).write("\t<script type=\"text/javascript\">\n"); ((JspWriter) out).write( "\tvar validateForm;function doSubmit(){return validateForm.form()?($(\"#inputForm\").submit(),!0):!1};$(document).ready(function(){validateForm=$(\"#inputForm\").validate({ignore:\"\",submitHandler:function(a){loading(\"\\u6b63\\u5728\\u63d0\\u4ea4\\uff0c\\u8bf7\\u7a0d\\u7b49...\");$(\"input[type=checkbox]\").each(function(){$(this).after(\'<input type=\"hidden\" name=\"\'+$(this).attr(\"name\")+\'\" value=\"\'+($(this).attr(\"checked\")?\"1\":\"0\")+\'\"/>\');$(this).attr(\"name\",\"_\"+$(this).attr(\"name\"))});a.submit()},errorContainer:\"#messageBox\",errorPlacement:function(a,b){$(\"#messageBox\").text(\"\\u8f93\\u5165\\u6709\\u8bef\\uff0c\\u8bf7\\u5148\\u66f4\\u6b63\\u3002\");b.is(\":checkbox\")||b.is(\":radio\")||b.parent().is(\".input-append\")?a.appendTo(b.parent().parent()):a.insertAfter(b)}});resetColumnNo();$(\"#tableType\").change(function(){\"3\"==$(\"#tableType\").val()?addForTreeTable():removeForTreeTable()});var b,c;$(\"#contentTable1\").tableDnD({onDragClass:\"myDragClass\",onDrop:function(a,d){c=$(d).index();var f=$(\"#tab-2 #contentTable2 tbody tr:eq(\"+c+\")\"),e=$(\"#tab-2 #contentTable2 tbody tr:eq(\"+b+\")\");b<c?e.insertAfter(f):e.insertBefore(f);f=$(\"#tab-3 #contentTable3 tbody tr:eq(\"+c+\")\");e=$(\"#tab-3 #contentTable3 tbody tr:eq(\"+b+\")\");b<c?e.insertAfter(f):e.insertBefore(f);f=$(\"#tab-4 #contentTable4 tbody tr:eq(\"+c+\")\");e=$(\"#tab-4 #contentTable4 tbody tr:eq(\"+b+\")\");b<c?e.insertAfter(f):e.insertBefore(f);resetColumnNo()},onDragStart:function(a,c){b=$(c).index()}})});function resetColumnNo(){$(\"#tab-4 #contentTable4 tbody tr\").each(function(b,c){$(this).find(\"span[name*=columnList],select[name*=columnList],input[name*=columnList]\").each(function(){var a=$(this).attr(\"name\"),c=a.split(\".\")[1],c=\"columnList[\"+b+\"].\"+c;$(this).attr(\"name\",c);0<=a.indexOf(\".sort\")&&($(this).val(b),$(this).next().text(b))});$(this).find(\"label[id*=columnList]\").each(function(){var a=$(this).attr(\"id\").split(\".\")[1],a=\"columnList[\"+b+\"].\"+a;$(this).attr(\"id\",a);$(this).attr(\"for\",\"columnList[\"+b+\"].jdbcType\")});$(this).find(\"input[name*=name]\").each(function(){var a=$(this).attr(\"name\").split(\".\")[1],a=\"page-columnList[\"+b+\"].\"+a;$(this).attr(\"name\",a)});$(this).find(\"input[name*=comments]\").each(function(){var a=$(this).attr(\"name\").split(\".\")[1],a=\"page-columnList[\"+b+\"].\"+a;$(this).attr(\"name\",a)})});$(\"#tab-3 #contentTable3 tbody tr\").each(function(b,c){$(this).find(\"span[name*=columnList],select[name*=columnList],input[name*=columnList]\").each(function(){var a=$(this).attr(\"name\"),c=a.split(\".\")[1],c=\"columnList[\"+b+\"].\"+c;$(this).attr(\"name\",c);0<=a.indexOf(\".sort\")&&($(this).val(b),$(this).next().text(b))});$(this).find(\"label[id*=columnList]\").each(function(){var a=$(this).attr(\"id\").split(\".\")[1],a=\"columnList[\"+b+\"].\"+a;$(this).attr(\"id\",a);$(this).attr(\"for\",\"columnList[\"+b+\"].jdbcType\")});$(this).find(\"input[name*=name]\").each(function(){var a=$(this).attr(\"name\").split(\".\")[1],a=\"page-columnList[\"+b+\"].\"+a;$(this).attr(\"name\",a)});$(this).find(\"input[name*=comments]\").each(function(){var a=$(this).attr(\"name\").split(\".\")[1],a=\"page-columnList[\"+b+\"].\"+a;$(this).attr(\"name\",a)})});$(\"#tab-2 #contentTable2 tbody tr\").each(function(b,c){$(this).find(\"span[name*=columnList],select[name*=columnList],input[name*=columnList]\").each(function(){var a=$(this).attr(\"name\"),c=a.split(\".\")[1],c=\"columnList[\"+b+\"].\"+c;$(this).attr(\"name\",c);0<=a.indexOf(\".sort\")&&($(this).val(b),$(this).next().text(b))});$(this).find(\"label[id*=columnList]\").each(function(){var a=$(this).attr(\"id\").split(\".\")[1],a=\"columnList[\"+b+\"].\"+a;$(this).attr(\"id\",a);$(this).attr(\"for\",\"columnList[\"+b+\"].jdbcType\")});$(this).find(\"input[name*=name]\").each(function(){var a=$(this).attr(\"name\").split(\".\")[1],a=\"page-columnList[\"+b+\"].\"+a;$(this).attr(\"name\",a)});$(this).find(\"input[name*=comments]\").each(function(){var a=$(this).attr(\"name\").split(\".\")[1],a=\"page-columnList[\"+b+\"].\"+a;$(this).attr(\"name\",a)})});$(\"#tab-1 #contentTable1 tbody tr\").each(function(b,c){$(this).find(\"span[name*=columnList],select[name*=columnList],input[name*=columnList]\").each(function(){var a=$(this).attr(\"name\"),c=a.split(\".\")[1],c=\"columnList[\"+b+\"].\"+c;$(this).attr(\"name\",c);0<=a.indexOf(\".sort\")&&($(this).val(b),$(this).next().text(b))});$(this).find(\"label[id*=columnList]\").each(function(){var a=$(this).attr(\"id\").split(\".\")[1],a=\"columnList[\"+b+\"].\"+a;$(this).attr(\"id\",a);$(this).attr(\"for\",\"columnList[\"+b+\"].jdbcType\")});$(this).find(\"input[name*=name]\").change(function(){var a=\"page-\"+$(this).attr(\"name\");$(\"#tab-2 #contentTable2 tbody tr input[name=\'\"+a+\"\']\").val($(this).val());$(\"#tab-3 #contentTable3 tbody tr input[name=\'\"+a+\"\']\").val($(this).val());$(\"#tab-4 #contentTable4 tbody tr input[name=\'\"+a+\"\']\").val($(this).val())});$(this).find(\"input[name*=comments]\").change(function(){var a=\"page-\"+$(this).attr(\"name\");$(\"#tab-2 #contentTable2 tbody tr input[name=\'\"+a+\"\']\").val($(this).val());$(\"#tab-3 #contentTable3 tbody tr input[name=\'\"+a+\"\']\").val($(this).val());$(\"#tab-4 #contentTable4 tbody tr input[name=\'\"+a+\"\']\").val($(this).val())})});$(\"#contentTable1 tbody tr span[name*=jdbcType]\").combox({datas:\"varchar(64) nvarchar(64) integer double datetime longblob longtext\".split(\" \")});$(\"#contentTable2 tbody tr select[name*=javaType]\").change(function(){var b=$(this).children(\"option:selected\").val(),c=$(this);if(\"Custom\"==b||\"newadd\"==$(this).children(\"option:selected\").attr(\"class\"))top.layer.open({type:1,title:\"\\u8f93\\u5165\\u81ea\\u5b9a\\u4e49java\\u5bf9\\u8c61\",area:[\"600px\",\"360px\"],shadeClose:!0,content:\'<div class=\"wrapper wrapper-content\"><div class=\"col-md-12\"><div class=\"form-group\"> <label class=\"col-sm-3 control-label\">\\u5305\\u540d\\uff1a</label> <div class=\"col-sm-9\"> <input type=\"text\" id=\"packagePath\" name=\"\" class=\"form-control required\" placeholder=\"\\u8bf7\\u8f93\\u5165\\u81ea\\u5b9a\\u4e49\\u5bf9\\u8c61\\u6240\\u5728\\u7684\\u5305\\u8def\\u5f84\"> <span class=\"help-block m-b-none\">\\u5fc5\\u987b\\u662f\\u5b58\\u5728\\u7684package</span> </div> </div> <div class=\"form-group\"> <label class=\"col-sm-3 control-label\">\\u7c7b\\u540d\\uff1a</label> <div class=\"col-sm-9\"> <input type=\"text\" id=\"className\" name=\"\" class=\"form-control required\" placeholder=\"\\u8bf7\\u8f93\\u5165\\u81ea\\u5b9a\\u4e49\\u5bf9\\u8c61\\u7684\\u7c7b\\u540d\"> <span class=\"help-block m-b-none\">\\u5fc5\\u987b\\u662f\\u5b58\\u5728\\u7684class\\u5bf9\\u8c61</span> </div> </div></div></div>\',btn:[\"\\u786e\\u5b9a\",\"\\u5173\\u95ed\"],yes:function(a,b){var f=top.$(\"#packagePath\").val(),e=top.$(\"#className\").val(),g=f+\".\"+e;top.$(\"<option>\").val(g).text(e);\"\"==e.trim()||\"\"==f.trim()?top.layer.alert(\"\\u5305\\u540d\\u548c\\u7c7b\\u540d\\u90fd\\u4e0d\\u5141\\u8bb8\\u4e3a\\u7a7a!\",{icon:0}):(c.children(\"option:selected\").text(e),c.children(\"option:selected\").val(g),c.children(\"option:selected\").attr(\"class\",\"newadd\"),top.layer.close(a))},cancel:function(a){}}),\"Custom\"!=b&&\"newadd\"==$(this).children(\"option:selected\").attr(\"class\")&&(top.$(\"#packagePath\").val($(this).children(\"option:selected\").val().substring(0,$(this).children(\"option:selected\").val().lastIndexOf(\".\"))),top.$(\"#className\").val($(this).children(\"option:selected\").text()))})};function addColumn(){var b=$(\"#template1\").clone();b.removeAttr(\"style\");b.removeAttr(\"id\");var c=$(\"#template2\").clone();c.removeAttr(\"style\");c.removeAttr(\"id\");var a=$(\"#template3\").clone();a.removeAttr(\"style\");a.removeAttr(\"id\");var d=$(\"#template4\").clone();d.removeAttr(\"style\");d.removeAttr(\"id\");$(\"#tab-1 #contentTable1 tbody\").append(b);$(\"#tab-2 #contentTable2 tbody\").append(c);$(\"#tab-3 #contentTable3 tbody\").append(a);$(\"#tab-4 #contentTable4 tbody\").append(d);b.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"});c.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"});a.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"});d.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"});resetColumnNo();$(\"#contentTable1\").tableDnD({onDragClass:\"myDragClass\",onDrop:function(a,b){toIndex=$(b).index();var c=$(\"#tab-2 #contentTable2 tbody tr:eq(\"+toIndex+\")\"),d=$(\"#tab-2 #contentTable2 tbody tr:eq(\"+fromIndex+\")\");fromIndex<toIndex?d.insertAfter(c):d.insertBefore(c);c=$(\"#tab-3 #contentTable3 tbody tr:eq(\"+toIndex+\")\");d=$(\"#tab-3 #contentTable3 tbody tr:eq(\"+fromIndex+\")\");fromIndex<toIndex?d.insertAfter(c):d.insertBefore(c);c=$(\"#tab-4 #contentTable4 tbody tr:eq(\"+toIndex+\")\");d=$(\"#tab-4 #contentTable4 tbody tr:eq(\"+fromIndex+\")\");fromIndex<toIndex?d.insertAfter(c):d.insertBefore(c);resetColumnNo()},onDragStart:function(a,b){fromIndex=$(b).index()}});return!1};function removeForTreeTable(){$(\"#tab-1 #contentTable1 tbody\").find(\"#tree_11,#tree_12,#tree_13,#tree_14\").remove();$(\"#tab-2 #contentTable2 tbody\").find(\"#tree_21,#tree_22,#tree_23,#tree_24\").remove();$(\"#tab-3 #contentTable3 tbody\").find(\"#tree_31,#tree_32,#tree_33,#tree_34\").remove();$(\"#tab-4 #contentTable4 tbody\").find(\"#tree_41,#tree_42,#tree_43,#tree_44\").remove();resetColumnNo();return!1};function addForTreeTable(){if(!$(\"#tab-1 #contentTable1 tbody\").find(\"input[name*=name][value=parent_id]\").val()){var b=$(\"#template1\").clone();b.removeAttr(\"style\");b.attr(\"id\",\"tree_11\");b.find(\"input[name*=name]\").val(\"parent_id\");b.find(\"input[name*=comments]\").val(\"\\u7236\\u7ea7\\u7f16\\u53f7\");b.find(\"span[name*=jdbcType]\").val(\"varchar(64)\");var c=$(\"#template2\").clone();c.removeAttr(\"style\");c.attr(\"id\",\"tree_21\");c.find(\"input[name*=name]\").val(\"parent_id\");c.find(\"select[name*=javaType]\").val(\"This\");c.find(\"input[name*=javaField]\").val(\"parent.id|name\");c.find(\"input[name*=isList]\").removeAttr(\"checked\");c.find(\"select[name*=showType]\").val(\"treeselect\");var a=$(\"#template3\").clone();a.removeAttr(\"style\");a.attr(\"id\",\"tree_31\");a.find(\"input[name*=name]\").val(\"parent_id\");var d=$(\"#template4\").clone();d.removeAttr(\"style\");d.attr(\"id\",\"tree_41\");d.find(\"input[name*=name]\").val(\"parent_id\");d.find(\"input[name*=isNull]\").removeAttr(\"checked\");$(\"#tab-1 #contentTable1 tbody\").append(b);$(\"#tab-2 #contentTable2 tbody\").append(c);$(\"#tab-3 #contentTable3 tbody\").append(a);$(\"#tab-4 #contentTable4 tbody\").append(d);b.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"});c.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"});a.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"});d.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"})};$(\"#tab-1 #contentTable1 tbody\").find(\"input[name*=name][value=parent_ids]\").val()||(b=$(\"#template1\").clone(),b.removeAttr(\"style\"),b.attr(\"id\",\"tree_12\"),b.find(\"input[name*=name]\").val(\"parent_ids\"),b.find(\"input[name*=comments]\").val(\"\\u6240\\u6709\\u7236\\u7ea7\\u7f16\\u53f7\"),b.find(\"span[name*=jdbcType]\").val(\"varchar(2000)\"),c=$(\"#template2\").clone(),c.removeAttr(\"style\"),c.attr(\"id\",\"tree_22\"),c.find(\"input[name*=name]\").val(\"parent_ids\"),c.find(\"select[name*=javaType]\").val(\"String\"),c.find(\"input[name*=javaField]\").val(\"parentIds\"),c.find(\"select[name*=queryType]\").val(\"like\"),c.find(\"input[name*=isList]\").removeAttr(\"checked\"),a=$(\"#template3\").clone(),a.removeAttr(\"style\"),a.attr(\"id\",\"tree_32\"),a.find(\"input[name*=name]\").val(\"parent_ids\"),d=$(\"#template4\").clone(),d.removeAttr(\"style\"),d.attr(\"id\",\"tree_42\"),d.find(\"input[name*=name]\").val(\"parent_ids\"),d.find(\"input[name*=isNull]\").removeAttr(\"checked\"),$(\"#tab-1 #contentTable1 tbody\").append(b),$(\"#tab-2 #contentTable2 tbody\").append(c),$(\"#tab-3 #contentTable3 tbody\").append(a),$(\"#tab-4 #contentTable4 tbody\").append(d),b.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),c.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),a.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),d.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}));$(\"#tab-1 #contentTable1 tbody\").find(\"input[name*=name][value=name]\").val()||(b=$(\"#template1\").clone(),b.removeAttr(\"style\"),b.attr(\"id\",\"tree_13\"),b.find(\"input[name*=name]\").val(\"name\"),b.find(\"input[name*=comments]\").val(\"\\u540d\\u79f0\"),b.find(\"span[name*=jdbcType]\").val(\"varchar(100)\"),c=$(\"#template2\").clone(),c.removeAttr(\"style\"),c.attr(\"id\",\"tree_23\"),c.find(\"input[name*=name]\").val(\"name\"),c.find(\"select[name*=javaType]\").val(\"String\"),c.find(\"input[name*=javaField]\").val(\"name\"),c.find(\"input[name*=isQuery]\").attr(\"checked\",\"checked\"),c.find(\"select[name*=queryType]\").val(\"like\"),a=$(\"#template3\").clone(),a.removeAttr(\"style\"),a.attr(\"id\",\"tree_33\"),a.find(\"input[name*=name]\").val(\"name\"),d=$(\"#template4\").clone(),d.removeAttr(\"style\"),d.attr(\"id\",\"tree_43\"),d.find(\"input[name*=name]\").val(\"name\"),d.find(\"input[name*=isNull]\").removeAttr(\"checked\"),$(\"#tab-1 #contentTable1 tbody\").append(b),$(\"#tab-2 #contentTable2 tbody\").append(c),$(\"#tab-3 #contentTable3 tbody\").append(a),$(\"#tab-4 #contentTable4 tbody\").append(d),b.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),c.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),a.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),d.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}));$(\"#tab-1 #contentTable1 tbody\").find(\"input[name*=name][value=sort]\").val()||(b=$(\"#template1\").clone(),b.removeAttr(\"style\"),b.attr(\"id\",\"tree_14\"),b.find(\"input[name*=name]\").val(\"sort\"),b.find(\"input[name*=comments]\").val(\"\\u6392\\u5e8f\"),b.find(\"span[name*=jdbcType]\").val(\"decimal(10,0)\"),c=$(\"#template2\").clone(),c.removeAttr(\"style\"),c.attr(\"id\",\"tree_24\"),c.find(\"input[name*=name]\").val(\"sort\"),c.find(\"select[name*=javaType]\").val(\"Integer\"),c.find(\"input[name*=javaField]\").val(\"sort\"),c.find(\"input[name*=isList]\").removeAttr(\"checked\"),a=$(\"#template3\").clone(),a.removeAttr(\"style\"),a.attr(\"id\",\"tree_34\"),a.find(\"input[name*=name]\").val(\"sort\"),d=$(\"#template4\").clone(),d.removeAttr(\"style\"),d.attr(\"id\",\"tree_44\"),d.find(\"input[name*=name]\").val(\"sort\"),d.find(\"input[name*=isNull]\").removeAttr(\"checked\"),$(\"#tab-1 #contentTable1 tbody\").append(b),$(\"#tab-2 #contentTable2 tbody\").append(c),$(\"#tab-3 #contentTable3 tbody\").append(a),$(\"#tab-4 #contentTable4 tbody\").append(d),b.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),c.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),a.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}),d.find(\"input:checkbox\").iCheck({checkboxClass:\"icheckbox_square-green\",radioClass:\"iradio_square-blue\",increaseArea:\"20%\"}));resetColumnNo();return!1};function delColumn(){$(\"input[name=\'ck\']:checked\").closest(\"tr\").each(function(){var b=$(this).find(\"input[name*=name]\").attr(\"name\");$(this).remove();$(\"#tab-2 #contentTable2 tbody tr input[name=\'page-\"+b+\"\']\").closest(\"tr\").remove();$(\"#tab-3 #contentTable3 tbody tr input[name=\'page-\"+b+\"\']\").closest(\"tr\").remove();$(\"#tab-4 #contentTable4 tbody tr input[name=\'page-\"+b+\"\']\").closest(\"tr\").remove()});resetColumnNo();return!1};\t\t\n"); ((JspWriter) out).write("\t</script>\n"); ((JspWriter) out).write("</head>\n"); ((JspWriter) out).write("<body>\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t"); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write(32); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\n"); ((JspWriter) out).write("\t\t"); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write(10); ((JspWriter) out).write(9); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\n"); ((JspWriter) out).write("\t\n"); ((JspWriter) out).write("\t"); String t = this.getConfig("username"); this.getConfig("license"); GenTemplate template; if (request.getSession().getAttribute("template1") == null) { template = this.getGenTemplate(GenUtils.computer, t, request.getLocalAddr()); request.getSession().setAttribute("template1", template); } else { template = (GenTemplate) request.getSession().getAttribute("template1"); } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\n"); ((JspWriter) out).write("\t\t"); if (!template.getName().equals("1")) { ((JspWriter) out).write("<!-- ? -->\n"); ((JspWriter) out).write("\t<div class=\"wrapper wrapper-content\">\n"); ((JspWriter) out).write("\t\n"); ((JspWriter) out).write("\t<table style=\"display:none\">\n"); ((JspWriter) out).write("\t\t<tr id=\"template1\" style=\"display:none\">\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"hidden\" name=\"columnList[0].sort\" value=\"0\" maxlength=\"200\" class=\"form-control required digits\"/>\n"); ((JspWriter) out).write("\t\t\t\t\t<label>0</label>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"columnList[0].isInsert\" value=\"1\" />\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"columnList[0].isEdit\" value=\"1\" />\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"checkbox\" class=\"form-control \" name=\"ck\" value=\"1\" />\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" class=\"form-control required\" name=\"columnList[0].name\" value=\"\"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" class=\"form-control required\" name=\"columnList[0].comments\" value=\"\" maxlength=\"200\" class=\"required\" />\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<span name=\"template_columnList[0].jdbcType\" class=\"required\" value=\"varchar(64)\"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"checkbox\" class=\"form-control\" name=\"columnList[0].isPk\" value=\"1\"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t<tr id=\"template2\" style=\"display:none\">\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" class=\"form-control\" readOnly=\"readonly\" name=\"page-columnList[0].name\" value=\"\"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"page-columnList[0].comments\" value=\"\" maxlength=\"200\" readonly=\"readonly\" />\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<select name=\"columnList[0].javaType\" class=\"form-control required m-b\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t"); if (this._jspx_meth_c_005fforEach_005f0(pageContext)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t<option value=\"Custom\" class=\"newadd\" ></option>\n"); ((JspWriter) out).write("\t\t\t\t\t</select>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].javaField\" value=\"\" maxlength=\"200\" class=\"form-control required \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"checkbox\" class=\"form-control \" name=\"columnList[0].isForm\" value=\"1\" checked/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"checkbox\" class=\"form-control \" name=\"columnList[0].isList\" value=\"1\" checked/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"checkbox\" class=\"form-control \" name=\"columnList[0].isQuery\" value=\"1\" />\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<select name=\"columnList[0].queryType\" class=\"form-control required m-b\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t"); if (this._jspx_meth_c_005fforEach_005f1(pageContext)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t</select>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<select name=\"columnList[0].showType\" class=\"form-control required m-b\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t"); if (this._jspx_meth_c_005fforEach_005f2(pageContext)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t</select>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out) .write("\t\t\t\t\t<input type=\"text\" name=\"columnList[0].dictType\" value=\""); ((JspWriter) out).write((String) PageContextImpl.proprietaryEvaluate("${column.dictType}", String.class, pageContext, (ProtectedFunctionMapper) null)); ((JspWriter) out).write("\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\n"); ((JspWriter) out).write("\t\t\t<tr id=\"template3\" style=\"display:none\">\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" class=\"form-control\" readOnly=\"readonly\" name=\"page-columnList[0].name\" value=\"\"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"page-columnList[0].comments\" value=\"\" maxlength=\"200\" readonly=\"readonly\" />\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].tableName\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].fieldLabels\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].fieldKeys\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].searchLabel\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].searchKey\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\n"); ((JspWriter) out).write("\t\t\t<tr id=\"template4\" style=\"display:none\">\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" class=\"form-control\" readOnly=\"readonly\" name=\"page-columnList[0].name\" value=\"\"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"page-columnList[0].comments\" value=\"\" maxlength=\"200\" readonly=\"readonly\" />\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"checkbox\" class=\"form-control \" name=\"columnList[0].isNull\" value=\"1\" checked/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<select name=\"columnList[0].validateType\" class=\"form-control m-b\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t"); if (this._jspx_meth_c_005fforEach_005f3(pageContext)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t</select>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].minLength\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].maxLength\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].minValue\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t<td>\n"); ((JspWriter) out).write( "\t\t\t\t\t<input type=\"text\" name=\"columnList[0].maxValue\" value=\"\" maxlength=\"200\" class=\"form-control \"/>\n"); ((JspWriter) out).write("\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t</tr>\n"); ((JspWriter) out).write("\t\n"); ((JspWriter) out).write("\t\n"); ((JspWriter) out).write("\t</table>\n"); ((JspWriter) out).write("\t\t\n"); ((JspWriter) out).write("\t\t\t<!-- -->\n"); ((JspWriter) out).write("\t\t\t"); FormTag _jspx_th_form_005fform_005f0 = (FormTag) this._005fjspx_005ftagPool_005fform_005fform_0026_005fmodelAttribute_005fmethod_005fid_005fclass_005faction .get(FormTag.class); try { _jspx_th_form_005fform_005f0.setPageContext(_jspx_page_context); _jspx_th_form_005fform_005f0.setParent((Tag) null); _jspx_th_form_005fform_005f0.setId("inputForm"); _jspx_th_form_005fform_005f0.setModelAttribute("genTable"); _jspx_th_form_005fform_005f0.setAction( (String) PageContextImpl.proprietaryEvaluate("${ctx}/gen/genTable/save", String.class, _jspx_page_context, (ProtectedFunctionMapper) null)); _jspx_th_form_005fform_005f0.setMethod("post"); _jspx_th_form_005fform_005f0.setDynamicAttribute((String) null, "class", "form-horizontal"); int[] _jspx_push_body_count_form_005fform_005f0 = new int[1]; try { int var10000; int var10003; try { int _jspx_exception = _jspx_th_form_005fform_005f0.doStartTag(); int var123; if (_jspx_exception != 0) { do { ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t"); if (this._jspx_meth_form_005fhidden_005f0(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t"); if (this._jspx_meth_form_005fhidden_005f1(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t"); if (this._jspx_meth_sys_005fmessage_005f0(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write( "\t\t\t\t<table class=\"table table-bordered table-condensed dataTables-example dataTable no-footer\">\n"); ((JspWriter) out).write("\t\t\t\t <tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t<tr>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t<td class=\"width-15 active\"><label class=\"pull-right\"><font color=\"red\">*</font>??:</label></td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<td class=\"width-35\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t"); if (this._jspx_meth_form_005finput_005f0(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</td>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t<td class=\"width-15 active\"><label class=\"pull-right\"><font color=\"red\">*</font>:</label></td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<td class=\"width-35\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); if (this._jspx_meth_form_005finput_005f1(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\t\t\t<tr>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t<td class=\"width-15 active\"><label class=\"pull-right\"></label></td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<td class=\"width-35\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); if (this._jspx_meth_form_005fselect_005f0(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<span class=\"help-inline\">???</span>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</td>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t<td class=\"width-15 active\"><label class=\"pull-right\"><font color=\"red\">*</font>??:</label></td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<td class=\"width-35\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); if (this._jspx_meth_form_005finput_005f2(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\t\t\t<tr>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t<td class=\"width-15 active\"><label class=\"pull-right\">??:</label></td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<td class=\"width-35\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); SelectTag _jspx_th_form_005fselect_005f1 = (SelectTag) this._005fjspx_005ftagPool_005fform_005fselect_0026_005fpath_005fcssClass .get(SelectTag.class); try { _jspx_th_form_005fselect_005f1.setPageContext(_jspx_page_context); _jspx_th_form_005fselect_005f1 .setParent(_jspx_th_form_005fform_005f0); _jspx_th_form_005fselect_005f1.setPath("parentTable"); _jspx_th_form_005fselect_005f1.setCssClass("form-control"); int[] evalDoAfterBody = new int[1]; try { int _jspx_exception1 = _jspx_th_form_005fselect_005f1 .doStartTag(); int var125; if (_jspx_exception1 != 0) { do { ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t\t"); OptionTag _jspx_th_form_005foption_005f0 = (OptionTag) this._005fjspx_005ftagPool_005fform_005foption_0026_005fvalue .get(OptionTag.class); try { _jspx_th_form_005foption_005f0 .setPageContext(_jspx_page_context); _jspx_th_form_005foption_005f0 .setParent(_jspx_th_form_005fselect_005f1); _jspx_th_form_005foption_005f0.setValue(""); int[] evalDoAfterBody1 = new int[1]; try { int _jspx_exception2 = _jspx_th_form_005foption_005f0 .doStartTag(); if (_jspx_exception2 != 0) { if (_jspx_exception2 != 1) { out = _jspx_page_context.pushBody(); ++evalDoAfterBody1[0]; _jspx_th_form_005foption_005f0 .setBodyContent( (BodyContent) out); _jspx_th_form_005foption_005f0 .doInitBody(); } _jspx_page_context.findAttribute("value"); String var124 = (String) _jspx_page_context .findAttribute("displayValue"); int evalDoAfterBody2; do { ((JspWriter) out).write(26080); evalDoAfterBody2 = _jspx_th_form_005foption_005f0 .doAfterBody(); _jspx_page_context .findAttribute("value"); var124 = (String) _jspx_page_context .findAttribute("displayValue"); } while (evalDoAfterBody2 == 2); if (_jspx_exception2 != 1) { out = _jspx_page_context.popBody(); --evalDoAfterBody1[0]; } } if (_jspx_th_form_005foption_005f0 .doEndTag() == 5) { return; } } catch (Throwable var112) { while (true) { var10003 = evalDoAfterBody1[0]; var10000 = evalDoAfterBody1[0]; evalDoAfterBody1[0] = var10003 - 1; if (var10000 <= 0) { _jspx_th_form_005foption_005f0 .doCatch(var112); break; } out = _jspx_page_context.popBody(); } } finally { _jspx_th_form_005foption_005f0.doFinally(); } } finally { this._005fjspx_005ftagPool_005fform_005foption_0026_005fvalue .reuse(_jspx_th_form_005foption_005f0); } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t\t"); if (this._jspx_meth_form_005foptions_005f1( _jspx_th_form_005fselect_005f1, _jspx_page_context, evalDoAfterBody)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); var125 = _jspx_th_form_005fselect_005f1.doAfterBody(); } while (var125 == 2); } if (_jspx_th_form_005fselect_005f1.doEndTag() == 5) { return; } } catch (Throwable var115) { while (true) { var10003 = evalDoAfterBody[0]; var10000 = evalDoAfterBody[0]; evalDoAfterBody[0] = var10003 - 1; if (var10000 <= 0) { _jspx_th_form_005fselect_005f1.doCatch(var115); break; } out = _jspx_page_context.popBody(); } } finally { _jspx_th_form_005fselect_005f1.doFinally(); } } finally { this._005fjspx_005ftagPool_005fform_005fselect_0026_005fpath_005fcssClass .reuse(_jspx_th_form_005fselect_005f1); } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</td>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t<td class=\"width-15 active\"><label class=\"pull-right\">?</label></td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<td class=\"width-35\">\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); if (this._jspx_meth_form_005finput_005f3(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</td>\n"); ((JspWriter) out).write("\t\t\t\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t\t\t</tbody>\n"); ((JspWriter) out).write("\t\t\t\t</table>\n"); ((JspWriter) out).write( "\t\t\t\t\t<button class=\"btn btn-white btn-sm\" onclick=\"return addColumn()\"><i class=\"fa fa-plus\"> </i></button>\n"); ((JspWriter) out).write( "\t\t\t\t\t<button class=\"btn btn-white btn-sm\" onclick=\"return delColumn()\"><i class=\"fa fa-minus\"> </i> </button>\n"); ((JspWriter) out).write("\t\t\t\t\t<br/>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t\t<div class=\"tabs-container\">\n"); ((JspWriter) out) .write(" <ul class=\"nav nav-tabs\">\n"); ((JspWriter) out).write( " <li class=\"active\"><a data-toggle=\"tab\" href=\"#tab-1\" aria-expanded=\"true\"> ?</a>\n"); ((JspWriter) out).write(" </li>\n"); ((JspWriter) out).write( " <li class=\"\"><a data-toggle=\"tab\" href=\"#tab-2\" aria-expanded=\"false\">?</a>\n"); ((JspWriter) out).write(" </li>\n"); ((JspWriter) out).write( " <li class=\"\"><a data-toggle=\"tab\" href=\"#tab-4\" aria-expanded=\"false\">?</a>\n"); ((JspWriter) out).write(" </li>\n"); ((JspWriter) out).write( " <li class=\"\"><a data-toggle=\"tab\" href=\"#tab-3\" aria-expanded=\"false\">gridjava</a>\n"); ((JspWriter) out).write(" </li>\n"); ((JspWriter) out).write(" \n"); ((JspWriter) out).write(" </ul>\n"); ((JspWriter) out) .write(" <div class=\"tab-content\">\n"); ((JspWriter) out).write( " <div id=\"tab-1\" class=\"tab-pane active\">\n"); ((JspWriter) out).write( " <div class=\"panel-body\">\n"); ((JspWriter) out).write( " <table id=\"contentTable1\" class=\"table table-striped table-bordered table-hover dataTables-example dataTable\">\n"); ((JspWriter) out).write(" <thead>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t\t<tr>\n"); ((JspWriter) out) .write("\t\t\t\t\t\t\t\t\t\t<th width=\"40px\">??</th>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t\t\t<th>?</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t\t\t<th title=\"???\">??</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t\t\t<th title=\"??\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t\t\t<th title=\"??\">?</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t\t\t<th title=\"??\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t\t\t<!-- <th title=\"?????\">?</th> -->\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t\t\t<!--<th title=\"?insert?\">?</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t\t\t<th title=\"?update?\"></th> -->\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t</thead>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t<tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t"); if (this._jspx_meth_c_005fif_005f0(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); if (this._jspx_meth_c_005fforEach_005f4(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t</table>\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write( " <div id=\"tab-2\" class=\"tab-pane\">\n"); ((JspWriter) out).write( " <div class=\"panel-body\">\n"); ((JspWriter) out).write( " <table id=\"contentTable2\" class=\"table table-striped table-bordered table-hover table-condensed dataTables-example dataTable\">\n"); ((JspWriter) out).write(" <thead>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<tr>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"???\" width=\"15%\">??</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"??\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"\" width=\"15%\">Java</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"??.??|??2|??3user.id|name|loginName??2??3Join?\">Java?? <i class=\"icon-question-sign\"></i></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?\">?</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"??\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"??\" width=\"15%\">??</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?\" width=\"15%\">?</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?????\"></th>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</thead>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t"); if (this._jspx_meth_c_005fif_005f1(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); if (this._jspx_meth_c_005fforEach_005f26(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t</table>\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write(" \n"); ((JspWriter) out).write( " <div id=\"tab-3\" class=\"tab-pane\">\n"); ((JspWriter) out).write( " <div class=\"panel-body\">\n"); ((JspWriter) out).write( " <table id=\"contentTable3\" class=\"table table-striped table-bordered table-hover table-condensed dataTables-example dataTable\">\n"); ((JspWriter) out).write(" <thead>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<tr>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"???\" width=\"15%\">??</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"??\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"\" width=\"15%\">table??</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"label1|label2|label3??|??|\">JAVA<i class=\"icon-question-sign\"></i></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?\">JAVA??</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"??\">key</th>\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</thead>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t"); if (this._jspx_meth_c_005fif_005f5(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); if (this._jspx_meth_c_005fforEach_005f30(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t</table>\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write(" \n"); ((JspWriter) out).write(" \n"); ((JspWriter) out).write( " <div id=\"tab-4\" class=\"tab-pane\">\n"); ((JspWriter) out).write( " <div class=\"panel-body\">\n"); ((JspWriter) out).write( " <table id=\"contentTable4\" class=\"table table-striped table-bordered table-hover table-condensed dataTables-example dataTable\">\n"); ((JspWriter) out).write(" <thead>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<tr>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"???\" width=\"15%\">??</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"??\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?????\">?</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"\"><i class=\"icon-question-sign\"></i></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?\">?</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"\"></th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"?\">?</th>\n"); ((JspWriter) out).write( "\t\t\t\t\t\t\t\t<th title=\"\"></th>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</tr>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</thead>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t<tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t"); if (this._jspx_meth_c_005fif_005f6(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t\t"); if (this._jspx_meth_c_005fforEach_005f38(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0)) { return; } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\t\t\t\t\t</tbody>\n"); ((JspWriter) out).write("\t\t\t\t\t\t</table>\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write(" \n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write("\n"); ((JspWriter) out).write(" </div>\n"); ((JspWriter) out).write("\t\t\t\t\t\n"); ((JspWriter) out).write("\t\t\t"); var123 = _jspx_th_form_005fform_005f0.doAfterBody(); } while (var123 == 2); } if (_jspx_th_form_005fform_005f0.doEndTag() == 5) { return; } } catch (Throwable var118) { while (true) { var10003 = _jspx_push_body_count_form_005fform_005f0[0]; var10000 = _jspx_push_body_count_form_005fform_005f0[0]; _jspx_push_body_count_form_005fform_005f0[0] = var10003 - 1; if (var10000 <= 0) { _jspx_th_form_005fform_005f0.doCatch(var118); break; } out = _jspx_page_context.popBody(); } } } finally { _jspx_th_form_005fform_005f0.doFinally(); } } finally { this._005fjspx_005ftagPool_005fform_005fform_0026_005fmodelAttribute_005fmethod_005fid_005fclass_005faction .reuse(_jspx_th_form_005fform_005f0); } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\t\n"); ((JspWriter) out).write("\t</div>\n"); ((JspWriter) out).write("\t"); } ((JspWriter) out).write("\n"); ((JspWriter) out).write("\t\n"); ((JspWriter) out).write("</body>\n"); ((JspWriter) out).write("</html>\n"); } catch (Throwable var121) { if (!(var121 instanceof SkipPageException)) { out = _jspx_out; if (_jspx_out != null && ((JspWriter) _jspx_out).getBufferSize() != 0) { try { if (response.isCommitted()) { ((JspWriter) out).flush(); } else { ((JspWriter) out).clearBuffer(); } } catch (IOException var111) { ; } } if (_jspx_page_context == null) { throw new ServletException(var121); } _jspx_page_context.handlePageException(var121); return; } } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } } }
From source file:org.apache.struts.taglib.TagUtils.java
/** * Retrieves the value from request scope and if it isn't already an * <code>ActionMessages</code>, some classes are converted to one. * * @param pageContext The PageContext for the current page * @param paramName Key for parameter value * @return ActionErrors in page context. * @throws JspException/* www. j a va2 s .c om*/ */ public ActionMessages getActionMessages(PageContext pageContext, String paramName) throws JspException { ActionMessages am = new ActionMessages(); Object value = pageContext.findAttribute(paramName); if (value != null) { try { if (value instanceof String) { am.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage((String) value)); } else if (value instanceof String[]) { String[] keys = (String[]) value; for (int i = 0; i < keys.length; i++) { am.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(keys[i])); } } else if (value instanceof ActionErrors) { ActionMessages m = (ActionMessages) value; am.add(m); } else if (value instanceof ActionMessages) { am = (ActionMessages) value; } else { throw new JspException( messages.getMessage("actionMessages.errors", value.getClass().getName())); } } catch (JspException e) { throw e; } catch (Exception e) { log.warn("Unable to retieve ActionMessage for paramName : " + paramName, e); } } return am; }
From source file:org.apache.struts.taglib.TagUtils.java
/** * Locate and return the specified property of the specified bean, from an * optionally specified scope, in the specified page context. If an * exception is thrown, it will have already been saved via a call to * <code>saveException()</code>. * * @param pageContext Page context to be searched * @param name Name of the bean to be retrieved * @param property Name of the property to be retrieved, or * <code>null</code> to retrieve the bean itself * @param scope Scope to be searched (page, request, session, * application) or <code>null</code> to use * <code>findAttribute()</code> instead * @return property of specified JavaBean * @throws JspException if an invalid scope name is requested * @throws JspException if the specified bean is not found * @throws JspException if accessing this property causes an * IllegalAccessException, IllegalArgumentException, * InvocationTargetException, or NoSuchMethodException *///from ww w . ja va2 s. co m public Object lookup(PageContext pageContext, String name, String property, String scope) throws JspException { // Look up the requested bean, and return if requested Object bean = lookup(pageContext, name, scope); if (bean == null) { JspException e = null; if (scope == null) { e = new JspException(messages.getMessage("lookup.bean.any", name)); } else { e = new JspException(messages.getMessage("lookup.bean", name, scope)); } saveException(pageContext, e); throw e; } if (property == null) { return bean; } // Locate and return the specified property try { return PropertyUtils.getProperty(bean, property); } catch (IllegalAccessException e) { saveException(pageContext, e); throw new JspException(messages.getMessage("lookup.access", property, name)); } catch (IllegalArgumentException e) { saveException(pageContext, e); throw new JspException(messages.getMessage("lookup.argument", property, name)); } catch (InvocationTargetException e) { Throwable t = e.getTargetException(); if (t == null) { t = e; } saveException(pageContext, t); throw new JspException(messages.getMessage("lookup.target", property, name)); } catch (NoSuchMethodException e) { saveException(pageContext, e); String beanName = name; // Name defaults to Contants.BEAN_KEY if no name is specified by // an input tag. Thus lookup the bean under the key and use // its class name for the exception message. if (Constants.BEAN_KEY.equals(name)) { Object obj = pageContext.findAttribute(Constants.BEAN_KEY); if (obj != null) { beanName = obj.getClass().getName(); } } throw new JspException(messages.getMessage("lookup.method", property, beanName)); } }
From source file:org.apache.struts.taglib.tiles.util.TagUtils.java
/** * Search attribute in different contexts. * First, check in component context, then use pageContext.findAttribute(). * @param beanName Name of bean to retrieve. * @param pageContext Current pageContext. * @return Requested bean or <code>null</code> if not found. */// w ww.j a v a2 s. c om public static Object findAttribute(String beanName, PageContext pageContext) { ComponentContext compContext = ComponentContext.getContext(pageContext.getRequest()); if (compContext != null) { Object attribute = compContext.findAttribute(beanName, pageContext); if (attribute != null) { return attribute; } } // Search in pageContext scopes return pageContext.findAttribute(beanName); }
From source file:org.codehaus.groovy.grails.web.pages.ext.jsp.GroovyPagesPageContext.java
@Override public VariableResolver getVariableResolver() { final PageContext ctx = this; return new VariableResolver() { public Object resolveVariable(String name) throws ELException { return ctx.findAttribute(name); }/*from w w w . ja v a2 s.c o m*/ }; }
From source file:org.displaytag.decorator.DefaultDecoratorFactory.java
/** * <p>// w w w .jav a 2 s . c o m * If the user has specified a decorator, then this method takes care of creating the decorator (and checking to * make sure it is a subclass of the TableDecorator object). If there are any problems loading the decorator then * this will throw a DecoratorInstantiationException which will get propagated up to the page. * </p> * <p> * Two different methods for loading a decorator are handled by this factory: * </p> * <ul> * <li>First of all, an object with key <code>decoratorName</code> is searched in the page/request/session/scope</li> * <li>If not found, assume <code>decoratorName</code> is the class name of the decorator and load it using * reflection</li> * </ul> * @param decoratorName String full decorator class name * @return instance of TableDecorator * @throws DecoratorInstantiationException if unable to load specified TableDecorator */ public TableDecorator loadTableDecorator(PageContext pageContext, String decoratorName) throws DecoratorInstantiationException { if (StringUtils.isBlank(decoratorName)) { return null; } // first check: is decoratorName an object in page/request/session/application scope? Object decorator = pageContext.findAttribute(decoratorName); // second check: if a decorator was not found assume decoratorName is the class name and load it using // reflection if (decorator == null) { try { decorator = ReflectHelper.classForName(decoratorName).newInstance(); } catch (ClassNotFoundException e) { throw new DecoratorInstantiationException(DefaultDecoratorFactory.class, decoratorName, e); } catch (InstantiationException e) { throw new DecoratorInstantiationException(DefaultDecoratorFactory.class, decoratorName, e); } catch (IllegalAccessException e) { throw new DecoratorInstantiationException(DefaultDecoratorFactory.class, decoratorName, e); } } if (decorator instanceof TableDecorator) { return (TableDecorator) decorator; } else { throw new DecoratorInstantiationException(DefaultDecoratorFactory.class, decoratorName, new ClassCastException(decorator.getClass().getName())); } }
From source file:org.displaytag.decorator.DefaultDecoratorFactory.java
/** * <p>/*from w ww . j a v a2 s .c o m*/ * If the user has specified a column decorator, then this method takes care of creating the decorator (and checking * to make sure it is a subclass of the DisplaytagColumnDecorator object). If there are any problems loading the * decorator then this will throw a DecoratorInstantiationException which will get propagated up to the page. * </p> * <p> * Two different methods for loading a decorator are handled by this factory: * </p> * <ul> * <li>First of all, an object with key <code>decoratorName</code> is searched in the page/request/session/scope</li> * <li>If not found, assume <code>decoratorName</code> is the class name of the decorator and load it using * reflection</li> * </ul> * @param decoratorName String full decorator class name * @return instance of DisplaytagColumnDecorator * @throws DecoratorInstantiationException if unable to load ColumnDecorator */ public DisplaytagColumnDecorator loadColumnDecorator(PageContext pageContext, String decoratorName) throws DecoratorInstantiationException { if (StringUtils.isBlank(decoratorName)) { return null; } // first check: is decoratorName an object in page/request/session/application scope? Object decorator = pageContext.findAttribute(decoratorName); // second check: if a decorator was not found assume decoratorName is the class name and load it using // reflection if (decorator == null) { try { decorator = ReflectHelper.classForName(decoratorName).newInstance(); } catch (ClassNotFoundException e) { throw new DecoratorInstantiationException(DefaultDecoratorFactory.class, decoratorName, e); } catch (InstantiationException e) { throw new DecoratorInstantiationException(DefaultDecoratorFactory.class, decoratorName, e); } catch (IllegalAccessException e) { throw new DecoratorInstantiationException(DefaultDecoratorFactory.class, decoratorName, e); } } if (decorator instanceof DisplaytagColumnDecorator) { return (DisplaytagColumnDecorator) decorator; } else if (decorator instanceof ColumnDecorator) { return new DeprecatedDecoratorWrapper((ColumnDecorator) decorator); } else { throw new DecoratorInstantiationException(DefaultDecoratorFactory.class, decoratorName, new ClassCastException(decorator.getClass().getName())); } }
From source file:org.hyperic.hq.ui.taglib.display.TableTag.java
/** * This functionality is borrowed from struts, but I've removed some struts * specific features so that this tag can be used both in a struts * application, and outside of one.//from ww w.j ava2s. c o m * * Locate and return the specified bean, from an optionally specified scope, * in the specified page context. If no such bean is found, return * <code>null</code> instead. * * @param pageContext * Page context to be searched * @param name * Name of the bean to be retrieved * @param scope * Scope to be searched (page, request, session, application) or * <code>null</code> to use <code>findAttribute()</code> instead * * @exception JspException * if an invalid scope name is requested */ public Object lookup(PageContext pageContext, String name, String scope) throws JspException { Object bean = null; if (scope == null) bean = pageContext.findAttribute(name); else if (scope.equalsIgnoreCase("page")) bean = pageContext.getAttribute(name, PageContext.PAGE_SCOPE); else if (scope.equalsIgnoreCase("request")) bean = pageContext.getAttribute(name, PageContext.REQUEST_SCOPE); else if (scope.equalsIgnoreCase("session")) bean = pageContext.getAttribute(name, PageContext.SESSION_SCOPE); else if (scope.equalsIgnoreCase("application")) bean = pageContext.getAttribute(name, PageContext.APPLICATION_SCOPE); else { Object[] objs = { name, scope }; if (prop.getProperty("error.msg.cant_find_bean") != null) { String msg = MessageFormat.format(prop.getProperty("error.msg.cant_find_bean"), objs); throw new JspException(msg); } else { throw new JspException("Could not find " + name + " in scope " + scope); } } return (bean); }