Some change
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
#HSQL Database Engine 2.3.2
|
|
||||||
#Tue May 26 16:36:05 CEST 2020
|
|
||||||
modified=no
|
|
||||||
version=2.3.2
|
|
||||||
File diff suppressed because one or more lines are too long
BIN
temp/work/.DS_Store
vendored
BIN
temp/work/.DS_Store
vendored
Binary file not shown.
BIN
temp/work/Tomcat/.DS_Store
vendored
BIN
temp/work/Tomcat/.DS_Store
vendored
Binary file not shown.
BIN
temp/work/Tomcat/localhost/.DS_Store
vendored
BIN
temp/work/Tomcat/localhost/.DS_Store
vendored
Binary file not shown.
BIN
temp/work/Tomcat/localhost/Babydatenbank/.DS_Store
vendored
BIN
temp/work/Tomcat/localhost/Babydatenbank/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,179 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:36 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import com.openxava.naviox.util.Organizations;
|
|
||||||
import org.openxava.web.Browsers;
|
|
||||||
import org.openxava.util.Users;
|
|
||||||
|
|
||||||
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("com.openxava.naviox.util.Organizations");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Browsers");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Users");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
com.openxava.naviox.Modules modules = null;
|
|
||||||
synchronized (session) {
|
|
||||||
modules = (com.openxava.naviox.Modules) _jspx_page_context.getAttribute("modules", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (modules == null){
|
|
||||||
modules = new com.openxava.naviox.Modules();
|
|
||||||
_jspx_page_context.setAttribute("modules", modules, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
Users.setCurrent(request);
|
|
||||||
if (Users.getCurrent() != null || Organizations.getCurrent(request) != null) {
|
|
||||||
String module = Users.getCurrent() == null?"SignIn":modules.getCurrent(request);
|
|
||||||
String url = Browsers.isMobile(request) && !"Index".equals(modules.getCurrent(request))?"phone":"m/" + module;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<script type=\"text/javascript\">\n");
|
|
||||||
out.write("window.location=\"");
|
|
||||||
out.print(url);
|
|
||||||
out.write("\";\n");
|
|
||||||
out.write("</script>\n");
|
|
||||||
out.write("\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "naviox/welcome.jsp", out, false);
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,183 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:50 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.naviox;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class firstSteps_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<div id=\"first_steps\">\r\n");
|
|
||||||
out.write("\t<i class=\"mdi mdi-reply\"></i>\r\n");
|
|
||||||
out.write("\t<p>");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("</p>\r\n");
|
|
||||||
out.write("</div>\r\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /naviox/firstSteps.jsp(5,4) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey("first_steps_prompt");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,458 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:42 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.naviox;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.web.servlets.Servlets;
|
|
||||||
import org.openxava.util.Locales;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
import org.openxava.web.style.XavaStyle;
|
|
||||||
import org.openxava.web.style.Themes;
|
|
||||||
import com.openxava.naviox.util.Organizations;
|
|
||||||
import org.openxava.util.Users;
|
|
||||||
import com.openxava.naviox.util.NaviOXPreferences;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
|
|
||||||
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/naviox/indexExt.jsp", Long.valueOf(1590428778392L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("com.openxava.naviox.util.NaviOXPreferences");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.style.XavaStyle");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.style.Themes");
|
|
||||||
_jspx_imports_classes.add("com.openxava.naviox.util.Organizations");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Users");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.servlets.Servlets");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Locales");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
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;
|
|
||||||
|
|
||||||
Servlets.setCharacterEncoding(request, response);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write(" \r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
com.openxava.naviox.Modules modules = null;
|
|
||||||
synchronized (session) {
|
|
||||||
modules = (com.openxava.naviox.Modules) _jspx_page_context.getAttribute("modules", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (modules == null){
|
|
||||||
modules = new com.openxava.naviox.Modules();
|
|
||||||
_jspx_page_context.setAttribute("modules", modules, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
|
|
||||||
String windowId = context.getWindowId(request);
|
|
||||||
context.setCurrentWindowId(windowId);
|
|
||||||
String app = request.getParameter("application");
|
|
||||||
String module = context.getCurrentModule(request);
|
|
||||||
Locales.setCurrent(request);
|
|
||||||
modules.setCurrent(request.getParameter("application"), request.getParameter("module"));
|
|
||||||
String oxVersion = org.openxava.controller.ModuleManager.getVersion();
|
|
||||||
String title = (String) request.getAttribute("naviox.pageTitle");
|
|
||||||
if (title == null) title = modules.getCurrentModuleDescription(request);
|
|
||||||
boolean hasModules = modules.hasModules(request);
|
|
||||||
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context
|
|
||||||
.get(app, module, "manager", "org.openxava.controller.ModuleManager");
|
|
||||||
manager.setSession(session);
|
|
||||||
manager.setApplicationName(request.getParameter("application"));
|
|
||||||
manager.setModuleName(module); // In order to show the correct description in head
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<!DOCTYPE html>\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<head>\r\n");
|
|
||||||
out.write("\t<title>");
|
|
||||||
out.print(title);
|
|
||||||
out.write("</title>\r\n");
|
|
||||||
out.write("\t<link href=\"");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/xava/style/layout.css?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("\" rel=\"stylesheet\" type=\"text/css\">\r\n");
|
|
||||||
out.write(" <link href=\"");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/xava/style/");
|
|
||||||
out.print(Themes.getCSS(request));
|
|
||||||
out.write("?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("\" rel=\"stylesheet\" type=\"text/css\"> \r\n");
|
|
||||||
out.write("\t<link rel=\"stylesheet\" href=\"");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/xava/style/materialdesignicons.css?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("\">\r\n");
|
|
||||||
out.write("\t<script type='text/javascript' src='");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/xava/js/dwr-engine.js?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("'></script>\r\n");
|
|
||||||
out.write("\t<script type='text/javascript' src='");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/dwr/interface/Modules.js?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("'></script>\r\n");
|
|
||||||
out.write("\t<script type='text/javascript' src='");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/dwr/interface/Folders.js?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("'></script>\r\n");
|
|
||||||
out.write("</head>\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<body ");
|
|
||||||
out.print(XavaStyle.getBodyClass(request));
|
|
||||||
out.write(">\r\n");
|
|
||||||
out.write("\t\r\n");
|
|
||||||
out.write("\t<div id=\"main\"> \r\n");
|
|
||||||
out.write("\t\t\t\t\r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
if (hasModules) {
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "leftMenu.jsp", out, false);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
}
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t\t<div class=\"module-wrapper\">\r\n");
|
|
||||||
out.write("\t\t\t<div id=\"module_header\">\r\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
String moduleTitle = hasModules?modules.getCurrentModuleLabel():modules.getCurrentModuleDescription(request);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t<span id=\"module_title\">");
|
|
||||||
out.print(moduleTitle);
|
|
||||||
out.write("</span> \r\n");
|
|
||||||
out.write("\t\t\t\t<a href=\"javascript:naviox.bookmark()\" title=\"");
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /naviox/index.jsp(60,50) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey(modules.isCurrentBookmarked(request)?"unbookmark_module":"bookmark_module");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\"> \r\n");
|
|
||||||
out.write("\t\t\t\t\t<i id=\"bookmark\" class='mdi mdi-star");
|
|
||||||
out.print(modules.isCurrentBookmarked(request)?"":"-outline");
|
|
||||||
out.write("'></i> \r\n");
|
|
||||||
out.write("\t\t\t\t</a>\r\n");
|
|
||||||
out.write("\t\t\t\t<div id=\"sign_in_out\">\r\n");
|
|
||||||
out.write("\t\t\t\t\t");
|
|
||||||
|
|
||||||
if (Is.emptyString(NaviOXPreferences.getInstance().getAutologinUser())) {
|
|
||||||
String userName = Users.getCurrent();
|
|
||||||
String currentModule = request.getParameter("module");
|
|
||||||
boolean showSignIn = userName == null && !currentModule.equals("SignIn");
|
|
||||||
|
|
||||||
if (showSignIn) {
|
|
||||||
String selected = "SignIn".equals(currentModule)?"selected":"";
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t\t<a href=\"");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/m/SignIn\" class=\"sign-in ");
|
|
||||||
out.print(selected);
|
|
||||||
out.write("\">\r\n");
|
|
||||||
out.write("\t\t\t\t\t\t\t");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t\t</a>\r\n");
|
|
||||||
out.write("\t\t\t\t\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (userName != null) {
|
|
||||||
String organization = Organizations.getCurrent(request);
|
|
||||||
if (organization == null) organization = "";
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t\t<a href=\"");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/naviox/signOut.jsp?organization=");
|
|
||||||
out.print(organization);
|
|
||||||
out.write("\" class=\"sign-in\">");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f2(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write(' ');
|
|
||||||
out.write('(');
|
|
||||||
out.print(userName);
|
|
||||||
out.write(")</a>\r\n");
|
|
||||||
out.write("\t\t\t\t\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t</div>\r\n");
|
|
||||||
out.write("\t\t\t</div>\t\t\t\t\r\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
if ("SignIn".equals(module)) {
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "signIn.jsp", out, false);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
} else {
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t<div id=\"module\"> \t\r\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../xava/module.jsp?application=" + app + "&module=" + module + "&htmlHead=false", out, false);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t</div> \r\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
}
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t</div>\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t</div> \r\n");
|
|
||||||
out.write("\t\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t<script type='text/javascript' src='");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/naviox/js/naviox.js?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("'></script> \r\n");
|
|
||||||
out.write("\t\r\n");
|
|
||||||
out.write("\t<script>\r\n");
|
|
||||||
out.write("\t$(function() {\r\n");
|
|
||||||
out.write("\t\tnaviox.lockSessionMilliseconds = ");
|
|
||||||
out.print(com.openxava.naviox.model.Configuration.getInstance().getLockSessionMilliseconds());
|
|
||||||
out.write("; \r\n");
|
|
||||||
out.write("\t\tnaviox.application = \"");
|
|
||||||
out.print(app);
|
|
||||||
out.write("\";\r\n");
|
|
||||||
out.write("\t\tnaviox.module = \"");
|
|
||||||
out.print(module);
|
|
||||||
out.write("\";\r\n");
|
|
||||||
out.write("\t\tnaviox.locked = ");
|
|
||||||
out.print(context.get(request, "naviox_locked"));
|
|
||||||
out.write(";\r\n");
|
|
||||||
out.write("\t\tnaviox.init();\r\n");
|
|
||||||
out.write("\t});\r\n");
|
|
||||||
out.write("\t</script>\r\n");
|
|
||||||
out.write("\t\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("</body>\r\n");
|
|
||||||
out.write("</html>\r\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setParent(null);
|
|
||||||
// /naviox/index.jsp(74,7) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setKey("signin");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
|
|
||||||
_jspx_th_xava_005fmessage_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f2 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setParent(null);
|
|
||||||
// /naviox/index.jsp(82,112) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setKey("signout");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f2 = _jspx_th_xava_005fmessage_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f2);
|
|
||||||
_jspx_th_xava_005fmessage_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f2_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,302 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:49 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.naviox;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.util.Users;
|
|
||||||
|
|
||||||
public final class leftMenu_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("/naviox/organizationNameExt.jsp", Long.valueOf(1590428776669L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Users");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
com.openxava.naviox.Modules modules = null;
|
|
||||||
synchronized (session) {
|
|
||||||
modules = (com.openxava.naviox.Modules) _jspx_page_context.getAttribute("modules", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (modules == null){
|
|
||||||
modules = new com.openxava.naviox.Modules();
|
|
||||||
_jspx_page_context.setAttribute("modules", modules, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<div id=\"modules_list\"> \r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t<div id=\"modules_list_top\"> \r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t<div id=\"application_title\">\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t\t\t<div id=\"application_name\">\r\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(modules.getApplicationLabel(request));
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t</div>\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t\t\t<div id=\"organization_name\">\r\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
String organizationName = modules.getOrganizationName(request);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(organizationName);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t</div>\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t\t</div>\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
if (Users.getCurrent() != null && modules.showsIndexLink()) {
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t \r\n");
|
|
||||||
out.write("\t\t\t<a href=\"");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/m/Index\">\r\n");
|
|
||||||
out.write("\t\t\t\t<div id='organizations_index' class='");
|
|
||||||
out.print("Index".equals(request.getParameter("module"))?"selected":"");
|
|
||||||
out.write("'>\t\r\n");
|
|
||||||
out.write("\t\t\t\t\t<i class=\"mdi mdi-apps\"></i>\r\n");
|
|
||||||
out.write("\t\t\t\t\t");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t</div>\t\r\n");
|
|
||||||
out.write("\t\t\t</a>\r\n");
|
|
||||||
out.write("\t\t\t\r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
}
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "selectModules.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("fixedModules", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("true", request.getCharacterEncoding()), out, false);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "selectModules.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("bookmarkModules", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("true", request.getCharacterEncoding()), out, false);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
if (modules.showsSearchModules(request)) {
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t<div id=\"search_modules\">\r\n");
|
|
||||||
out.write("\t\t<input id=\"search_modules_text\" type=\"text\" size=\"38\" placeholder='");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("'/>\r\n");
|
|
||||||
out.write("\t\t</div>\r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
}
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\r\n");
|
|
||||||
out.write("\t</div> \t\r\n");
|
|
||||||
out.write("\t\t\t\t\t\t\t\r\n");
|
|
||||||
out.write("\t<div id=\"modules_list_outbox\">\r\n");
|
|
||||||
out.write("\t\t<table id=\"modules_list_box\">\r\n");
|
|
||||||
out.write("\t\t\t<tr id=\"modules_list_content\">\r\n");
|
|
||||||
out.write("\t\t\t\t<td>\r\n");
|
|
||||||
out.write("\t\t\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "modulesMenu.jsp", out, false);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t\t</td>\t\t\t\t\t\t\r\n");
|
|
||||||
out.write("\t\t\t</tr>\r\n");
|
|
||||||
out.write("\t\t</table>\r\n");
|
|
||||||
out.write("\t</div>\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("</div>\r\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f0 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f0.setParent(null);
|
|
||||||
// /naviox/leftMenu.jsp(30,5) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f0.setKey("myOrganizations");
|
|
||||||
int _jspx_eval_xava_005flabel_005f0 = _jspx_th_xava_005flabel_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f0);
|
|
||||||
_jspx_th_xava_005flabel_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /naviox/leftMenu.jsp(47,69) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey("search_modules");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,135 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:49 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.naviox;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class modulesList_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
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;
|
|
||||||
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "selectModules.jsp", out, false);
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,152 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:49 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.naviox;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class modulesMenu_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<div id=\"modules_list_core\">\n");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "modulesList.jsp", out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</div>\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,329 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:49 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.naviox;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.Collection;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.util.Strings;
|
|
||||||
import org.openxava.application.meta.MetaModule;
|
|
||||||
|
|
||||||
public final class selectModules_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("/naviox/getModulesList.jsp", Long.valueOf(1590428777763L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("java.util.Iterator");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Strings");
|
|
||||||
_jspx_imports_classes.add("java.util.Collection");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
_jspx_imports_classes.add("org.openxava.application.meta.MetaModule");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
com.openxava.naviox.Modules modules = null;
|
|
||||||
synchronized (session) {
|
|
||||||
modules = (com.openxava.naviox.Modules) _jspx_page_context.getAttribute("modules", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (modules == null){
|
|
||||||
modules = new com.openxava.naviox.Modules();
|
|
||||||
_jspx_page_context.setAttribute("modules", modules, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String searchWord = request.getParameter("searchWord");
|
|
||||||
searchWord = searchWord == null?"":Strings.removeAccents(searchWord.toLowerCase());
|
|
||||||
Collection modulesList = null;
|
|
||||||
boolean bookmarkModules = false;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if ("true".equals(request.getParameter("fixedModules"))) {
|
|
||||||
modulesList = modules.getFixedModules(request);
|
|
||||||
}
|
|
||||||
else if ("true".equals(request.getParameter("bookmarkModules"))) {
|
|
||||||
modulesList = modules.getBookmarkModules(request);
|
|
||||||
bookmarkModules = true;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
modulesList = modules.getRegularModules(request);
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String smodulesLimit = request.getParameter("modulesLimit");
|
|
||||||
int modulesLimit = smodulesLimit == null?30:Integer.parseInt(smodulesLimit);
|
|
||||||
int counter = 0;
|
|
||||||
boolean loadMore = false;
|
|
||||||
for (Iterator it= modulesList.iterator(); it.hasNext();) {
|
|
||||||
if (counter == modulesLimit) {
|
|
||||||
loadMore = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
MetaModule module = (MetaModule) it.next();
|
|
||||||
String selected = module.getName().equals(modules.getCurrent(request))?"selected":"";
|
|
||||||
String label = module.getLabel(request.getLocale());
|
|
||||||
String description = module.getDescription(request.getLocale());
|
|
||||||
String normalizedLabel = Strings.removeAccents(label.toLowerCase());
|
|
||||||
String normalizedDescription = Strings.removeAccents(description.toLowerCase());
|
|
||||||
if (!Is.emptyString(searchWord) && !normalizedLabel.contains(searchWord) && !normalizedDescription.contains(searchWord)) continue;
|
|
||||||
counter++;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<a href=\"");
|
|
||||||
out.print(modules.getModuleURI(request, module));
|
|
||||||
out.write("?init=true\" title=\"");
|
|
||||||
out.print(description);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write(' ');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<div id=\"");
|
|
||||||
out.print(module.getName());
|
|
||||||
out.write("_module\" class=\"module-row ");
|
|
||||||
out.print(selected);
|
|
||||||
out.write("\" onclick=\"$('#");
|
|
||||||
out.print(module.getName());
|
|
||||||
out.write("_loading').show()\">\t\n");
|
|
||||||
out.write("\t\t<div class=\"module-name\">\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(label);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
if (bookmarkModules) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t<i class=\"mdi mdi-star bookmark-decoration\"></i>\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t<i id=\"");
|
|
||||||
out.print(module.getName());
|
|
||||||
out.write("_loading\" class=\"mdi mdi-autorenew module-loading spin\" style=\"float: right; display:none;\"></i>\n");
|
|
||||||
out.write("\t\t</div>\n");
|
|
||||||
out.write("\t</div>\t\n");
|
|
||||||
out.write("\t</a>\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (loadMore) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<a href=\"javascript:naviox.displayAllModulesList('");
|
|
||||||
out.print(searchWord);
|
|
||||||
out.write("')\">\n");
|
|
||||||
out.write("\t<div id=\"more_modules\" class=\"module-row\" onclick=\"$('#loading_more_modules').show(); $('#load_more_modules').hide();\">\n");
|
|
||||||
out.write("\t<span id=\"loading_more_modules\" style=\"display:none;\">\n");
|
|
||||||
out.write("\t");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("...\n");
|
|
||||||
out.write("\t<i class=\"mdi mdi-autorenew module-loading spin\" style=\"float: right;\"></i>\n");
|
|
||||||
out.write("\t</span>\n");
|
|
||||||
out.write("\t<span id=\"load_more_modules\">\n");
|
|
||||||
out.write("\t");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("...\n");
|
|
||||||
out.write("\t</span>\t\n");
|
|
||||||
out.write("\t</div>\t\n");
|
|
||||||
out.write("\t</a>\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /naviox/selectModules.jsp(57,1) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey("loading");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setParent(null);
|
|
||||||
// /naviox/selectModules.jsp(61,1) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setKey("load_more_modules");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
|
|
||||||
_jspx_th_xava_005fmessage_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,144 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:42 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.naviox;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class signIn_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
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;
|
|
||||||
|
|
||||||
|
|
||||||
String app = request.getParameter("application");
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<div id=\"sign_in_box\">\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../xava/module.jsp?application=" + app + "&module=SignIn", out, false);
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("</div>\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,315 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:37 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.naviox;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.application.meta.MetaApplications;
|
|
||||||
import org.openxava.application.meta.MetaApplication;
|
|
||||||
import org.openxava.util.Locales;
|
|
||||||
import org.openxava.web.style.XavaStyle;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
import org.openxava.web.Browsers;
|
|
||||||
|
|
||||||
public final class welcome_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("org.openxava.application.meta.MetaApplications");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.style.XavaStyle");
|
|
||||||
_jspx_imports_classes.add("org.openxava.application.meta.MetaApplication");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Browsers");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Locales");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write(" \r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
|
|
||||||
MetaApplication metaApplication = MetaApplications.getMainMetaApplication();
|
|
||||||
Locales.setCurrent(request);
|
|
||||||
String oxVersion = org.openxava.controller.ModuleManager.getVersion();
|
|
||||||
String title = (String) request.getAttribute("naviox.pageTitle");
|
|
||||||
if (title == null) title = metaApplication.getLabel();
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<!DOCTYPE html>\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<head>\r\n");
|
|
||||||
out.write("\t<title>");
|
|
||||||
out.print(title);
|
|
||||||
out.write("</title>\r\n");
|
|
||||||
out.write("\t<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1'>\r\n");
|
|
||||||
out.write("\t<link href=\"");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/xava/style/");
|
|
||||||
out.print(XavaPreferences.getInstance().getStyleCSS());
|
|
||||||
out.write("?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("\" rel=\"stylesheet\" type=\"text/css\">\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
if (Browsers.isIE(request)) {
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t<script type='text/javascript' src=\"");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write("/xava/js/css-vars-ponyfill.js?ox=");
|
|
||||||
out.print(oxVersion);
|
|
||||||
out.write("\"></script>\r\n");
|
|
||||||
out.write("\t<script type='text/javascript'>cssVars({ }); </script>\t\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
}
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\r\n");
|
|
||||||
out.write("</head>\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<body id=\"welcome\" ");
|
|
||||||
out.print(XavaStyle.getBodyClass(request));
|
|
||||||
out.write(">\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<h1>");
|
|
||||||
out.print(metaApplication.getLabel());
|
|
||||||
out.write("</h1>\r\n");
|
|
||||||
out.write("<p>");
|
|
||||||
out.print(metaApplication.getDescription());
|
|
||||||
out.write("</p>\r\n");
|
|
||||||
out.write("<p>");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("</p> \r\n");
|
|
||||||
out.write("<p id=\"signin_tip\">");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("</p> \r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<div class=\"ox-bottom-buttons\">\r\n");
|
|
||||||
out.write("\t<input type=\"hidden\">\r\n");
|
|
||||||
out.write("\t<input type=\"button\" tabindex=\"1\" onclick=\"window.location='m/SignIn'\" value=\"");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\"> \r\n");
|
|
||||||
out.write("</div>\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("</body>\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /naviox/welcome.jsp(44,3) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey("welcome_point1");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setParent(null);
|
|
||||||
// /naviox/welcome.jsp(45,19) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setKey("signin_tip");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
|
|
||||||
_jspx_th_xava_005fmessage_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f0 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f0.setParent(null);
|
|
||||||
// /naviox/welcome.jsp(49,79) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f0.setKey("SignIn");
|
|
||||||
int _jspx_eval_xava_005flabel_005f0 = _jspx_th_xava_005flabel_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f0);
|
|
||||||
_jspx_th_xava_005flabel_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,303 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:55 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.controller.meta.MetaControllers;
|
|
||||||
import org.openxava.controller.meta.MetaAction;
|
|
||||||
|
|
||||||
public final class barButton_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.controller.meta.MetaAction");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("org.openxava.controller.meta.MetaControllers");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
boolean showImages = style.isShowImageInButtonBarButton();
|
|
||||||
boolean showIcons = style.isUseIconsInsteadOfImages();
|
|
||||||
boolean showLabels = !showImages?true:XavaPreferences.getInstance().isShowLabelsForToolBarActions();
|
|
||||||
String actionName = request.getParameter("action");
|
|
||||||
String addSpaceWithoutImage = request.getParameter("addSpaceWithoutImage");
|
|
||||||
boolean addSpace = "true".equals(addSpaceWithoutImage);
|
|
||||||
if (!Is.emptyString(actionName)) {
|
|
||||||
MetaAction action = MetaControllers.getMetaAction(request.getParameter("action"));
|
|
||||||
String argv = request.getParameter("argv");
|
|
||||||
String label = action.getLabel(request);
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
if (style.isUseStandardImageActionForOnlyImageActionOnButtonBar() && action.hasImage() && Is.emptyString(label)) {
|
|
||||||
out.write('\n');
|
|
||||||
// xava:image
|
|
||||||
org.openxava.web.taglib.ImageTag _jspx_th_xava_005fimage_005f0 = (org.openxava.web.taglib.ImageTag) _005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ImageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fimage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fimage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fimage_005f0.setParent(null);
|
|
||||||
// /xava/barButton.jsp(24,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fimage_005f0.setAction(action.getQualifiedName());
|
|
||||||
// /xava/barButton.jsp(24,0) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fimage_005f0.setArgv(argv );
|
|
||||||
// /xava/barButton.jsp(24,0) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fimage_005f0.setCssClass(style.getButtonBarImage());
|
|
||||||
int _jspx_eval_xava_005fimage_005f0 = _jspx_th_xava_005fimage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fimage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005fimage_005f0);
|
|
||||||
_jspx_th_xava_005fimage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fimage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fimage_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
} else {
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("<span class=\"");
|
|
||||||
out.print(style.getButtonBarButton());
|
|
||||||
out.write("\">\t\n");
|
|
||||||
// xava:link
|
|
||||||
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f0 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction.get(org.openxava.web.taglib.LinkTag.class);
|
|
||||||
boolean _jspx_th_xava_005flink_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flink_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flink_005f0.setParent(null);
|
|
||||||
// /xava/barButton.jsp(27,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setAction(action.getQualifiedName());
|
|
||||||
// /xava/barButton.jsp(27,0) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setArgv(argv );
|
|
||||||
int _jspx_eval_xava_005flink_005f0 = _jspx_th_xava_005flink_005f0.doStartTag();
|
|
||||||
if (_jspx_eval_xava_005flink_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
|
|
||||||
do {
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
boolean showLabel = (showLabels || !action.hasImage()) && !Is.emptyString(label);
|
|
||||||
boolean showImage = showImages && action.hasImage() || action.hasImage() && Is.emptyString(label);
|
|
||||||
boolean showIcon = action.hasIcon() && (showImages && (showIcons || !action.hasImage()) || Is.emptyString(label) && (showIcons || !action.hasImage()));
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
if (showIcon) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<i class=\"mdi mdi-");
|
|
||||||
out.print(action.getIcon());
|
|
||||||
out.write("\"></i>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
} else if (showImage) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<span style=\"background: url(");
|
|
||||||
out.print(request.getContextPath());
|
|
||||||
out.write('/');
|
|
||||||
out.print(style.getImagesFolder());
|
|
||||||
out.write('/');
|
|
||||||
out.print(action.getImage());
|
|
||||||
out.write(") no-repeat 5px 50%;\">\n");
|
|
||||||
out.write("\t\t \n");
|
|
||||||
out.write("\t\t</span>\t\t\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
} else if(addSpace) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<span>\n");
|
|
||||||
out.write("\t\t \n");
|
|
||||||
out.write("\t\t</span>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
if (showLabel) {
|
|
||||||
out.write("\t\t\t \t\t\t\t \t\t\t\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
out.print(label);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
}
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
int evalDoAfterBody = _jspx_th_xava_005flink_005f0.doAfterBody();
|
|
||||||
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
|
|
||||||
break;
|
|
||||||
} while (true);
|
|
||||||
}
|
|
||||||
if (_jspx_th_xava_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction.reuse(_jspx_th_xava_005flink_005f0);
|
|
||||||
_jspx_th_xava_005flink_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
}
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,274 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:46 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.controller.meta.MetaAction;
|
|
||||||
|
|
||||||
public final class bottomButtons_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.controller.meta.MetaAction");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager", "org.openxava.controller.ModuleManager");
|
|
||||||
manager.setSession(session);
|
|
||||||
if (manager.isBottomButtonsVisible()) {
|
|
||||||
|
|
||||||
boolean buttonBar = !"false".equalsIgnoreCase(request.getParameter("buttonBar"));
|
|
||||||
String mode = request.getParameter("xava_mode");
|
|
||||||
if (mode == null) mode = manager.getModeName();
|
|
||||||
|
|
||||||
String defaultAction = null;
|
|
||||||
if (org.openxava.util.XavaPreferences.getInstance().isShowDefaultActionInBottom() && manager.isDetailMode()) {
|
|
||||||
defaultAction = manager.getDefaultActionQualifiedName();
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:button
|
|
||||||
org.openxava.web.taglib.ButtonTag _jspx_th_xava_005fbutton_005f0 = (org.openxava.web.taglib.ButtonTag) _005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.get(org.openxava.web.taglib.ButtonTag.class);
|
|
||||||
boolean _jspx_th_xava_005fbutton_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fbutton_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fbutton_005f0.setParent(null);
|
|
||||||
// /xava/bottomButtons.jsp(20,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fbutton_005f0.setAction(defaultAction);
|
|
||||||
int _jspx_eval_xava_005fbutton_005f0 = _jspx_th_xava_005fbutton_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fbutton_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.reuse(_jspx_th_xava_005fbutton_005f0);
|
|
||||||
_jspx_th_xava_005fbutton_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fbutton_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fbutton_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
java.util.Iterator it = manager.getMetaActions().iterator();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
MetaAction action = (MetaAction) it.next();
|
|
||||||
if (!manager.actionApplies(action)) continue;
|
|
||||||
if (action.getQualifiedName().equals(defaultAction)) continue;
|
|
||||||
if (action.appliesToMode(mode) && (!buttonBar || !(action.hasImage() || action.hasIcon()))) {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:button
|
|
||||||
org.openxava.web.taglib.ButtonTag _jspx_th_xava_005fbutton_005f1 = (org.openxava.web.taglib.ButtonTag) _005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.get(org.openxava.web.taglib.ButtonTag.class);
|
|
||||||
boolean _jspx_th_xava_005fbutton_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fbutton_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fbutton_005f1.setParent(null);
|
|
||||||
// /xava/bottomButtons.jsp(33,2) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fbutton_005f1.setAction(action.getQualifiedName());
|
|
||||||
int _jspx_eval_xava_005fbutton_005f1 = _jspx_th_xava_005fbutton_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fbutton_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.reuse(_jspx_th_xava_005fbutton_005f1);
|
|
||||||
_jspx_th_xava_005fbutton_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fbutton_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fbutton_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
MetaAction defaultMetaAction = manager.getDefaultMetaAction();
|
|
||||||
if (defaultMetaAction != null) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<button name=\"xava.DEFAULT_ACTION\" type=\"submit\" \n");
|
|
||||||
out.write("\t\tonclick=\"openxava.executeAction('");
|
|
||||||
out.print(request.getParameter("application"));
|
|
||||||
out.write("', '");
|
|
||||||
out.print(request.getParameter("module"));
|
|
||||||
out.write("', '");
|
|
||||||
out.print(defaultMetaAction.getConfirmMessage(request));
|
|
||||||
out.write('\'');
|
|
||||||
out.write(',');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(defaultMetaAction.isConfirm());
|
|
||||||
out.write(',');
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\'');
|
|
||||||
out.print(manager.getDefaultActionQualifiedName());
|
|
||||||
out.write("')\"\n");
|
|
||||||
out.write("\t\tstyle=\"padding: 0; border: none; background-color:transparent; size: 0\"></button>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
} // if (manager.isBottomButtonsVisible()) {
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,525 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:44 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.controller.meta.MetaAction;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.controller.meta.MetaSubcontroller;
|
|
||||||
import java.util.Collection;
|
|
||||||
import org.openxava.web.Ids;
|
|
||||||
import org.openxava.util.EmailNotifications;
|
|
||||||
import org.openxava.controller.meta.MetaControllerElement;
|
|
||||||
|
|
||||||
public final class buttonBar_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.controller.meta.MetaAction");
|
|
||||||
_jspx_imports_classes.add("org.openxava.controller.meta.MetaSubcontroller");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("java.util.Collection");
|
|
||||||
_jspx_imports_classes.add("org.openxava.controller.meta.MetaControllerElement");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Ids");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.EmailNotifications");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager", "org.openxava.controller.ModuleManager");
|
|
||||||
manager.setSession(session);
|
|
||||||
boolean onBottom = false;
|
|
||||||
String mode = request.getParameter("xava_mode");
|
|
||||||
if (mode == null) mode = manager.isSplitMode()?"detail":manager.getModeName();
|
|
||||||
boolean headerButtonBar = !manager.isSplitMode() || mode.equals("list");
|
|
||||||
boolean listFormats = !manager.isSplitMode() && mode.equals("list");
|
|
||||||
|
|
||||||
if (manager.isButtonBarVisible()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<div class=\"");
|
|
||||||
out.print(style.getButtonBar());
|
|
||||||
out.write("\"> \n");
|
|
||||||
out.write("\t<div id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t<span style=\"float: left\">\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
java.util.Stack previousViews = (java.util.Stack) context.get(request, "xava_previousViews");
|
|
||||||
if (manager.isDetailMode() && !manager.isDetailModeOnly() && previousViews.isEmpty()) {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "barButton.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("action", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(manager.getGoListAction()), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Collection<MetaControllerElement> elements = manager.getMetaControllerElements();
|
|
||||||
for (MetaControllerElement element : elements){
|
|
||||||
if (!element.appliesToMode(mode)) continue;
|
|
||||||
if (element instanceof MetaAction){
|
|
||||||
MetaAction action = (MetaAction) element;
|
|
||||||
if (!manager.actionApplies(action)) continue;
|
|
||||||
if (action.hasImage() || action.hasIcon()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "barButton.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("action", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(action.getQualifiedName()), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (element instanceof MetaSubcontroller){
|
|
||||||
MetaSubcontroller subcontroller = (MetaSubcontroller) element;
|
|
||||||
if (subcontroller.hasActionsInThisMode(mode)){
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "subButton.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("controller", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(subcontroller.getControllerName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("image", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(subcontroller.getImage()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("icon", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(subcontroller.getIcon()), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</span>\n");
|
|
||||||
out.write("\t</div>\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<div id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t<span style=\"float: right\">\n");
|
|
||||||
out.write("\t<span style=\"float: left;\" class=\"");
|
|
||||||
out.print(style.getListFormats());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
if (listFormats) {
|
|
||||||
String tabObject = request.getParameter("tabObject");
|
|
||||||
tabObject = (tabObject == null || tabObject.equals(""))?"xava_tab":tabObject;
|
|
||||||
org.openxava.tab.Tab tab = (org.openxava.tab.Tab) context.get(request, tabObject);
|
|
||||||
Collection<String> editors = org.openxava.web.WebEditors.getEditors(tab.getMetaTab());
|
|
||||||
if (editors.size() > 1) for (String editor: editors) {
|
|
||||||
String icon = org.openxava.web.WebEditors.getIcon(editor);
|
|
||||||
if (icon == null) continue;
|
|
||||||
String selected = editor.equals(tab.getEditor())?style.getSelectedListFormat():"";
|
|
||||||
if (Is.emptyString(editor)) editor = "__NONAME__";
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:link
|
|
||||||
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f0 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction.get(org.openxava.web.taglib.LinkTag.class);
|
|
||||||
boolean _jspx_th_xava_005flink_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flink_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flink_005f0.setParent(null);
|
|
||||||
// /xava/buttonBar.jsp(86,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setAction("ListFormat.select");
|
|
||||||
// /xava/buttonBar.jsp(86,1) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setArgv("editor=" + editor);
|
|
||||||
// /xava/buttonBar.jsp(86,1) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setCssClass(selected);
|
|
||||||
int _jspx_eval_xava_005flink_005f0 = _jspx_th_xava_005flink_005f0.doStartTag();
|
|
||||||
if (_jspx_eval_xava_005flink_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
|
|
||||||
do {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<i class=\"mdi mdi-");
|
|
||||||
out.print(icon);
|
|
||||||
out.write("\" onclick=\"openxava.onSelectListFormat(event)\" title=\"");
|
|
||||||
out.print(org.openxava.util.Labels.get(editor));
|
|
||||||
out.write("\"></i>\n");
|
|
||||||
out.write("\t");
|
|
||||||
int evalDoAfterBody = _jspx_th_xava_005flink_005f0.doAfterBody();
|
|
||||||
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
|
|
||||||
break;
|
|
||||||
} while (true);
|
|
||||||
}
|
|
||||||
if (_jspx_th_xava_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction.reuse(_jspx_th_xava_005flink_005f0);
|
|
||||||
_jspx_th_xava_005flink_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\t\t\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</span>\n");
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
if (EmailNotifications.isEnabled(manager.getModuleName())) {
|
|
||||||
if (EmailNotifications.isSubscribedCurrentUserToModule(manager.getModuleName())) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t<span class=\"");
|
|
||||||
out.print(style.getSubscribed());
|
|
||||||
out.write("\"> \n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
if (_jspx_meth_xava_005fimage_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t</span>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t\t\t<span class=\"");
|
|
||||||
out.print(style.getUnsubscribed());
|
|
||||||
out.write("\"> \n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
if (_jspx_meth_xava_005fimage_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t</span> \t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (XavaPreferences.getInstance().isHelpAvailable() && style.isHelpAvailable()) {
|
|
||||||
String language = request.getLocale().getLanguage();
|
|
||||||
String href = XavaPreferences.getInstance().getHelpPrefix();
|
|
||||||
String suffix = XavaPreferences.getInstance().getHelpSuffix();
|
|
||||||
String target = XavaPreferences.getInstance().isHelpInNewWindow() ? "_blank" : "";
|
|
||||||
if (href.startsWith("http:") || href.startsWith("https:")) {
|
|
||||||
if (href.endsWith("_")) href = href + language;
|
|
||||||
if (!Is.emptyString(suffix)) href = href + suffix;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
href =
|
|
||||||
"/" + manager.getApplicationName() + "/" +
|
|
||||||
href +
|
|
||||||
manager.getModuleName() +
|
|
||||||
"_" + language +
|
|
||||||
suffix;
|
|
||||||
}
|
|
||||||
String helpImage = null;
|
|
||||||
if (style.getHelpImage() != null) helpImage = !style.getHelpImage().startsWith("/")?request.getContextPath() + "/" + style.getHelpImage():style.getHelpImage();
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<span class=\"");
|
|
||||||
out.print(style.getHelp());
|
|
||||||
out.write("\"> \n");
|
|
||||||
out.write("\t\t\t<a href=\"");
|
|
||||||
out.print(href);
|
|
||||||
out.write("\" target=\"");
|
|
||||||
out.print(target);
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
if (helpImage == null) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t<i class=\"mdi mdi-help-circle\"></i>\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
} else {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t<a href=\"");
|
|
||||||
out.print(href);
|
|
||||||
out.write("\" target=\"");
|
|
||||||
out.print(target);
|
|
||||||
out.write("\"><img src=\"");
|
|
||||||
out.print(helpImage);
|
|
||||||
out.write("\"/></a>\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t</a>\n");
|
|
||||||
out.write("\t\t</span>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t \n");
|
|
||||||
out.write("\t</span>\t\t\n");
|
|
||||||
out.write("\t</div>\t<!-- modes -->\n");
|
|
||||||
out.write("\t</div>\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
} // end isButtonBarVisible
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/buttonBar.jsp(28,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName("controllerElement");
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f1.setParent(null);
|
|
||||||
// /xava/buttonBar.jsp(71,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f1.setName("modes");
|
|
||||||
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
|
|
||||||
_jspx_th_xava_005fid_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fimage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:image
|
|
||||||
org.openxava.web.taglib.ImageTag _jspx_th_xava_005fimage_005f0 = (org.openxava.web.taglib.ImageTag) _005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.get(org.openxava.web.taglib.ImageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fimage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fimage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fimage_005f0.setParent(null);
|
|
||||||
// /xava/buttonBar.jsp(100,4) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fimage_005f0.setAction("EmailNotifications.unsubscribe");
|
|
||||||
int _jspx_eval_xava_005fimage_005f0 = _jspx_th_xava_005fimage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fimage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.reuse(_jspx_th_xava_005fimage_005f0);
|
|
||||||
_jspx_th_xava_005fimage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fimage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fimage_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fimage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:image
|
|
||||||
org.openxava.web.taglib.ImageTag _jspx_th_xava_005fimage_005f1 = (org.openxava.web.taglib.ImageTag) _005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.get(org.openxava.web.taglib.ImageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fimage_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fimage_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fimage_005f1.setParent(null);
|
|
||||||
// /xava/buttonBar.jsp(107,4) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fimage_005f1.setAction("EmailNotifications.subscribe");
|
|
||||||
int _jspx_eval_xava_005fimage_005f1 = _jspx_th_xava_005fimage_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fimage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.reuse(_jspx_th_xava_005fimage_005f1);
|
|
||||||
_jspx_th_xava_005fimage_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fimage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fimage_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,878 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:44 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class core_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("/xava/viewExt.jsp", Long.valueOf(1590428773172L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.util.Messages errors = null;
|
|
||||||
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (errors == null){
|
|
||||||
errors = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.util.Messages messages = null;
|
|
||||||
messages = (org.openxava.util.Messages) _jspx_page_context.getAttribute("messages", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (messages == null){
|
|
||||||
messages = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("messages", messages, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager");
|
|
||||||
org.openxava.view.View view = (org.openxava.view.View) context.get(request, "xava_view");
|
|
||||||
boolean buttonBar = !"false".equalsIgnoreCase(request.getParameter("buttonBar"));
|
|
||||||
String focusPropertyId = manager.isListMode()?org.openxava.web.Lists.FOCUS_PROPERTY_ID:view.getFocusPropertyId();
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<form id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\tmethod='POST' ");
|
|
||||||
out.print(manager.getEnctype());
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(manager.getFormAction(request));
|
|
||||||
out.write(" style=\"display: inline;\"\n");
|
|
||||||
out.write("\tonsubmit=\"return false\">\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f2(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" value=\"\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f3(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" value=\"\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f4(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" value=\"\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f5(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" value=\"\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f6(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(request.getParameter("application"));
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f7(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(request.getParameter("module"));
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f8(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f9(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" \n");
|
|
||||||
out.write("\tname=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f10(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f11(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" \n");
|
|
||||||
out.write("\tname=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f12(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("<INPUT type=\"hidden\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f13(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\"/> \n");
|
|
||||||
out.write("<INPUT type=\"hidden\" id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f14(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" \n");
|
|
||||||
out.write("\tname=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f15(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(focusPropertyId);
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
|
|
||||||
String listModeClass=manager.isListMode()?"class='" + style.getListMode() + "'":"";
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<div ");
|
|
||||||
out.print(listModeClass);
|
|
||||||
out.write(' ');
|
|
||||||
out.print(style.getModuleSpacing());
|
|
||||||
out.write(">\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t");
|
|
||||||
if (buttonBar) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write(" <div id='");
|
|
||||||
if (_jspx_meth_xava_005fid_005f16(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("'> \n");
|
|
||||||
out.write("\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "buttonBar.jsp", out, false);
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t</div>\n");
|
|
||||||
out.write("\t");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t \n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write(" <div class=\"");
|
|
||||||
out.print(style.getView());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write(" ");
|
|
||||||
if (style.isShowModuleDescription() && !manager.isListMode()) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<div class=\"");
|
|
||||||
out.print(style.getModuleDescription());
|
|
||||||
out.write("\"> \n");
|
|
||||||
out.write("\t\t");
|
|
||||||
out.print(manager.getModuleDescription());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t</div>\n");
|
|
||||||
out.write("\t");
|
|
||||||
}
|
|
||||||
out.write(" \n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write(" \t<div id='");
|
|
||||||
if (_jspx_meth_xava_005fid_005f17(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("' style=\"display: inline;\"> \n");
|
|
||||||
out.write(" \t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "errors.jsp", out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t</div>\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t\t<div id='");
|
|
||||||
if (_jspx_meth_xava_005fid_005f18(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("' style=\"display: inline;\"> \n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "messages.jsp", out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t</div> \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \t<div id='");
|
|
||||||
if (_jspx_meth_xava_005fid_005f19(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write('\'');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(manager.isListMode()?"":("class='" + style.getDetail() + (view.isSimple()?" ox-simple-layout":"") + (view.isFlowLayout()?" ox-flow-layout":"") + "'"));
|
|
||||||
out.write(" style='padding-top: 2px;'>\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, manager.getViewURL(), out, false);
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("\t\t</div> \t\n");
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t</div>\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t");
|
|
||||||
if (style.isSeparatorBeforeBottomButtons()) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<div style=\"clear: both; padding-top: 2px;\"></div>\n");
|
|
||||||
out.write("\t");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" <div id='");
|
|
||||||
if (_jspx_meth_xava_005fid_005f20(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("' class=\"");
|
|
||||||
out.print(style.getBottomButtons());
|
|
||||||
out.write("\" style=\"");
|
|
||||||
out.print(style.getBottomButtonsStyle());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "bottomButtons.jsp", out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</div>\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("</div>\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("</form>\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/core.jsp(14,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName("form");
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f1.setParent(null);
|
|
||||||
// /xava/core.jsp(14,40) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f1.setName("form");
|
|
||||||
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
|
|
||||||
_jspx_th_xava_005fid_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f2.setParent(null);
|
|
||||||
// /xava/core.jsp(24,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f2.setName("xava_action");
|
|
||||||
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
|
|
||||||
_jspx_th_xava_005fid_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f3 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f3_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f3.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f3.setParent(null);
|
|
||||||
// /xava/core.jsp(25,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f3.setName("xava_action_argv");
|
|
||||||
int _jspx_eval_xava_005fid_005f3 = _jspx_th_xava_005fid_005f3.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f3);
|
|
||||||
_jspx_th_xava_005fid_005f3_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f3_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f4 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f4_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f4.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f4.setParent(null);
|
|
||||||
// /xava/core.jsp(26,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f4.setName("xava_action_range");
|
|
||||||
int _jspx_eval_xava_005fid_005f4 = _jspx_th_xava_005fid_005f4.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f4);
|
|
||||||
_jspx_th_xava_005fid_005f4_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f4_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f5 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f5_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f5.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f5.setParent(null);
|
|
||||||
// /xava/core.jsp(27,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f5.setName("xava_action_already_processed");
|
|
||||||
int _jspx_eval_xava_005fid_005f5 = _jspx_th_xava_005fid_005f5.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f5);
|
|
||||||
_jspx_th_xava_005fid_005f5_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f5_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f6(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f6 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f6_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f6.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f6.setParent(null);
|
|
||||||
// /xava/core.jsp(28,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f6.setName("xava_action_application");
|
|
||||||
int _jspx_eval_xava_005fid_005f6 = _jspx_th_xava_005fid_005f6.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f6);
|
|
||||||
_jspx_th_xava_005fid_005f6_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f6, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f6_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f7(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f7 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f7_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f7.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f7.setParent(null);
|
|
||||||
// /xava/core.jsp(29,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f7.setName("xava_action_module");
|
|
||||||
int _jspx_eval_xava_005fid_005f7 = _jspx_th_xava_005fid_005f7.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f7);
|
|
||||||
_jspx_th_xava_005fid_005f7_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f7, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f7_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f8(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f8 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f8_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f8.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f8.setParent(null);
|
|
||||||
// /xava/core.jsp(30,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f8.setName("xava_changed_property");
|
|
||||||
int _jspx_eval_xava_005fid_005f8 = _jspx_th_xava_005fid_005f8.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f8);
|
|
||||||
_jspx_th_xava_005fid_005f8_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f8, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f8_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f9(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f9 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f9_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f9.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f9.setParent(null);
|
|
||||||
// /xava/core.jsp(31,25) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f9.setName("xava_current_focus");
|
|
||||||
int _jspx_eval_xava_005fid_005f9 = _jspx_th_xava_005fid_005f9.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f9);
|
|
||||||
_jspx_th_xava_005fid_005f9_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f9, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f9_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f10(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f10 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f10_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f10.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f10.setParent(null);
|
|
||||||
// /xava/core.jsp(32,7) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f10.setName("xava_current_focus");
|
|
||||||
int _jspx_eval_xava_005fid_005f10 = _jspx_th_xava_005fid_005f10.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f10);
|
|
||||||
_jspx_th_xava_005fid_005f10_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f10, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f10_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f11(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f11 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f11_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f11.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f11.setParent(null);
|
|
||||||
// /xava/core.jsp(33,25) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f11.setName("xava_previous_focus");
|
|
||||||
int _jspx_eval_xava_005fid_005f11 = _jspx_th_xava_005fid_005f11.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f11);
|
|
||||||
_jspx_th_xava_005fid_005f11_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f11, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f11_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f12(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f12 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f12_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f12.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f12.setParent(null);
|
|
||||||
// /xava/core.jsp(34,7) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f12.setName("xava_previous_focus");
|
|
||||||
int _jspx_eval_xava_005fid_005f12 = _jspx_th_xava_005fid_005f12.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f12);
|
|
||||||
_jspx_th_xava_005fid_005f12_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f12, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f12_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f13(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f13 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f13_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f13.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f13.setParent(null);
|
|
||||||
// /xava/core.jsp(35,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f13.setName("xava_focus_forward");
|
|
||||||
int _jspx_eval_xava_005fid_005f13 = _jspx_th_xava_005fid_005f13.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f13);
|
|
||||||
_jspx_th_xava_005fid_005f13_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f13, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f13_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f14(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f14 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f14_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f14.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f14.setParent(null);
|
|
||||||
// /xava/core.jsp(36,25) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f14.setName("xava_focus_property_id");
|
|
||||||
int _jspx_eval_xava_005fid_005f14 = _jspx_th_xava_005fid_005f14.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f14);
|
|
||||||
_jspx_th_xava_005fid_005f14_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f14, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f14_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f15(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f15 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f15_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f15.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f15.setParent(null);
|
|
||||||
// /xava/core.jsp(37,7) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f15.setName("xava_focus_property_id");
|
|
||||||
int _jspx_eval_xava_005fid_005f15 = _jspx_th_xava_005fid_005f15.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f15);
|
|
||||||
_jspx_th_xava_005fid_005f15_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f15, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f15_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f16(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f16 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f16_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f16.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f16.setParent(null);
|
|
||||||
// /xava/core.jsp(46,13) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f16.setName("button_bar");
|
|
||||||
int _jspx_eval_xava_005fid_005f16 = _jspx_th_xava_005fid_005f16.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f16);
|
|
||||||
_jspx_th_xava_005fid_005f16_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f16, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f16_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f17(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f17 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f17_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f17.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f17.setParent(null);
|
|
||||||
// /xava/core.jsp(59,14) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f17.setName("errors");
|
|
||||||
int _jspx_eval_xava_005fid_005f17 = _jspx_th_xava_005fid_005f17.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f17);
|
|
||||||
_jspx_th_xava_005fid_005f17_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f17, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f17_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f18(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f18 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f18_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f18.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f18.setParent(null);
|
|
||||||
// /xava/core.jsp(63,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f18.setName("messages");
|
|
||||||
int _jspx_eval_xava_005fid_005f18 = _jspx_th_xava_005fid_005f18.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f18);
|
|
||||||
_jspx_th_xava_005fid_005f18_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f18, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f18_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f19(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f19 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f19_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f19.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f19.setParent(null);
|
|
||||||
// /xava/core.jsp(67,14) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f19.setName("view");
|
|
||||||
int _jspx_eval_xava_005fid_005f19 = _jspx_th_xava_005fid_005f19.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f19);
|
|
||||||
_jspx_th_xava_005fid_005f19_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f19, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f19_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f20(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f20 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f20_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f20.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f20.setParent(null);
|
|
||||||
// /xava/core.jsp(79,13) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f20.setName("bottom_buttons");
|
|
||||||
int _jspx_eval_xava_005fid_005f20 = _jspx_th_xava_005fid_005f20.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f20.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f20);
|
|
||||||
_jspx_th_xava_005fid_005f20_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f20, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f20_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,754 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:45 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import org.openxava.view.View;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
import org.openxava.view.meta.MetaGroup;
|
|
||||||
import org.openxava.view.meta.PropertiesSeparator;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.model.meta.MetaReference;
|
|
||||||
import org.openxava.model.meta.MetaCollection;
|
|
||||||
import org.openxava.web.WebEditors;
|
|
||||||
import org.openxava.web.taglib.IdTag;
|
|
||||||
import org.openxava.web.Ids;
|
|
||||||
import org.openxava.model.meta.MetaMember;
|
|
||||||
|
|
||||||
public final class detail_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
|
|
||||||
private boolean hasFrame(MetaMember m, View view) {
|
|
||||||
if (m instanceof MetaProperty) {
|
|
||||||
return WebEditors.hasFrame((MetaProperty) m, view.getViewName());
|
|
||||||
}
|
|
||||||
if (m instanceof MetaReference) {
|
|
||||||
return !view.displayReferenceWithNoFrameEditor((MetaReference) m);
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private String openDivForFrame(View view) {
|
|
||||||
if (view.isFrame()) return openDiv(view);
|
|
||||||
return "<div>" + openDiv(view);
|
|
||||||
}
|
|
||||||
|
|
||||||
private String closeDivForFrame(View view) {
|
|
||||||
if (view.isFrame()) return closeDiv(view);
|
|
||||||
return closeDiv(view) + "</div>";
|
|
||||||
}
|
|
||||||
|
|
||||||
private String openDiv(View view) {
|
|
||||||
if (view.isFlowLayout()) return "";
|
|
||||||
return view.isFrame()?"<div class='ox-layout-detail'>":"";
|
|
||||||
}
|
|
||||||
|
|
||||||
private String closeDiv(View view) {
|
|
||||||
if (view.isFlowLayout()) return "";
|
|
||||||
return view.isFrame()?"</div>":"";
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(8);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("/xava/referenceFrameHeaderExt.jsp", Long.valueOf(1590428781598L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/xava/propertyActionsExt.jsp", Long.valueOf(1590428779118L));
|
|
||||||
_jspx_dependants.put("/xava/collectionFrameHeaderExt.jsp", Long.valueOf(1590428781744L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaCollection");
|
|
||||||
_jspx_imports_classes.add("java.util.Iterator");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("org.openxava.view.meta.MetaGroup");
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaReference");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.taglib.IdTag");
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaMember");
|
|
||||||
_jspx_imports_classes.add("org.openxava.view.View");
|
|
||||||
_jspx_imports_classes.add("org.openxava.view.meta.PropertiesSeparator");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.WebEditors");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Ids");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.util.Messages errors = null;
|
|
||||||
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (errors == null){
|
|
||||||
errors = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String viewObject = request.getParameter("viewObject");
|
|
||||||
viewObject = (viewObject == null || viewObject.equals(""))?"xava_view":viewObject;
|
|
||||||
org.openxava.view.View view = (org.openxava.view.View) context.get(request, viewObject);
|
|
||||||
view.setViewObject(viewObject);
|
|
||||||
String propertyPrefix = request.getParameter("propertyPrefix");
|
|
||||||
String representsSection = request.getParameter("representsSection");
|
|
||||||
boolean isSection = "true".equalsIgnoreCase(representsSection);
|
|
||||||
propertyPrefix = (propertyPrefix == null || "null".equals(propertyPrefix))?"":propertyPrefix;
|
|
||||||
view.setPropertyPrefix(propertyPrefix);
|
|
||||||
boolean onlySections = view.hasSections() && view.getMetaMembers().isEmpty();
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (!onlySections) { // IF Not Only Sections
|
|
||||||
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
out.print(openDiv(view));
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
Iterator it = view.getMetaMembers().iterator();
|
|
||||||
String sfirst = request.getParameter("first");
|
|
||||||
boolean first = !"false".equals(sfirst);
|
|
||||||
while (it.hasNext()) { // WHILE hasNext
|
|
||||||
MetaMember m = (MetaMember) it.next();
|
|
||||||
int frameWidth = view.isVariousMembersInSameLine(m)?0:100;
|
|
||||||
if (m instanceof MetaProperty) { // IF MetaProperty
|
|
||||||
MetaProperty p = (MetaProperty) m;
|
|
||||||
if (!PropertiesSeparator.INSTANCE.equals(m)) { // IF Not Properties Separator
|
|
||||||
boolean hasFrame = WebEditors.hasFrame(p, view.getViewName());
|
|
||||||
String propertyKey= Ids.decorate(
|
|
||||||
request.getParameter("application"),
|
|
||||||
request.getParameter("module"),
|
|
||||||
propertyPrefix + p.getName());
|
|
||||||
request.setAttribute(propertyKey, p);
|
|
||||||
String urlEditor = "editor.jsp" // in this way because websphere 6 has problems with jsp:param
|
|
||||||
+ "?propertyKey=" + propertyKey
|
|
||||||
+ "&first=" + first
|
|
||||||
+ "&hasFrame=" + hasFrame;
|
|
||||||
boolean withFrame = hasFrame &&
|
|
||||||
(!view.isSection() || view.getMetaMembers().size() > 1);
|
|
||||||
if (withFrame) { // IF MetaPropertt With Frame
|
|
||||||
String labelKey = Ids.decorate(
|
|
||||||
request.getParameter("application"),
|
|
||||||
request.getParameter("module"),
|
|
||||||
"label_" + propertyPrefix + p.getName());
|
|
||||||
String label = view.getLabelFor(p);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(closeDivForFrame(view));
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameHeaderStartDecoration(frameWidth) );
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameTitleStartDecoration() );
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t<span id=\"");
|
|
||||||
out.print(labelKey);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.print(label);
|
|
||||||
out.write("</span>\t\t\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameTitleEndDecoration() );
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameActionsStartDecoration());
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String frameId = Ids.decorate(request, "frame_" + view.getPropertyPrefix() + p.getName());
|
|
||||||
String frameActionsURL = "frameActions.jsp?frameId=" + frameId +
|
|
||||||
"&closed=" + view.isFrameClosed(frameId);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, frameActionsURL, out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameActionsEndDecoration());
|
|
||||||
out.write(" \t\t\t\t\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.write("\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameHeaderEndDecoration() );
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameContentStartDecoration(frameId + "content", view.isFrameClosed(frameId)));
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
} // END MetaProperty With Frame
|
|
||||||
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, urlEditor, out, false);
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (withFrame) { // IF MetaProperty With Frame
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameContentEndDecoration() );
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(openDivForFrame(view));
|
|
||||||
out.write(" \t\t\n");
|
|
||||||
|
|
||||||
} // END IF MetaProperty With Frame
|
|
||||||
first = false;
|
|
||||||
} // END IF Not Properties Separator
|
|
||||||
else { // IF Properties Separator
|
|
||||||
if (!it.hasNext()) break;
|
|
||||||
first = true;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<div class=\"ox-layout-new-line\"></div> \t\t\t\n");
|
|
||||||
|
|
||||||
} // END IF Properties Separator
|
|
||||||
} // END IF MetaProperty
|
|
||||||
else { // IF Not MetaProperty
|
|
||||||
if (m instanceof MetaReference) { // IF MetaReference
|
|
||||||
MetaReference ref = (MetaReference) m;
|
|
||||||
String referenceKey = Ids.decorate(
|
|
||||||
request.getParameter("application"),
|
|
||||||
request.getParameter("module"),
|
|
||||||
propertyPrefix + ref.getName());
|
|
||||||
request.setAttribute(referenceKey, ref);
|
|
||||||
if (view.displayReferenceWithNoFrameEditor(ref)) { // IF Display Reference Without Frame
|
|
||||||
String urlReferenceEditor = "reference.jsp" // in this way because websphere 6 has problems with jsp:param
|
|
||||||
+ "?referenceKey=" + referenceKey
|
|
||||||
+ "&first=" + first
|
|
||||||
+ "&frame=false&composite=false&onlyEditor=false";
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, urlReferenceEditor, out, false);
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
first = false;
|
|
||||||
} // END IF Display MetaReference Without Frame
|
|
||||||
else { // IF Display MeteReference With Frame
|
|
||||||
String viewName = viewObject + "_" + ref.getName();
|
|
||||||
View subview = view.getSubview(ref.getName());
|
|
||||||
context.put(request, viewName, subview);
|
|
||||||
subview.setViewObject(viewName);
|
|
||||||
String propertyInReferencePrefix = propertyPrefix + ref.getName() + ".";
|
|
||||||
boolean withFrame = subview.displayWithFrame();
|
|
||||||
boolean firstForSubdetail = first || withFrame;
|
|
||||||
if (withFrame) { // IF MetaReference With Frame
|
|
||||||
String labelKey = Ids.decorate(
|
|
||||||
request.getParameter("application"),
|
|
||||||
request.getParameter("module"),
|
|
||||||
"label_" + propertyPrefix + ref.getName());
|
|
||||||
String label = view.getLabelFor(ref);
|
|
||||||
|
|
||||||
out.write("\t\t\t\t\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
out.print(closeDivForFrame(view));
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t\t");
|
|
||||||
out.print(style.getFrameHeaderStartDecoration(frameWidth) );
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(style.getFrameTitleStartDecoration() );
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<span id=\"");
|
|
||||||
out.print(labelKey);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.print(label);
|
|
||||||
out.write("</span>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
if (!ref.isAggregate()) {
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "referenceFrameHeader.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("referenceName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(ref.getName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(viewObject), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(style.getFrameTitleEndDecoration() );
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(style.getFrameActionsStartDecoration());
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String frameId = Ids.decorate(request, "frame_" + view.getPropertyPrefix() + ref.getName());
|
|
||||||
String frameActionsURL = "frameActions.jsp?frameId=" + frameId +
|
|
||||||
"&closed=" + view.isFrameClosed(frameId);
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, frameActionsURL, out, false);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(style.getFrameActionsEndDecoration());
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.write("\t\t\t\t \t\t\t\t\t\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
out.print(style.getFrameHeaderEndDecoration() );
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(style.getFrameContentStartDecoration(frameId + "content", view.isFrameClosed(frameId)) );
|
|
||||||
out.write("\t\t\t\t\t\t\n");
|
|
||||||
|
|
||||||
} // END IF MetaReference With Frame
|
|
||||||
|
|
||||||
String urlReferenceEditor = null;
|
|
||||||
if (view.displayReferenceWithNotCompositeEditor(ref)) { // IF Display Reference Without Composite Editor
|
|
||||||
urlReferenceEditor = "reference.jsp" // in this way because websphere 6 has problems with jsp:param
|
|
||||||
+ "?referenceKey=" + referenceKey
|
|
||||||
+ "&onlyEditor=true&frame=true&composite=false"
|
|
||||||
+ "&first=" + first;
|
|
||||||
} // END IF Display Reference Without Composite Editor
|
|
||||||
else { // IF Display Reference With Composite Editor
|
|
||||||
urlReferenceEditor = "reference.jsp" // in this way because websphere 6 has problems with jsp:param
|
|
||||||
+ "?referenceKey=" + referenceKey
|
|
||||||
+ "&onlyEditor=true&frame=true&composite=true"
|
|
||||||
+ "&refViewObject=" + viewName
|
|
||||||
+ "&propertyPrefix=" + propertyInReferencePrefix
|
|
||||||
+ "&first=" + firstForSubdetail;
|
|
||||||
} // END IF Display Reference With Composite Editor
|
|
||||||
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, urlReferenceEditor, out, false);
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (withFrame) { // IF MetaReference With Frame
|
|
||||||
|
|
||||||
out.write("\t\t\t\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
out.print(style.getFrameContentEndDecoration() );
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(openDivForFrame(view));
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
} // END IF MetaReference With Frame
|
|
||||||
} // END Display MetaReference With Frame
|
|
||||||
first = false;
|
|
||||||
} else if (m instanceof MetaCollection) { // IF MetaCollection
|
|
||||||
MetaCollection collection = (MetaCollection) m;
|
|
||||||
boolean withFrame = !view.isSection() || view.getMetaMembers().size() > 1;
|
|
||||||
boolean variousCollectionInLine = view.isVariousCollectionsInSameLine((MetaMember) m);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(closeDivForFrame(view));
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (withFrame) { // IF MetaCollection With Frame
|
|
||||||
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(style.getCollectionFrameHeaderStartDecoration(variousCollectionInLine?50:frameWidth));
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(style.getFrameTitleStartDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(collection.getLabel(request) );
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String frameId = Ids.decorate(request, "frame_" + view.getPropertyPrefix() + collection.getName());
|
|
||||||
String colletionHeaderId = frameId + "header";
|
|
||||||
|
|
||||||
out.write("\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t<span id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/detail.jsp(235,14) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName(colletionHeaderId);
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t\t\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "collectionFrameHeader.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("collectionName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(collection.getName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(viewObject), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write("\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t</span>\t\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(style.getFrameTitleEndDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(style.getFrameActionsStartDecoration());
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String frameActionsURL = "frameActions.jsp?frameId=" + frameId +
|
|
||||||
"&closed=" + view.isFrameClosed(frameId);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, frameActionsURL, out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(style.getFrameActionsEndDecoration());
|
|
||||||
out.write(" \t\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.write("\t\t\t\t \t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(style.getFrameHeaderEndDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(style.getFrameContentStartDecoration(frameId + "content", view.isFrameClosed(frameId)));
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
} // END IF MetaCollection With Frame
|
|
||||||
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
|
|
||||||
String collectionPrefix = propertyPrefix == null?collection.getName() + ".":propertyPrefix + collection.getName() + ".";
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t<div id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f1.setParent(null);
|
|
||||||
// /xava/detail.jsp(258,13) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f1.setName("collection_" + collectionPrefix);
|
|
||||||
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
|
|
||||||
_jspx_th_xava_005fid_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write("\">\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "collection.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("collectionName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(collection.getName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(viewObject), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t</div>\t\t\t\t\n");
|
|
||||||
|
|
||||||
if (withFrame) { // IF MetaCollection With Frame
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
out.print(style.getFrameContentEndDecoration());
|
|
||||||
out.write("\t\t\t\n");
|
|
||||||
|
|
||||||
} // END IF MetaCollection With Frame
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(openDivForFrame(view));
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
} else if (m instanceof MetaGroup) { // IF MetaGroup
|
|
||||||
MetaGroup group = (MetaGroup) m;
|
|
||||||
String viewName = viewObject + "_" + group.getName();
|
|
||||||
View subview = view.getGroupView(group.getName());
|
|
||||||
context.put(request, viewName, subview);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(closeDivForFrame(view));
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameHeaderStartDecoration(frameWidth));
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameTitleStartDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
String labelId = Ids.decorate(request, "label_" + view.getPropertyPrefix() + group.getName());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t<span id=\"");
|
|
||||||
out.print(labelId);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.print(group.getLabel(request));
|
|
||||||
out.write("</span>\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameTitleEndDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameActionsStartDecoration());
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String frameId = Ids.decorate(request, "frame_group_" + view.getPropertyPrefix() + group.getName());
|
|
||||||
String frameActionsURL = "frameActions.jsp?frameId=" + frameId +
|
|
||||||
"&closed=" + view.isFrameClosed(frameId);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, frameActionsURL, out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameActionsEndDecoration());
|
|
||||||
out.write(" \t\t\t\t\t \t\t\t\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameHeaderEndDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameContentStartDecoration(frameId + "content", view.isFrameClosed(frameId)) );
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
if (view.isFlowLayout()) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t\t\t<div class='ox-flow-layout'>\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "detail.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(viewName), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
if (view.isFlowLayout()) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t\t\t</div>\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(style.getFrameContentEndDecoration() );
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(openDivForFrame(view));
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
} // END IF MetaGroup
|
|
||||||
} // END IF Not MetaProperty
|
|
||||||
} // END While hasNext
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(closeDiv(view));
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
} // END if (!onlySections) {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (view.hasSections()) { // IF Has Sections
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<div id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f2.setParent(null);
|
|
||||||
// /xava/detail.jsp(321,9) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f2.setName("sections_" + viewObject);
|
|
||||||
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
|
|
||||||
_jspx_th_xava_005fid_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
|
|
||||||
}
|
|
||||||
out.write("\" class=\"");
|
|
||||||
out.print(style.getSections());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "sections.jsp", out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</div>\t\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,176 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:02:01 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class editorWrapper_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590312433369L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
// xava:editor
|
|
||||||
org.openxava.web.taglib.EditorTag _jspx_th_xava_005feditor_005f0 = (org.openxava.web.taglib.EditorTag) _005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.get(org.openxava.web.taglib.EditorTag.class);
|
|
||||||
boolean _jspx_th_xava_005feditor_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005feditor_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005feditor_005f0.setParent(null);
|
|
||||||
// /xava/editorWrapper.jsp(3,0) name = property type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005feditor_005f0.setProperty(request.getParameter("propertyName"));
|
|
||||||
// /xava/editorWrapper.jsp(3,0) name = editable type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005feditor_005f0.setEditable(Boolean.valueOf(request.getParameter("editable")).booleanValue());
|
|
||||||
// /xava/editorWrapper.jsp(3,0) name = throwPropertyChanged type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005feditor_005f0.setThrowPropertyChanged(Boolean.valueOf(request.getParameter("throwPropertyChanged")).booleanValue());
|
|
||||||
int _jspx_eval_xava_005feditor_005f0 = _jspx_th_xava_005feditor_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005feditor_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.reuse(_jspx_th_xava_005feditor_005f0);
|
|
||||||
_jspx_th_xava_005feditor_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005feditor_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005feditor_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,429 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:46 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.view.meta.MetaPropertyView;
|
|
||||||
|
|
||||||
public final class editor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(7);
|
|
||||||
_jspx_dependants.put("/xava/htmlTagsEditor.jsp", Long.valueOf(1590428775202L));
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/xava/propertyActionsExt.jsp", Long.valueOf(1590428779118L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("org.openxava.view.meta.MetaPropertyView");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.util.Messages errors = null;
|
|
||||||
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (errors == null){
|
|
||||||
errors = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
|
|
||||||
String viewObject = request.getParameter("viewObject");
|
|
||||||
viewObject = (viewObject == null || viewObject.equals(""))?"xava_view":viewObject;
|
|
||||||
org.openxava.view.View view = (org.openxava.view.View) context.get(request, viewObject);
|
|
||||||
String propertyKey = request.getParameter("propertyKey");
|
|
||||||
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
|
|
||||||
String shasFrame = request.getParameter("hasFrame");
|
|
||||||
boolean hasFrame="true".equals(shasFrame)?true:false;
|
|
||||||
boolean editable = view.isEditable(p);
|
|
||||||
boolean lastSearchKey = view.isLastSearchKey(p);
|
|
||||||
boolean throwPropertyChanged = view.throwsPropertyChanged(p);
|
|
||||||
|
|
||||||
|
|
||||||
int labelFormat = view.getLabelFormatForProperty(p);
|
|
||||||
String labelStyle = view.getLabelStyleForProperty(p);
|
|
||||||
if (Is.empty(labelStyle)) labelStyle = XavaPreferences.getInstance().getDefaultLabelStyle();
|
|
||||||
String label = view.getLabelFor(p);
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (view.isFlowLayout()) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("<div> \n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String sfirst = request.getParameter("first");
|
|
||||||
boolean first="true".equals(sfirst)?true:false;
|
|
||||||
|
|
||||||
String labelClass = null;
|
|
||||||
String editorClass = null;
|
|
||||||
|
|
||||||
if (view.isAlignedByColumns()) {
|
|
||||||
labelClass = editorClass = "ox-layout-aligned-cell";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
editorClass = "ox-layout-not-aligned-cell";
|
|
||||||
labelClass = first?"ox-layout-aligned-cell":"ox-layout-not-aligned-cell";
|
|
||||||
}
|
|
||||||
|
|
||||||
String preLabel="<div class='" + labelClass + " " + style.getLabel() + "'>";
|
|
||||||
String postLabel="</div>";
|
|
||||||
String preEditor="<div class='" + editorClass + " " + style.getEditorWrapper()+ "'>";
|
|
||||||
String postEditor="</div>";
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (first && !view.isAlignedByColumns()) label = org.openxava.util.Strings.change(label, " ", " ");
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (!hasFrame) {
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(preLabel);
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (labelFormat == MetaPropertyView.NORMAL_LABEL) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/editor.jsp(47,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName("label_" + view.getPropertyPrefix() + p.getName());
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\" class=\"");
|
|
||||||
out.print(labelStyle);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(label);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.print(postLabel);
|
|
||||||
out.write('\n');
|
|
||||||
out.print(preEditor);
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (labelFormat == MetaPropertyView.SMALL_LABEL) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f1.setParent(null);
|
|
||||||
// /xava/editor.jsp(56,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f1.setName("label_" + view.getPropertyPrefix() + p.getName());
|
|
||||||
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
|
|
||||||
_jspx_th_xava_005fid_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write("\" class=\"");
|
|
||||||
out.print(style.getSmallLabel());
|
|
||||||
out.write(' ');
|
|
||||||
out.print(labelStyle);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.print(label);
|
|
||||||
out.write("</span><br/> \n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
} // if (!hasFrame)
|
|
||||||
String placeholder = !Is.empty(p.getPlaceholder()) ? "data-placeholder='" + p.getPlaceholder() + "'" : "";
|
|
||||||
String required = view.isEditable() && p.isRequired() ? style.getRequiredEditor():"";
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f2.setParent(null);
|
|
||||||
// /xava/editor.jsp(62,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f2.setName("editor_" + view.getPropertyPrefix() + p.getName());
|
|
||||||
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
|
|
||||||
_jspx_th_xava_005fid_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
|
|
||||||
}
|
|
||||||
out.write("\" class=\"xava_editor ");
|
|
||||||
out.print(required);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(placeholder);
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
// xava:editor
|
|
||||||
org.openxava.web.taglib.EditorTag _jspx_th_xava_005feditor_005f0 = (org.openxava.web.taglib.EditorTag) _005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.get(org.openxava.web.taglib.EditorTag.class);
|
|
||||||
boolean _jspx_th_xava_005feditor_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005feditor_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005feditor_005f0.setParent(null);
|
|
||||||
// /xava/editor.jsp(63,0) name = property type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005feditor_005f0.setProperty(p.getName());
|
|
||||||
// /xava/editor.jsp(63,0) name = editable type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005feditor_005f0.setEditable(editable);
|
|
||||||
// /xava/editor.jsp(63,0) name = throwPropertyChanged type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005feditor_005f0.setThrowPropertyChanged(throwPropertyChanged);
|
|
||||||
int _jspx_eval_xava_005feditor_005f0 = _jspx_th_xava_005feditor_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005feditor_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.reuse(_jspx_th_xava_005feditor_005f0);
|
|
||||||
_jspx_th_xava_005feditor_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005feditor_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005feditor_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
out.write("\n");
|
|
||||||
if (!(lastSearchKey && view.displayWithFrame())) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\t<span id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f3 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f3_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f3.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f3.setParent(null);
|
|
||||||
// /xava/editor.jsp(67,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f3.setName("property_actions_" + view.getPropertyPrefix() + p.getName());
|
|
||||||
int _jspx_eval_xava_005fid_005f3 = _jspx_th_xava_005fid_005f3.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f3);
|
|
||||||
_jspx_th_xava_005fid_005f3_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f3_reused);
|
|
||||||
}
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
if (view.propertyHasActions(p)) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "propertyActions.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("propertyName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(p.getName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("lastSearchKey", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(lastSearchKey), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("editable", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(editable), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</span>\n");
|
|
||||||
}
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (!hasFrame) {
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(postEditor);
|
|
||||||
out.write('\n');
|
|
||||||
if (labelFormat == MetaPropertyView.SMALL_LABEL) {
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
} // if (!hasFrame)
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (view.isFlowLayout()) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("</div> \n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,210 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:47:42 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class addColumns_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590312433369L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String tabObject = request.getParameter("tabObject");
|
|
||||||
tabObject = (tabObject == null || tabObject.equals(""))?"xava_tab":tabObject;
|
|
||||||
org.openxava.tab.Tab tab = (org.openxava.tab.Tab) context.get(request, "xava_customizingTab");
|
|
||||||
String applicationName = request.getParameter("application");
|
|
||||||
String module = request.getParameter("module");
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<input type=\"hidden\" id=\"xava_application\" value=\"");
|
|
||||||
out.print(applicationName);
|
|
||||||
out.write("\" /> \n");
|
|
||||||
out.write("<input type=\"hidden\" id=\"xava_module\" value=\"");
|
|
||||||
out.print(module);
|
|
||||||
out.write("\" /> \n");
|
|
||||||
out.write("<div id=\"xava_search_columns\">\n");
|
|
||||||
out.write("<input id=\"xava_search_columns_text\" type=\"text\" size=\"38\" placeholder='");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("'/>\n");
|
|
||||||
out.write("</div>\n");
|
|
||||||
out.write("<div id=\"xava_add_columns\">\n");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "selectColumns.jsp", out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</div>");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /xava/editors/addColumns.jsp(15,72) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey("search_columns");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,655 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:56 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.web.Actions;
|
|
||||||
import org.openxava.web.Ids;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.tab.Tab;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
|
|
||||||
public final class comparatorsCombo_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Actions");
|
|
||||||
_jspx_imports_classes.add("org.openxava.tab.Tab");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Ids");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String comparator = request.getParameter("comparator");
|
|
||||||
String prefix = request.getParameter("prefix");
|
|
||||||
if (prefix == null) prefix = "";
|
|
||||||
boolean isString = "true".equals(request.getParameter("isString"));
|
|
||||||
boolean isDate = "true".equals(request.getParameter("isDate"));
|
|
||||||
boolean isEmpty = "true".equals(request.getParameter("isEmpty"));
|
|
||||||
String eq = Tab.EQ_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String ne = Tab.NE_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String ge = Tab.GE_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String le = Tab.LE_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String gt = Tab.GT_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String lt = Tab.LT_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String in = Tab.IN_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String notIn = Tab.NOT_IN_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String startsWith = Tab.STARTS_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String contains = Tab.CONTAINS_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String endsWith = Tab.ENDS_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String empty = Tab.EMPTY_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String notEmpty = Tab.NOT_EMPTY_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String notContains = Tab.NOT_CONTAINS_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String year = Tab.YEAR_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String month = Tab.MONTH_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String yearMonth = Tab.YEAR_MONTH_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String range = Tab.RANGE_COMPARATOR.equals(comparator)?"selected='selected'":"";
|
|
||||||
String idConditionValue = request.getParameter("idConditionValue");
|
|
||||||
String idConditionValueTo = request.getParameter("idConditionValueTo");
|
|
||||||
String propertyKey = request.getParameter("comparatorPropertyKey");
|
|
||||||
String name = null;
|
|
||||||
String script = null;
|
|
||||||
if (propertyKey == null) {
|
|
||||||
int index = Integer.parseInt(request.getParameter("index"));
|
|
||||||
name = Ids.decorate(request, prefix + "conditionComparator." + index);
|
|
||||||
script = Actions.getActionOnChangeComparator(name,idConditionValue,idConditionValueTo);
|
|
||||||
|
|
||||||
if (org.openxava.util.XavaPreferences.getInstance().isFilterOnChange()) {
|
|
||||||
String collection = request.getParameter("collection");
|
|
||||||
String collectionArgv = Is.emptyString(collection)?"":"collection="+collection;
|
|
||||||
script = new StringBuilder(script.replace(")\"", "); "))
|
|
||||||
.append("if (this.options[this.selectedIndex].value.indexOf('range') < 0) { ")
|
|
||||||
.append("openxava.executeAction('")
|
|
||||||
.append(request.getParameter("application"))
|
|
||||||
.append("', '")
|
|
||||||
.append(request.getParameter("module"))
|
|
||||||
.append("', '', false, 'List.filter','")
|
|
||||||
.append(collectionArgv).append("'); ")
|
|
||||||
.append("}\"").toString();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
name = propertyKey;
|
|
||||||
script = request.getParameter("script");
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<select id=\"");
|
|
||||||
out.print(name);
|
|
||||||
out.write("\" name=\"");
|
|
||||||
out.print(name);
|
|
||||||
out.write("\" class=");
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write(' ');
|
|
||||||
out.print(script);
|
|
||||||
out.write(" style=\"width: 100%;\">\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
if (!isEmpty) {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
if (isString) {
|
|
||||||
|
|
||||||
out.write("\t\t\t\t\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.CONTAINS_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(contains);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(72,60) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey(Tab.CONTAINS_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\t\t\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.STARTS_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(startsWith);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(73,60) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setKey(Tab.STARTS_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
|
|
||||||
_jspx_th_xava_005fmessage_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.ENDS_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(endsWith);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f2 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(74,56) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setKey(Tab.ENDS_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f2 = _jspx_th_xava_005fmessage_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f2);
|
|
||||||
_jspx_th_xava_005fmessage_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f2_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.NOT_CONTAINS_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(notContains);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f3 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f3_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f3.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f3.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(75,67) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f3.setKey(Tab.NOT_CONTAINS_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f3 = _jspx_th_xava_005fmessage_005f3.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f3);
|
|
||||||
_jspx_th_xava_005fmessage_005f3_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f3_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.EMPTY_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(empty);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f4 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f4_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f4.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f4.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(76,54) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f4.setKey(Tab.EMPTY_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f4 = _jspx_th_xava_005fmessage_005f4.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f4);
|
|
||||||
_jspx_th_xava_005fmessage_005f4_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f4_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.NOT_EMPTY_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(notEmpty);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f5 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f5_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f5.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f5.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(77,61) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f5.setKey(Tab.NOT_EMPTY_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f5 = _jspx_th_xava_005fmessage_005f5.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f5);
|
|
||||||
_jspx_th_xava_005fmessage_005f5_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f5_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.EQ_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(eq);
|
|
||||||
out.write(">=</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.NE_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(ne);
|
|
||||||
out.write("><></option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.GE_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(ge);
|
|
||||||
out.write(">>=</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.LE_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(le);
|
|
||||||
out.write("><=</option>\t\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.GT_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(gt);
|
|
||||||
out.write(">></option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.LT_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(lt);
|
|
||||||
out.write("><</option>\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
if (isDate) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.EMPTY_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(empty);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f6 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f6_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f6.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f6.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(91,54) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f6.setKey(Tab.EMPTY_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f6 = _jspx_th_xava_005fmessage_005f6.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f6);
|
|
||||||
_jspx_th_xava_005fmessage_005f6_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f6, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f6_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.NOT_EMPTY_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(notEmpty);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f7 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f7_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f7.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f7.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(92,61) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f7.setKey(Tab.NOT_EMPTY_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f7 = _jspx_th_xava_005fmessage_005f7.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f7);
|
|
||||||
_jspx_th_xava_005fmessage_005f7_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f7, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f7_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.YEAR_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(year);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f8 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f8_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f8.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f8.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(93,52) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f8.setKey(Tab.YEAR_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f8 = _jspx_th_xava_005fmessage_005f8.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f8);
|
|
||||||
_jspx_th_xava_005fmessage_005f8_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f8, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f8_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.MONTH_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(month);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f9 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f9_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f9.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f9.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(94,54) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f9.setKey(Tab.MONTH_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f9 = _jspx_th_xava_005fmessage_005f9.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f9);
|
|
||||||
_jspx_th_xava_005fmessage_005f9_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f9, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f9_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.YEAR_MONTH_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(yearMonth);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f10 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f10_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f10.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f10.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(95,63) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f10.setKey(Tab.YEAR_MONTH_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f10 = _jspx_th_xava_005fmessage_005f10.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f10);
|
|
||||||
_jspx_th_xava_005fmessage_005f10_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f10, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f10_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.IN_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(in);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f11 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f11_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f11.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f11.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(99,48) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f11.setKey(Tab.IN_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f11 = _jspx_th_xava_005fmessage_005f11.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f11);
|
|
||||||
_jspx_th_xava_005fmessage_005f11_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f11, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f11_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.NOT_IN_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(notIn);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f12 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f12_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f12.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f12.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(100,55) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f12.setKey(Tab.NOT_IN_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f12 = _jspx_th_xava_005fmessage_005f12.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f12);
|
|
||||||
_jspx_th_xava_005fmessage_005f12_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f12, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f12_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
if (propertyKey == null) {
|
|
||||||
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(Tab.RANGE_COMPARATOR);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(range);
|
|
||||||
out.write('>');
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f13 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f13_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f13.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f13.setParent(null);
|
|
||||||
// /xava/editors/comparatorsCombo.jsp(104,54) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f13.setKey(Tab.RANGE_COMPARATOR);
|
|
||||||
int _jspx_eval_xava_005fmessage_005f13 = _jspx_th_xava_005fmessage_005f13.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f13);
|
|
||||||
_jspx_th_xava_005fmessage_005f13_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f13, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f13_reused);
|
|
||||||
}
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
} // isEmpty
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</select>\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,406 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:56 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.filters.IFilter;
|
|
||||||
import org.openxava.filters.IRequestFilter;
|
|
||||||
import org.openxava.component.MetaComponent;
|
|
||||||
import org.openxava.tab.Tab;
|
|
||||||
import org.openxava.tab.meta.MetaTab;
|
|
||||||
import org.openxava.util.KeyAndDescription;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.util.XavaResources;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.calculators.DescriptionsCalculator;
|
|
||||||
import org.openxava.formatters.IFormatter;
|
|
||||||
|
|
||||||
public final class comparatorsDescriptionsList_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.tab.meta.MetaTab");
|
|
||||||
_jspx_imports_classes.add("org.openxava.filters.IRequestFilter");
|
|
||||||
_jspx_imports_classes.add("org.openxava.calculators.DescriptionsCalculator");
|
|
||||||
_jspx_imports_classes.add("org.openxava.formatters.IFormatter");
|
|
||||||
_jspx_imports_classes.add("org.openxava.tab.Tab");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaResources");
|
|
||||||
_jspx_imports_classes.add("org.openxava.component.MetaComponent");
|
|
||||||
_jspx_imports_classes.add("org.openxava.filters.IFilter");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.KeyAndDescription");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
|
|
||||||
String propertyKey = request.getParameter("propertyKey");
|
|
||||||
int index = Integer.parseInt(request.getParameter("index"));
|
|
||||||
String prefix = request.getParameter("prefix");
|
|
||||||
if (prefix == null) prefix = "";
|
|
||||||
String value = index < 0?(String) request.getAttribute(propertyKey + ".fvalue"):request.getParameter("value");
|
|
||||||
IFormatter formatter = null;
|
|
||||||
String descriptionsFormatterClass=request.getParameter("descriptionsFormatter");
|
|
||||||
if (descriptionsFormatterClass == null) {
|
|
||||||
descriptionsFormatterClass=request.getParameter("formateadorDescripciones");
|
|
||||||
}
|
|
||||||
if (descriptionsFormatterClass != null) {
|
|
||||||
String descriptionsFormatterKey = propertyKey + ".descriptionsFormatter";
|
|
||||||
formatter = (IFormatter) request.getSession().getAttribute(descriptionsFormatterKey);
|
|
||||||
if (formatter == null) {
|
|
||||||
try {
|
|
||||||
formatter = (IFormatter) Class.forName(descriptionsFormatterClass).newInstance();
|
|
||||||
request.getSession().setAttribute(descriptionsFormatterKey, formatter);
|
|
||||||
}
|
|
||||||
catch (Exception ex) {
|
|
||||||
ex.printStackTrace();
|
|
||||||
System.err.println(XavaResources.getString("descriptionsEditor_descriptions_formatter_warning", propertyKey));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
DescriptionsCalculator calculator = new DescriptionsCalculator();
|
|
||||||
// The arguments in English and Spanish for compatibility with
|
|
||||||
// a big amount of stereotypes made in spanish using this editor
|
|
||||||
String model = request.getParameter("model");
|
|
||||||
if (model == null) model = request.getParameter("modelo");
|
|
||||||
MetaTab metaTab = MetaComponent.get(model).getMetaTab();
|
|
||||||
if (metaTab.getMetaFilter() != null){
|
|
||||||
if (metaTab.getMetaFilter().getFilter() != null) {
|
|
||||||
IFilter filter = metaTab.getMetaFilter().getFilter();
|
|
||||||
if (filter instanceof IRequestFilter) {
|
|
||||||
((IRequestFilter) filter).setRequest(request);
|
|
||||||
}
|
|
||||||
calculator.setParameters(null, filter);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
calculator.setModel(model);
|
|
||||||
String condition = metaTab.getBaseCondition();
|
|
||||||
if (!Is.empty(condition) && !Is.empty(request.getParameter("condition"))) condition = condition + " AND ";
|
|
||||||
condition = condition + request.getParameter("condition");
|
|
||||||
calculator.setCondition(condition);
|
|
||||||
String order = request.getParameter("order");
|
|
||||||
calculator.setOrder(order == null?metaTab.getDefaultOrder():order);
|
|
||||||
calculator.setUseConvertersInKeys(true);
|
|
||||||
String keyProperty = request.getParameter("keyProperty");
|
|
||||||
if (keyProperty == null) keyProperty = request.getParameter("propiedadClave");
|
|
||||||
calculator.setKeyProperty(keyProperty);
|
|
||||||
String keyProperties = request.getParameter("keyProperties");
|
|
||||||
if (keyProperties == null) keyProperties = request.getParameter("propiedadesClave");
|
|
||||||
calculator.setKeyProperties(keyProperties);
|
|
||||||
String descriptionProperty = request.getParameter("descriptionProperty");
|
|
||||||
if (descriptionProperty == null) descriptionProperty = request.getParameter("propiedadDescripcion");
|
|
||||||
calculator.setDescriptionProperty(descriptionProperty);
|
|
||||||
String descriptionProperties = request.getParameter("descriptionProperties");
|
|
||||||
if (descriptionProperties == null) descriptionProperties = request.getParameter("propiedadesDescripcion");
|
|
||||||
calculator.setDescriptionProperties(descriptionProperties);
|
|
||||||
String orderByKey = request.getParameter("orderByKey");
|
|
||||||
if (orderByKey == null) orderByKey = request.getParameter("ordenadoPorClave");
|
|
||||||
calculator.setOrderByKey(orderByKey);
|
|
||||||
|
|
||||||
java.util.Collection descriptions = calculator.getDescriptions();
|
|
||||||
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
|
|
||||||
boolean filterOnChange = org.openxava.util.XavaPreferences.getInstance().isFilterOnChange();
|
|
||||||
String collection = request.getParameter("collection");
|
|
||||||
String collectionArgv = Is.emptyString(collection)?"":"collection="+collection;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<div>\n");
|
|
||||||
out.write("\t<input type=\"hidden\" name=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/editors/comparatorsDescriptionsList.jsp(90,28) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName(prefix + "conditionComparator." + index);
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(Tab.EQ_COMPARATOR);
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t<input type=\"hidden\" name=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f1.setParent(null);
|
|
||||||
// /xava/editors/comparatorsDescriptionsList.jsp(91,28) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f1.setName(prefix + "conditionValueTo." + index);
|
|
||||||
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
|
|
||||||
_jspx_th_xava_005fid_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write("\" >\n");
|
|
||||||
out.write("\t<!-- conditionValueTo: we need all indexes to implement the range filters -->\n");
|
|
||||||
out.write("</div>\n");
|
|
||||||
if (index < 0) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<select id=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" tabindex=\"1\" style=\"width: 100%;\" class=");
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
} else {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<select name=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f2.setParent(null);
|
|
||||||
// /xava/editors/comparatorsDescriptionsList.jsp(97,14) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f2.setName(prefix + "conditionValue." + index);
|
|
||||||
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
|
|
||||||
_jspx_th_xava_005fid_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
|
|
||||||
}
|
|
||||||
out.write("\" style=\"width: 100%;\" class=");
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write('\n');
|
|
||||||
if(filterOnChange) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\tonchange=\"openxava.executeAction('");
|
|
||||||
out.print(request.getParameter("application"));
|
|
||||||
out.write("', '");
|
|
||||||
out.print(request.getParameter("module"));
|
|
||||||
out.write("', '', false, 'List.filter','");
|
|
||||||
out.print(collectionArgv);
|
|
||||||
out.write("')\"\n");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write(">\n");
|
|
||||||
out.write("\n");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<option value=\"\"></option>\n");
|
|
||||||
|
|
||||||
java.util.Iterator it = descriptions.iterator();
|
|
||||||
String selectedDescription = "";
|
|
||||||
String valuePrefix = value.split(Tab.DESCRIPTIONS_LIST_SEPARATOR)[0] + Tab.DESCRIPTIONS_LIST_SEPARATOR;
|
|
||||||
while (it.hasNext()) {
|
|
||||||
KeyAndDescription cl = (KeyAndDescription) it.next();
|
|
||||||
String selected = "";
|
|
||||||
String description = formatter==null?cl.getDescription().toString():formatter.format(request, cl.getDescription());
|
|
||||||
// Intead of asking index < 0 it would better to use a specific parameter such as descriptionInKey or so
|
|
||||||
String keyPrefix = cl.getKey() + Tab.DESCRIPTIONS_LIST_SEPARATOR;
|
|
||||||
Object key = keyPrefix + description;
|
|
||||||
if (keyPrefix.equals(valuePrefix)) {
|
|
||||||
selected = "selected";
|
|
||||||
selectedDescription = description;
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(key);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(selected);
|
|
||||||
out.write('>');
|
|
||||||
out.print(description);
|
|
||||||
out.write("</option>\n");
|
|
||||||
|
|
||||||
} // del while
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</select>\n");
|
|
||||||
if (index < 0) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<input type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("__DESCRIPTION__\" value=\"");
|
|
||||||
out.print(selectedDescription);
|
|
||||||
out.write("\"/>\n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,220 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:11:52 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
|
|
||||||
public final class dateCalendarEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
|
|
||||||
String propertyKey = request.getParameter("propertyKey");
|
|
||||||
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
|
|
||||||
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
|
|
||||||
String align = p.isNumber()?"right":"left";
|
|
||||||
boolean editable="true".equals(request.getParameter("editable"));
|
|
||||||
String disabled=editable?"":"disabled";
|
|
||||||
String script = request.getParameter("script");
|
|
||||||
boolean label = org.openxava.util.XavaPreferences.getInstance().isReadOnlyAsLabel();
|
|
||||||
String browser = request.getHeader("user-agent");
|
|
||||||
int sizeIncrement = browser.contains("Chrome")?0:2;
|
|
||||||
if (editable || !label) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span class=\"");
|
|
||||||
out.print(style.getDateCalendar());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("<input type=\"text\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" id=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" class=");
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write(" title=\"");
|
|
||||||
out.print(p.getDescription(request));
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\ttabindex=\"1\" \n");
|
|
||||||
out.write("\talign='");
|
|
||||||
out.print(align);
|
|
||||||
out.write("'\n");
|
|
||||||
out.write("\tmaxlength=\"");
|
|
||||||
out.print(p.getSize());
|
|
||||||
out.write("\" \n");
|
|
||||||
out.write("\tsize=\"");
|
|
||||||
out.print(p.getSize() + sizeIncrement);
|
|
||||||
out.write("\" \t \n");
|
|
||||||
out.write("\tvalue=\"");
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(disabled);
|
|
||||||
out.write(' ');
|
|
||||||
out.print(script);
|
|
||||||
out.write('>');
|
|
||||||
if (editable) {
|
|
||||||
out.write("<a style=\"position: relative; right: 25px;\" href=\"javascript:showCalendar('");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("', '");
|
|
||||||
out.print(org.openxava.util.Dates.dateFormatForJSCalendar(org.openxava.util.Locales.getCurrent()));
|
|
||||||
out.write("')\"><i class=\"mdi mdi-calendar\"></i></a>");
|
|
||||||
}
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("</span> \n");
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write(" \t\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
if (!editable) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<input type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write("\t\t\t\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,217 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 14:21:17 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
|
|
||||||
public final class dateTimeCombinedCalendarEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write(" ");
|
|
||||||
|
|
||||||
String propertyKey = request.getParameter("propertyKey");
|
|
||||||
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
|
|
||||||
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
|
|
||||||
String align = p.isNumber()?"right":"left";
|
|
||||||
boolean editable="true".equals(request.getParameter("editable"));
|
|
||||||
String disabled=editable?"":"disabled";
|
|
||||||
String script = request.getParameter("script");
|
|
||||||
boolean label = org.openxava.util.XavaPreferences.getInstance().isReadOnlyAsLabel();
|
|
||||||
if (editable || !label) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span class=\"");
|
|
||||||
out.print(style.getDateCalendar());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("<input type=\"text\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" id=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" class=");
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write(" title=\"");
|
|
||||||
out.print(p.getDescription(request));
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\ttabindex=\"1\" \n");
|
|
||||||
out.write("\talign='");
|
|
||||||
out.print(align);
|
|
||||||
out.write("'\n");
|
|
||||||
out.write("\tmaxlength=\"19\" \n");
|
|
||||||
out.write("\tsize=\"19\" \t\n");
|
|
||||||
out.write("\tvalue=\"");
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write('"');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(disabled);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(script);
|
|
||||||
out.write('>');
|
|
||||||
if (editable) {
|
|
||||||
out.write("<a style=\"position: relative; right: 25px;\" href=\"javascript:showCalendar('");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("', '");
|
|
||||||
out.print(org.openxava.util.Dates.dateTimeFormatForJSCalendar(org.openxava.util.Locales.getCurrent()));
|
|
||||||
out.write("', '12')\"><i class=\"mdi mdi-calendar-clock\"></i></a>");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write(" \t\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
if (!editable) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<input type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write("\t\t\t\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,473 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:02:18 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.util.KeyAndDescription;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.util.XavaResources;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.calculators.DescriptionsCalculator;
|
|
||||||
import org.openxava.formatters.IFormatter;
|
|
||||||
import org.openxava.filters.IFilter;
|
|
||||||
import org.openxava.filters.IRequestFilter;
|
|
||||||
import org.openxava.mapping.PropertyMapping;
|
|
||||||
import org.openxava.converters.IConverter;
|
|
||||||
|
|
||||||
public final class descriptionsEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.calculators.DescriptionsCalculator");
|
|
||||||
_jspx_imports_classes.add("org.openxava.formatters.IFormatter");
|
|
||||||
_jspx_imports_classes.add("org.openxava.filters.IRequestFilter");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaResources");
|
|
||||||
_jspx_imports_classes.add("org.openxava.mapping.PropertyMapping");
|
|
||||||
_jspx_imports_classes.add("org.openxava.filters.IFilter");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.KeyAndDescription");
|
|
||||||
_jspx_imports_classes.add("org.openxava.converters.IConverter");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
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;
|
|
||||||
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
|
|
||||||
String viewObject = request.getParameter("viewObject");
|
|
||||||
viewObject = (viewObject == null || viewObject.equals(""))?"xava_view":viewObject;
|
|
||||||
org.openxava.view.View view = (org.openxava.view.View) context.get(request, viewObject);
|
|
||||||
String propertyKey = request.getParameter("propertyKey");
|
|
||||||
String script = request.getParameter("script");
|
|
||||||
//modelForId is for have a different cache for each condition
|
|
||||||
String modelForId = "." + view.getModelName();
|
|
||||||
// conditionForId is for have a different cache for each condition
|
|
||||||
String conditionForId = request.getParameter("condition");
|
|
||||||
if (Is.emptyString(conditionForId)) conditionForId = request.getParameter("condicion");
|
|
||||||
conditionForId = Is.emptyString(conditionForId)?"":"." + conditionForId;
|
|
||||||
// orderByKeyForId is for have a different cache for each orderByKey
|
|
||||||
String orderByKeyForId = request.getParameter("orderByKey");
|
|
||||||
if (Is.emptyString(orderByKeyForId)) orderByKeyForId = request.getParameter("ordenadoPorClave");
|
|
||||||
orderByKeyForId = Is.emptyString(orderByKeyForId)?"":"." + orderByKeyForId;
|
|
||||||
//orderForId is for have a different cache for each order
|
|
||||||
String orderForId = request.getParameter("order");
|
|
||||||
if (Is.emptyString(orderForId)) orderForId = request.getParameter("orden");
|
|
||||||
orderForId = Is.emptyString(orderForId)?"":"." + orderForId;
|
|
||||||
|
|
||||||
String descriptionsCalculatorKey = propertyKey + modelForId + conditionForId + orderByKeyForId + orderForId + ".descriptionsCalculator";
|
|
||||||
DescriptionsCalculator calculator = (DescriptionsCalculator) request.getSession().getAttribute(descriptionsCalculatorKey);
|
|
||||||
|
|
||||||
IFilter filter = null;
|
|
||||||
String filterClass=request.getParameter("filter");
|
|
||||||
if (Is.emptyString(filterClass)) filterClass=request.getParameter("filtro");
|
|
||||||
if (!Is.emptyString(filterClass)) {
|
|
||||||
String filterKey = propertyKey + ".filter";
|
|
||||||
filter = (IFilter) request.getSession().getAttribute(filterKey);
|
|
||||||
if (filter == null) {
|
|
||||||
try {
|
|
||||||
filter = (IFilter) Class.forName(filterClass).newInstance();
|
|
||||||
request.getSession().setAttribute(filterKey, filter);
|
|
||||||
}
|
|
||||||
catch (Exception ex) {
|
|
||||||
ex.printStackTrace();
|
|
||||||
System.err.println(XavaResources.getString("descriptionsEditor_filter_warning", propertyKey));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (filter instanceof IRequestFilter) {
|
|
||||||
((IRequestFilter) filter).setRequest(request);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
IFormatter formatter = null;
|
|
||||||
String descriptionsFormatterClass=request.getParameter("descriptionsFormatter");
|
|
||||||
if (descriptionsFormatterClass == null) {
|
|
||||||
descriptionsFormatterClass=request.getParameter("formateadorDescripciones");
|
|
||||||
}
|
|
||||||
if (descriptionsFormatterClass != null) {
|
|
||||||
String descriptionsFormatterKey = propertyKey + ".descriptionsFormatter";
|
|
||||||
formatter = (IFormatter) request.getSession().getAttribute(descriptionsFormatterKey);
|
|
||||||
if (formatter == null) {
|
|
||||||
try {
|
|
||||||
formatter = (IFormatter) Class.forName(descriptionsFormatterClass).newInstance();
|
|
||||||
request.getSession().setAttribute(descriptionsFormatterKey, formatter);
|
|
||||||
}
|
|
||||||
catch (Exception ex) {
|
|
||||||
ex.printStackTrace();
|
|
||||||
System.err.println(XavaResources.getString("descriptionsEditor_descriptions_formatter_warning", propertyKey));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
String parameterValuesProperties=request.getParameter("parameterValuesProperties");
|
|
||||||
if (parameterValuesProperties == null) {
|
|
||||||
parameterValuesProperties=request.getParameter("propiedadesValoresParametros");
|
|
||||||
}
|
|
||||||
String parameterValuesStereotypes=request.getParameter("parameterValuesStereotypes");
|
|
||||||
if (parameterValuesStereotypes == null) {
|
|
||||||
parameterValuesStereotypes=request.getParameter("estereotiposValoresParametros");
|
|
||||||
}
|
|
||||||
if (calculator == null) {
|
|
||||||
calculator = new DescriptionsCalculator();
|
|
||||||
// The arguments in English and Spanish for compatibility with
|
|
||||||
// a big amount of stereotypes made in spanish using this editor
|
|
||||||
String condition = request.getParameter("condition");
|
|
||||||
if (condition == null) condition = request.getParameter("condicion");
|
|
||||||
calculator.setCondition(condition);
|
|
||||||
String order = request.getParameter("order");
|
|
||||||
if (order == null) order = request.getParameter("orden");
|
|
||||||
calculator.setOrder(order);
|
|
||||||
calculator.setUseConvertersInKeys(true);
|
|
||||||
String model = request.getParameter("model");
|
|
||||||
if (model == null) model = request.getParameter("modelo");
|
|
||||||
calculator.setModel(model);
|
|
||||||
String keyProperty = request.getParameter("keyProperty");
|
|
||||||
if (keyProperty == null) keyProperty = request.getParameter("propiedadClave");
|
|
||||||
calculator.setKeyProperty(keyProperty);
|
|
||||||
String keyProperties = request.getParameter("keyProperties");
|
|
||||||
if (keyProperties == null) keyProperties = request.getParameter("propiedadesClave");
|
|
||||||
calculator.setKeyProperties(keyProperties);
|
|
||||||
String descriptionProperty = request.getParameter("descriptionProperty");
|
|
||||||
if (descriptionProperty == null) descriptionProperty = request.getParameter("propiedadDescripcion");
|
|
||||||
calculator.setDescriptionProperty(descriptionProperty);
|
|
||||||
String descriptionProperties = request.getParameter("descriptionProperties");
|
|
||||||
if (descriptionProperties == null) descriptionProperties = request.getParameter("propiedadesDescripcion");
|
|
||||||
calculator.setDescriptionProperties(descriptionProperties);
|
|
||||||
String orderByKey = request.getParameter("orderByKey");
|
|
||||||
if (orderByKey == null) orderByKey = request.getParameter("ordenadoPorClave");
|
|
||||||
calculator.setOrderByKey(orderByKey);
|
|
||||||
request.getSession().setAttribute(descriptionsCalculatorKey, calculator);
|
|
||||||
}
|
|
||||||
if (parameterValuesStereotypes != null || parameterValuesProperties != null) {
|
|
||||||
java.util.Iterator it = null;
|
|
||||||
if (parameterValuesStereotypes != null) {
|
|
||||||
it = view.getPropertiesNamesFromStereotypesList(parameterValuesStereotypes).iterator();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
it = view.getPropertiesNamesFromPropertiesList(parameterValuesProperties).iterator();
|
|
||||||
}
|
|
||||||
java.util.Collection p = new java.util.ArrayList();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
String parameterValueKey = (String) it.next();
|
|
||||||
org.openxava.view.View v = null;
|
|
||||||
if (parameterValueKey != null && parameterValueKey.startsWith("this.")) {
|
|
||||||
parameterValueKey = parameterValueKey.substring(5);
|
|
||||||
v = view;
|
|
||||||
}
|
|
||||||
else if (parameterValueKey != null && view.isMemberFromElementCollection(parameterValueKey)) {
|
|
||||||
v = view;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
v = view.getRoot();
|
|
||||||
}
|
|
||||||
Object parameterValue = parameterValueKey==null?null:v.getValue(parameterValueKey);
|
|
||||||
|
|
||||||
if (parameterValueKey != null) {
|
|
||||||
PropertyMapping mapping = v.getMetaProperty(parameterValueKey).getMapping();
|
|
||||||
if (mapping != null) {
|
|
||||||
IConverter converter = mapping.getConverter();
|
|
||||||
if (converter != null) {
|
|
||||||
parameterValue = converter.toDB(parameterValue);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
p.add(parameterValue);
|
|
||||||
}
|
|
||||||
calculator.setParameters(p, filter);
|
|
||||||
}
|
|
||||||
else if (filter != null) {
|
|
||||||
calculator.setParameters(null, filter);
|
|
||||||
}
|
|
||||||
java.util.Collection descriptions = calculator.getDescriptions();
|
|
||||||
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
|
|
||||||
String title = (p == null)?"":p.getDescription(request);
|
|
||||||
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
|
|
||||||
boolean editable = "true".equals(request.getParameter("editable"));
|
|
||||||
boolean label = org.openxava.util.XavaPreferences.getInstance().isReadOnlyAsLabel() || "true".equalsIgnoreCase(request.getParameter("readOnlyAsLabel"));
|
|
||||||
if (editable) {
|
|
||||||
java.util.Iterator it = descriptions.iterator();
|
|
||||||
String selectedDescription = "";
|
|
||||||
String selectedKey = "";
|
|
||||||
StringBuffer values = new StringBuffer("[");
|
|
||||||
int maxDescriptionLength = 0;
|
|
||||||
while (it.hasNext()) {
|
|
||||||
KeyAndDescription cl = (KeyAndDescription) it.next();
|
|
||||||
String selected = "";
|
|
||||||
String description = formatter==null?cl.getDescription().toString():formatter.format(request, cl.getDescription());
|
|
||||||
if (description.length() > maxDescriptionLength) maxDescriptionLength = description.length();
|
|
||||||
if (Is.equalAsStringIgnoreCase(fvalue, cl.getKey())) {
|
|
||||||
selected = "selected";
|
|
||||||
selectedDescription = description;
|
|
||||||
selectedKey = cl.getKey().toString();
|
|
||||||
}
|
|
||||||
values.append("{label:\"");
|
|
||||||
values.append(description.replaceAll("'", "'").replaceAll("\"", "″"));
|
|
||||||
values.append("\",value:\"");
|
|
||||||
values.append(cl.getKey().toString().replaceAll("'", "'").replaceAll("\"", "″"));
|
|
||||||
values.append("\"}");
|
|
||||||
if (it.hasNext()) values.append(",");
|
|
||||||
}
|
|
||||||
values.append("]");
|
|
||||||
String browser = request.getHeader("user-agent");
|
|
||||||
maxDescriptionLength += 5;
|
|
||||||
selectedDescription = selectedDescription.replaceAll("\"", """);
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t<span class=\"");
|
|
||||||
out.print(style.getDescriptionsList());
|
|
||||||
out.write(' ');
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write("\">\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t<input name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("__CONTROL__\" type=\"text\" tabindex=\"1\" class=\"xava_select ");
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write("\" size=\"");
|
|
||||||
out.print(maxDescriptionLength);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(script);
|
|
||||||
out.write(" title=\"");
|
|
||||||
out.print(title);
|
|
||||||
out.write("\" \r\n");
|
|
||||||
out.write("\t\tdata-values='");
|
|
||||||
out.print(values);
|
|
||||||
out.write("' value=\"");
|
|
||||||
out.print(selectedDescription);
|
|
||||||
out.write("\"/>\r\n");
|
|
||||||
out.write("\t<input id=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(selectedKey);
|
|
||||||
out.write("\"/>\r\n");
|
|
||||||
out.write("\t<input type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("__DESCRIPTION__\" value=\"");
|
|
||||||
out.print(selectedDescription);
|
|
||||||
out.write("\"/>\r\n");
|
|
||||||
out.write("\t<a class=\"ox-layout-descriptions-editor-handler\" href=\"javascript:descriptionsEditor.open('");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("')\"><i class=\"mdi mdi-menu-down\"></i></a> \t\t\r\n");
|
|
||||||
out.write("\t<a class=\"ox-layout-descriptions-editor-handler\" href=\"javascript:descriptionsEditor.close('");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("')\" style=\"display: none\"><i class=\"mdi mdi-menu-up\"></i></a>\r\n");
|
|
||||||
out.write("\t</span>\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
} else {
|
|
||||||
Object description = "";
|
|
||||||
java.util.Iterator it = descriptions.iterator();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
KeyAndDescription cl = (KeyAndDescription) it.next();
|
|
||||||
if (Is.equalAsString(fvalue, cl.getKey())) {
|
|
||||||
description = formatter==null?cl.getDescription().toString():formatter.format(request, cl.getDescription());
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (label) {
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
|
|
||||||
Object b = (Object) request.getParameter("bold");
|
|
||||||
boolean bold = b == null ? false : new Boolean(b.toString()).booleanValue();
|
|
||||||
if (bold) {
|
|
||||||
out.write(" <b> ");
|
|
||||||
}
|
|
||||||
out.write(" \r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
out.print(description);
|
|
||||||
out.write(" \r\n");
|
|
||||||
if (bold) {
|
|
||||||
out.write(" </b> ");
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t<input name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("__DESCRIPTION__\" class=");
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\ttype=\"text\" \r\n");
|
|
||||||
out.write("\t\ttitle=\"");
|
|
||||||
out.print(title);
|
|
||||||
out.write("\"\r\n");
|
|
||||||
out.write("\t\tmaxlength=\"");
|
|
||||||
out.print(description.toString().length());
|
|
||||||
out.write("\" \r\n");
|
|
||||||
out.write("\t\tsize=\"");
|
|
||||||
out.print(description.toString().length() + 5);
|
|
||||||
out.write("\" \r\n");
|
|
||||||
out.write("\t\tvalue=\"");
|
|
||||||
out.print(description);
|
|
||||||
out.write("\"\r\n");
|
|
||||||
out.write("\t\tdisabled\r\n");
|
|
||||||
out.write("\t/>\r\n");
|
|
||||||
}
|
|
||||||
out.write("\t\r\n");
|
|
||||||
out.write("\t<input type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write("\"/>\t\r\n");
|
|
||||||
}
|
|
||||||
out.write("\t\t\t\r\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,760 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:02:18 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.util.Locales;
|
|
||||||
|
|
||||||
public final class filePondTranslation_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590312433369L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Locales");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
|
|
||||||
if (!Locales.getCurrent().getLanguage().equals("en") && request.getAttribute("xava.filepond.transaled") == null) {
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t<script>\r\n");
|
|
||||||
out.write("\tFilePond.setOptions({\r\n");
|
|
||||||
out.write("\t\tlabelIdle: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelFileWaitingForSize: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelFileSizeNotAvailable: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f2(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelFileLoading: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f3(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("', \r\n");
|
|
||||||
out.write("\t\tlabelFileLoadError: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f4(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelFileProcessing: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f5(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("', \r\n");
|
|
||||||
out.write("\t\tlabelFileProcessingComplete: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f6(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelFileProcessingAborted: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f7(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelFileProcessingError: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f8(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelFileProcessingRevertError: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f9(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelFileRemoveError: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f10(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelTapToCancel: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f11(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelTapToRetry: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f12(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelTapToUndo: '");
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f13(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("',\r\n");
|
|
||||||
out.write("\t\tlabelButtonRemoveItem: '");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("', \r\n");
|
|
||||||
out.write("\t\tlabelButtonAbortItemLoad: '");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("', \r\n");
|
|
||||||
out.write("\t\tlabelButtonRetryItemLoad: '");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f2(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("', \r\n");
|
|
||||||
out.write("\t\tlabelButtonAbortItemProcessing: '");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f3(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("', \r\n");
|
|
||||||
out.write("\t\tlabelButtonUndoItemProcessing: '");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f4(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("', \r\n");
|
|
||||||
out.write("\t\tfilepond_labelButtonRetryItemProcessing: '");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f5(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("', \r\n");
|
|
||||||
out.write("\t\tfilepond_labelButtonProcessItem: '");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f6(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("' \r\n");
|
|
||||||
out.write("\t});\r\n");
|
|
||||||
out.write("\t</script>\r\n");
|
|
||||||
|
|
||||||
request.setAttribute("xava.filepond.transaled", true);
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write(" \t\r\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(10,14) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey("filepond_labelIdle");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(11,28) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setKey("filepond_labelFileWaitingForSize");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
|
|
||||||
_jspx_th_xava_005fmessage_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f2 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(12,30) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setKey("filepond_labelFileSizeNotAvailable");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f2 = _jspx_th_xava_005fmessage_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f2);
|
|
||||||
_jspx_th_xava_005fmessage_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f2_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f3 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f3_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f3.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f3.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(13,21) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f3.setKey("loading");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f3 = _jspx_th_xava_005fmessage_005f3.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f3);
|
|
||||||
_jspx_th_xava_005fmessage_005f3_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f3_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f4 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f4_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f4.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f4.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(14,23) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f4.setKey("filepond_labelFileLoadError");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f4 = _jspx_th_xava_005fmessage_005f4.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f4);
|
|
||||||
_jspx_th_xava_005fmessage_005f4_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f4_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f5 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f5_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f5.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f5.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(15,24) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f5.setKey("file_uploading");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f5 = _jspx_th_xava_005fmessage_005f5.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f5);
|
|
||||||
_jspx_th_xava_005fmessage_005f5_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f5_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f6(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f6 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f6_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f6.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f6.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(16,32) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f6.setKey("filepond_labelFileProcessingComplete");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f6 = _jspx_th_xava_005fmessage_005f6.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f6);
|
|
||||||
_jspx_th_xava_005fmessage_005f6_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f6, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f6_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f7(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f7 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f7_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f7.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f7.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(17,31) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f7.setKey("filepond_labelFileProcessingAborted");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f7 = _jspx_th_xava_005fmessage_005f7.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f7);
|
|
||||||
_jspx_th_xava_005fmessage_005f7_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f7, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f7_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f8(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f8 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f8_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f8.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f8.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(18,29) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f8.setKey("filepond_labelFileProcessingError");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f8 = _jspx_th_xava_005fmessage_005f8.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f8);
|
|
||||||
_jspx_th_xava_005fmessage_005f8_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f8, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f8_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f9(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f9 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f9_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f9.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f9.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(19,35) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f9.setKey("filepond_labelFileProcessingRevertError");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f9 = _jspx_th_xava_005fmessage_005f9.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f9);
|
|
||||||
_jspx_th_xava_005fmessage_005f9_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f9, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f9_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f10(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f10 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f10_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f10.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f10.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(20,25) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f10.setKey("filepond_labelFileRemoveError");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f10 = _jspx_th_xava_005fmessage_005f10.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f10);
|
|
||||||
_jspx_th_xava_005fmessage_005f10_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f10, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f10_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f11(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f11 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f11_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f11.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f11.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(21,21) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f11.setKey("filepond_labelTapToCancel");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f11 = _jspx_th_xava_005fmessage_005f11.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f11);
|
|
||||||
_jspx_th_xava_005fmessage_005f11_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f11, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f11_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f12(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f12 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f12_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f12.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f12.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(22,20) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f12.setKey("filepond_labelTapToRetry");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f12 = _jspx_th_xava_005fmessage_005f12.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f12);
|
|
||||||
_jspx_th_xava_005fmessage_005f12_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f12, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f12_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f13(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f13 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f13_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f13.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f13.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(23,19) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f13.setKey("filepond_labelTapToUndo");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f13 = _jspx_th_xava_005fmessage_005f13.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f13);
|
|
||||||
_jspx_th_xava_005fmessage_005f13_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f13, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f13_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f0 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f0.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(24,26) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f0.setKey("remove");
|
|
||||||
int _jspx_eval_xava_005flabel_005f0 = _jspx_th_xava_005flabel_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f0);
|
|
||||||
_jspx_th_xava_005flabel_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f1 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f1.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(25,29) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f1.setKey("abort");
|
|
||||||
int _jspx_eval_xava_005flabel_005f1 = _jspx_th_xava_005flabel_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f1);
|
|
||||||
_jspx_th_xava_005flabel_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f2 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f2.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(26,29) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f2.setKey("retry");
|
|
||||||
int _jspx_eval_xava_005flabel_005f2 = _jspx_th_xava_005flabel_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f2);
|
|
||||||
_jspx_th_xava_005flabel_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f2_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f3 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f3_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f3.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f3.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(27,35) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f3.setKey("cancel");
|
|
||||||
int _jspx_eval_xava_005flabel_005f3 = _jspx_th_xava_005flabel_005f3.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f3);
|
|
||||||
_jspx_th_xava_005flabel_005f3_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f3_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f4 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f4_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f4.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f4.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(28,34) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f4.setKey("undo");
|
|
||||||
int _jspx_eval_xava_005flabel_005f4 = _jspx_th_xava_005flabel_005f4.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f4);
|
|
||||||
_jspx_th_xava_005flabel_005f4_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f4_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f5 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f5_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f5.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f5.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(29,44) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f5.setKey("retry");
|
|
||||||
int _jspx_eval_xava_005flabel_005f5 = _jspx_th_xava_005flabel_005f5.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f5);
|
|
||||||
_jspx_th_xava_005flabel_005f5_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f5_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f6(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f6 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f6_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f6.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f6.setParent(null);
|
|
||||||
// /xava/editors/filePondTranslation.jsp(30,36) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f6.setKey("upload");
|
|
||||||
int _jspx_eval_xava_005flabel_005f6 = _jspx_th_xava_005flabel_005f6.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f6);
|
|
||||||
_jspx_th_xava_005flabel_005f6_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f6, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f6_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1,169 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:02:19 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import java.util.Currency;
|
|
||||||
import java.util.Locale;
|
|
||||||
|
|
||||||
public final class moneyEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("java.util.Locale");
|
|
||||||
_jspx_imports_classes.add("java.util.Currency");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String symbol = null;
|
|
||||||
try {
|
|
||||||
symbol = Currency.getInstance(Locale.getDefault()).getSymbol();
|
|
||||||
}
|
|
||||||
catch (Exception ex) { // Because Locale.getDefault() may not contain the country
|
|
||||||
symbol = "?";
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span class=\"");
|
|
||||||
out.print(style.getMoney());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("<b>");
|
|
||||||
out.print(symbol);
|
|
||||||
out.write("</b>\n");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "textEditor.jsp", out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,136 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:46 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class passwordEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
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;
|
|
||||||
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "textEditor.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("inputType", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("password", request.getCharacterEncoding()), out, false);
|
|
||||||
out.write(' ');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,136 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 19:07:57 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class referenceEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
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;
|
|
||||||
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../detail.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(request.getParameter("viewObject")), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("propertyPrefix", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(request.getParameter("propertyPrefix")), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("first", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(request.getParameter("first")), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,431 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:47:43 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.Locale;
|
|
||||||
import org.openxava.util.Locales;
|
|
||||||
import org.openxava.util.Labels;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.web.Ids;
|
|
||||||
|
|
||||||
public final class selectColumns_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590312433369L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("java.util.Iterator");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Labels");
|
|
||||||
_jspx_imports_classes.add("java.util.Locale");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Ids");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Locales");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" ");
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String tabObject = request.getParameter("tabObject");
|
|
||||||
tabObject = (tabObject == null || tabObject.equals(""))?"xava_tab":tabObject;
|
|
||||||
org.openxava.tab.Tab tab = (org.openxava.tab.Tab) context.get(request, "xava_customizingTab");
|
|
||||||
String searchWord = request.getParameter("searchWord");
|
|
||||||
searchWord = searchWord == null?"":searchWord.toLowerCase();
|
|
||||||
boolean originalColumnsToAddUntilSecondLevel = tab.isColumnsToAddUntilSecondLevel();
|
|
||||||
if (!Is.emptyString(searchWord)) tab.setColumnsToAddUntilSecondLevel(false);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<table id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" class='");
|
|
||||||
out.print(style.getList());
|
|
||||||
out.write("' width=\"100%\" ");
|
|
||||||
out.print(style.getListCellSpacing());
|
|
||||||
out.write(" style=\"margin-bottom: 5px; ");
|
|
||||||
out.print(style.getListStyle());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("<tr class=\"");
|
|
||||||
out.print(style.getListPair());
|
|
||||||
out.write("\" style=\"border-bottom: 1px solid; height: 0px;\"/> \n");
|
|
||||||
|
|
||||||
int f=0;
|
|
||||||
Locale currentLocale = Locales.getCurrent(); //Trifon
|
|
||||||
int c=0;
|
|
||||||
for (Iterator it=tab.getColumnsToAdd().iterator(); it.hasNext();) {
|
|
||||||
String property = (String) it.next();
|
|
||||||
String cssClass=c%2==0?style.getListPair():style.getListOdd();
|
|
||||||
String cssCellClass=c%2==0?style.getListPairCell():style.getListOddCell();
|
|
||||||
String events=c%2==0?style.getListPairEvents():style.getListOddEvents();
|
|
||||||
String rowId = Ids.decorate(request, "xavaPropertiesList") + f;
|
|
||||||
String actionOnClick = org.openxava.web.Actions.getActionOnClick(
|
|
||||||
request.getParameter("application"), request.getParameter("module"),
|
|
||||||
null, f, null, rowId,
|
|
||||||
"", "",
|
|
||||||
null, tabObject);
|
|
||||||
f++;
|
|
||||||
String propertyI18n = Labels.getQualified(property, currentLocale);
|
|
||||||
if (!Is.emptyString(searchWord) && !propertyI18n.toLowerCase().contains(searchWord)) continue;
|
|
||||||
c++;
|
|
||||||
if (tab.isColumnsToAddUntilSecondLevel() && c > 20) break;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<tr id=\"");
|
|
||||||
out.print(rowId);
|
|
||||||
out.write("\" class=\"");
|
|
||||||
out.print(cssClass);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(events);
|
|
||||||
out.write(" style=\"border-bottom: 1px solid;\">\n");
|
|
||||||
out.write("\t<td class=\"");
|
|
||||||
out.print(cssCellClass);
|
|
||||||
out.write("\" style=\"");
|
|
||||||
out.print(style.getListCellStyle());
|
|
||||||
out.write("\" width=\"5\">\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f0 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f0.setParent(null);
|
|
||||||
// /xava/editors/selectColumns.jsp(47,2) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f0.setAction("AddColumns.addColumn");
|
|
||||||
// /xava/editors/selectColumns.jsp(47,2) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f0.setArgv("property=" + property);
|
|
||||||
int _jspx_eval_xava_005faction_005f0 = _jspx_th_xava_005faction_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f0);
|
|
||||||
_jspx_th_xava_005faction_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</td>\t\t\n");
|
|
||||||
out.write("\t<td class=\"");
|
|
||||||
out.print(cssCellClass);
|
|
||||||
out.write("\" style=\"");
|
|
||||||
out.print(style.getListCellStyle());
|
|
||||||
out.write("\" width=\"5\">\n");
|
|
||||||
out.write("\t\t<input type=\"checkbox\" name=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write("\" value=\"selectedProperties:");
|
|
||||||
out.print(property);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(actionOnClick);
|
|
||||||
out.write("/>\n");
|
|
||||||
out.write("\t</td>\n");
|
|
||||||
out.write("\t<td class=\"");
|
|
||||||
out.print(cssCellClass);
|
|
||||||
out.write("\" style=\"");
|
|
||||||
out.print(style.getListCellStyle());
|
|
||||||
out.write("\"> \n");
|
|
||||||
out.write("\t\t");
|
|
||||||
// xava:link
|
|
||||||
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f0 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction.get(org.openxava.web.taglib.LinkTag.class);
|
|
||||||
boolean _jspx_th_xava_005flink_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flink_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flink_005f0.setParent(null);
|
|
||||||
// /xava/editors/selectColumns.jsp(53,2) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setAction("AddColumns.addColumn");
|
|
||||||
// /xava/editors/selectColumns.jsp(53,2) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setArgv("property=" + property);
|
|
||||||
// /xava/editors/selectColumns.jsp(53,2) name = cssStyle type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setCssStyle("text-decoration: none; outline: none;");
|
|
||||||
int _jspx_eval_xava_005flink_005f0 = _jspx_th_xava_005flink_005f0.doStartTag();
|
|
||||||
if (_jspx_eval_xava_005flink_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
|
|
||||||
do {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<div>");
|
|
||||||
out.print(propertyI18n);
|
|
||||||
out.write("</div>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
int evalDoAfterBody = _jspx_th_xava_005flink_005f0.doAfterBody();
|
|
||||||
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
|
|
||||||
break;
|
|
||||||
} while (true);
|
|
||||||
}
|
|
||||||
if (_jspx_th_xava_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction.reuse(_jspx_th_xava_005flink_005f0);
|
|
||||||
_jspx_th_xava_005flink_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</td>\n");
|
|
||||||
out.write("</tr>\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (tab.isColumnsToAddUntilSecondLevel()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<tr class=\"");
|
|
||||||
out.print(style.getListPair());
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("<td/>\n");
|
|
||||||
out.write("<td/>\n");
|
|
||||||
out.write("<td>\n");
|
|
||||||
// xava:link
|
|
||||||
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f1 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody.get(org.openxava.web.taglib.LinkTag.class);
|
|
||||||
boolean _jspx_th_xava_005flink_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flink_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flink_005f1.setParent(null);
|
|
||||||
// /xava/editors/selectColumns.jsp(69,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f1.setAction("AddColumns.showMoreColumns");
|
|
||||||
// /xava/editors/selectColumns.jsp(69,0) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f1.setCssClass(style.getActionLink());
|
|
||||||
// /xava/editors/selectColumns.jsp(69,0) name = cssStyle type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f1.setCssStyle("margin-left: 0px;");
|
|
||||||
int _jspx_eval_xava_005flink_005f1 = _jspx_th_xava_005flink_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flink_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody.reuse(_jspx_th_xava_005flink_005f1);
|
|
||||||
_jspx_th_xava_005flink_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("</td>\n");
|
|
||||||
out.write("</tr>\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
tab.setColumnsToAddUntilSecondLevel(originalColumnsToAddUntilSecondLevel);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</table>\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/editors/selectColumns.jsp(22,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName("xavaPropertiesList");
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f1.setParent(null);
|
|
||||||
// /xava/editors/selectColumns.jsp(50,31) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f1.setName("xava_selected");
|
|
||||||
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
|
|
||||||
_jspx_th_xava_005fid_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,200 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:02:19 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
|
|
||||||
public final class textAreaEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String propertyKey = request.getParameter("propertyKey");
|
|
||||||
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
|
|
||||||
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
|
|
||||||
if ("0".equals(fvalue)) fvalue = "";
|
|
||||||
String align = p.isNumber()?"right":"left";
|
|
||||||
boolean editable="true".equals(request.getParameter("editable"));
|
|
||||||
String disabled=editable?"":"disabled";
|
|
||||||
String script = request.getParameter("script");
|
|
||||||
int rows = p.getSize() / 80 + 1;
|
|
||||||
if (rows > 25) rows = 25;
|
|
||||||
script = script + " onkeyup='return openxava.limitLength(event, " + p.getSize() + ")' ";
|
|
||||||
boolean rich = Is.equalAsStringIgnoreCase("true", request.getParameter("rich"));
|
|
||||||
String cssClass = request.getParameter("cssClass");
|
|
||||||
if (cssClass == null) cssClass = style.getEditor();
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<textarea id=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" class=\"");
|
|
||||||
out.print(cssClass);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\ttabindex=\"1\" \n");
|
|
||||||
out.write("\trows=\"");
|
|
||||||
out.print(rows);
|
|
||||||
out.write("\" cols=\"80\"\n");
|
|
||||||
out.write("\ttitle=\"");
|
|
||||||
out.print(p.getDescription(request));
|
|
||||||
out.write("\"\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
out.print(disabled);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(script);
|
|
||||||
out.write('>');
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write("</textarea>\t\n");
|
|
||||||
if (!editable) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<input type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write("\t\t\t\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,326 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:46 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import java.text.NumberFormat;
|
|
||||||
import java.text.DecimalFormat;
|
|
||||||
import java.text.DecimalFormatSymbols;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.util.Strings;
|
|
||||||
import org.openxava.util.Align;
|
|
||||||
import org.openxava.util.Locales;
|
|
||||||
import org.openxava.util.XavaResources;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
|
|
||||||
public final class textEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
|
|
||||||
private static Log log = LogFactory.getLog("textEditor.jsp");
|
|
||||||
|
|
||||||
private String getNumericAlt(int size, int scale) {
|
|
||||||
try {
|
|
||||||
DecimalFormat df = (DecimalFormat) NumberFormat.getNumberInstance(Locales.getCurrent());
|
|
||||||
DecimalFormatSymbols symbols = df.getDecimalFormatSymbols();
|
|
||||||
StringBuffer result = new StringBuffer("alt='n"); // Negatives always allowed
|
|
||||||
result.append(size > 9?"0":Integer.toString(size)); // Size
|
|
||||||
if (scale == 0 || !df.isGroupingUsed()) result.append("x"); // no grouping separator
|
|
||||||
else {
|
|
||||||
switch (symbols.getGroupingSeparator()) {
|
|
||||||
case ',':
|
|
||||||
result.append("c"); // comma
|
|
||||||
break;
|
|
||||||
case '.':
|
|
||||||
result.append("p"); // period
|
|
||||||
break;
|
|
||||||
case ' ':
|
|
||||||
result.append("s"); // space
|
|
||||||
break;
|
|
||||||
case '\'':
|
|
||||||
result.append("a"); // apostrophe
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
result.append("x"); // none
|
|
||||||
}
|
|
||||||
}
|
|
||||||
result.append(df.getGroupingSize());
|
|
||||||
switch (symbols.getDecimalSeparator()) {
|
|
||||||
case ',':
|
|
||||||
result.append("c"); // comma
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
result.append("p"); // period
|
|
||||||
}
|
|
||||||
result.append(scale > 9?"9":Integer.toString(scale)); // Scale
|
|
||||||
result.append("'");
|
|
||||||
return result.toString();
|
|
||||||
}
|
|
||||||
catch (Exception ex) {
|
|
||||||
log.warn(XavaResources.getString("default_numeric_editor_configuration"));
|
|
||||||
return "alt='n0c3p2'";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Strings");
|
|
||||||
_jspx_imports_classes.add("java.text.DecimalFormatSymbols");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Align");
|
|
||||||
_jspx_imports_classes.add("java.text.DecimalFormat");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaResources");
|
|
||||||
_jspx_imports_classes.add("org.apache.commons.logging.Log");
|
|
||||||
_jspx_imports_classes.add("org.apache.commons.logging.LogFactory");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Locales");
|
|
||||||
_jspx_imports_classes.add("java.text.NumberFormat");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String propertyKey = request.getParameter("propertyKey");
|
|
||||||
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
|
|
||||||
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
|
|
||||||
String align = p.isNumber()?"style='text-align:right'":"";
|
|
||||||
boolean editable="true".equals(request.getParameter("editable"));
|
|
||||||
String disabled=editable?"":"disabled";
|
|
||||||
String script = request.getParameter("script");
|
|
||||||
boolean label = org.openxava.util.XavaPreferences.getInstance().isReadOnlyAsLabel();
|
|
||||||
String inputType = request.getParameter("inputType");
|
|
||||||
if (inputType == null) inputType = "text";
|
|
||||||
String smaxSize = request.getParameter("maxSize");
|
|
||||||
int maxSize = 0;
|
|
||||||
if (!org.openxava.util.Is.emptyString(smaxSize)) {
|
|
||||||
maxSize = Integer.parseInt(smaxSize);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
maxSize = org.openxava.util.XavaPreferences.getInstance().getMaxSizeForTextEditor();
|
|
||||||
}
|
|
||||||
int size = p.getSize() > maxSize?maxSize:p.getSize();
|
|
||||||
int maxLength = p.getSize();
|
|
||||||
String numericAlt = "";
|
|
||||||
String numericClass = "";
|
|
||||||
if (p.isNumber()) {
|
|
||||||
if (p.getScale() > 0) {
|
|
||||||
int sizeIncrement = (size - 1) / 3 + 2; // The points/commas for thousands + point/comma for decimal + minus sign
|
|
||||||
size += sizeIncrement;
|
|
||||||
maxLength += sizeIncrement;
|
|
||||||
}
|
|
||||||
String integer = p.getScale() == 0?"true":"false";
|
|
||||||
numericAlt = getNumericAlt(p.getSize(), p.getScale());
|
|
||||||
numericClass = "xava_numeric";
|
|
||||||
}
|
|
||||||
|
|
||||||
boolean fillWithZeros = "true".equals(request.getParameter("fillWithZeros"));
|
|
||||||
if (fillWithZeros && fvalue.length() > 0) {
|
|
||||||
fvalue = Strings.fix(fvalue, size, Align.RIGHT, '0');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (editable || !label) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<input id=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write(" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" class=\"");
|
|
||||||
out.print(style.getEditor());
|
|
||||||
out.write(' ');
|
|
||||||
out.print(numericClass);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\ttype=\"");
|
|
||||||
out.print(inputType);
|
|
||||||
out.write("\" \n");
|
|
||||||
out.write("\ttabindex=\"1\"\n");
|
|
||||||
out.write("\ttitle=\"");
|
|
||||||
out.print(p.getDescription(request));
|
|
||||||
out.write('"');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(align);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\tmaxlength=\"");
|
|
||||||
out.print(maxLength);
|
|
||||||
out.write("\" \n");
|
|
||||||
out.write("\tsize=\"");
|
|
||||||
out.print(size);
|
|
||||||
out.write('"');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(numericAlt);
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\tvalue=\"");
|
|
||||||
out.print(Strings.change(fvalue, "\"", """));
|
|
||||||
out.write("\"\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
out.print(disabled);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(script);
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t/>\n");
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write(" \t\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
if (!editable) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<input type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(fvalue);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write("\t\t\t\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,222 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:02:18 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava.editors;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.util.XavaException;
|
|
||||||
import org.openxava.web.editors.IUploadFilesIdsProvider;
|
|
||||||
|
|
||||||
public final class uploadEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaException");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.editors.IUploadFilesIdsProvider");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
|
|
||||||
String propertyKey = request.getParameter("propertyKey");
|
|
||||||
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
|
|
||||||
String applicationName = request.getParameter("application");
|
|
||||||
String module = request.getParameter("module");
|
|
||||||
boolean editable = "true".equals(request.getParameter("editable"));
|
|
||||||
String dataEditable = editable?"":"data-editable='true'";
|
|
||||||
Object value = request.getAttribute(propertyKey + ".value");
|
|
||||||
String dataFiles = "";
|
|
||||||
String filesIds = null;
|
|
||||||
if (!Is.empty(value)) {
|
|
||||||
String filesIdsProviderClass = request.getParameter("filesIdsProviderClass");
|
|
||||||
if (Is.emptyString(filesIdsProviderClass)) {
|
|
||||||
throw new XavaException("files_ids_provider_class_parameter_missed__upload_editor");
|
|
||||||
}
|
|
||||||
IUploadFilesIdsProvider filesIdsProvider = (IUploadFilesIdsProvider) Class.forName(filesIdsProviderClass).newInstance();
|
|
||||||
filesIds = filesIdsProvider.getFilesIds(value);
|
|
||||||
if (filesIds != null) {
|
|
||||||
dataFiles = "data-files='" + filesIds + "'";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
String dataEmpty = "null".equals(value) || Is.empty(value) || !Is.empty(value) && filesIds != null && "".equals(filesIds)?"data-empty='true'":"";
|
|
||||||
String cssClass = request.getParameter("cssClass");
|
|
||||||
cssClass = Is.emptyString(cssClass)?"":" " + cssClass;
|
|
||||||
boolean multiple = "true".equals(request.getParameter("multipleFiles"));
|
|
||||||
String dataMultiple = multiple?"data-multiple='true'":"";
|
|
||||||
boolean preview = !"false".equals(request.getParameter("imagePreview"));
|
|
||||||
String dataPreview = !preview?"data-preview='false'":"";
|
|
||||||
String script = request.getParameter("script");
|
|
||||||
boolean throwsChanged = script != null && script.contains(".throwPropertyChanged(");
|
|
||||||
String dataThrowsChanged = throwsChanged?"data-throws-changed='true'":"";
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<input id='");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("' \n");
|
|
||||||
out.write("\ttype=\"file\" class=\"xava_upload");
|
|
||||||
out.print(cssClass);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\tdata-application=\"");
|
|
||||||
out.print(applicationName);
|
|
||||||
out.write("\" \n");
|
|
||||||
out.write("\tdata-module=\"");
|
|
||||||
out.print(module);
|
|
||||||
out.write('"');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(dataMultiple);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(dataPreview);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(dataFiles);
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(dataEmpty);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(dataEditable);
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(dataThrowsChanged);
|
|
||||||
out.write("/> \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<input type=\"hidden\" name=\"");
|
|
||||||
out.print(propertyKey);
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(value);
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "filePondTranslation.jsp", out, false);
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,229 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:45 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class errors_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.util.Messages errors = null;
|
|
||||||
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (errors == null){
|
|
||||||
errors = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (errors.contains()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<div class='");
|
|
||||||
out.print(style.getErrorsWrapper());
|
|
||||||
out.write("'>\n");
|
|
||||||
out.write("<table id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
java.util.Iterator it = errors.getStrings(request).iterator();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<tr><td class='");
|
|
||||||
out.print(style.getErrors());
|
|
||||||
out.write('\'');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(style.getErrorStartDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<i class=\"mdi mdi-close\" style=\"cursor: pointer;\" onclick=\"$(this).parent().fadeOut()\"></i>\n");
|
|
||||||
out.print(it.next());
|
|
||||||
out.write('\n');
|
|
||||||
out.print(style.getErrorEndDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</td></tr>\n");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</table>\n");
|
|
||||||
out.write("</div>\n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/errors.jsp(11,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName("errors_table");
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,302 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:43 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Enumeration;
|
|
||||||
import java.util.StringTokenizer;
|
|
||||||
import org.openxava.web.Ids;
|
|
||||||
import java.awt.event.InputEvent;
|
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import javax.swing.KeyStroke;
|
|
||||||
import org.openxava.controller.meta.MetaAction;
|
|
||||||
import org.openxava.view.View;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.util.Users;
|
|
||||||
import org.openxava.util.Locales;
|
|
||||||
import org.openxava.util.XavaResources;
|
|
||||||
|
|
||||||
public final class execute_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("java.awt.event.InputEvent");
|
|
||||||
_jspx_imports_classes.add("javax.swing.KeyStroke");
|
|
||||||
_jspx_imports_classes.add("java.util.Iterator");
|
|
||||||
_jspx_imports_classes.add("java.util.Enumeration");
|
|
||||||
_jspx_imports_classes.add("java.util.Collection");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Ids");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
_jspx_imports_classes.add("org.openxava.controller.meta.MetaAction");
|
|
||||||
_jspx_imports_classes.add("java.util.StringTokenizer");
|
|
||||||
_jspx_imports_classes.add("java.util.Map");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Users");
|
|
||||||
_jspx_imports_classes.add("org.openxava.view.View");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaResources");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Locales");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.util.Messages errors = null;
|
|
||||||
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (errors == null){
|
|
||||||
errors = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.util.Messages messages = null;
|
|
||||||
messages = (org.openxava.util.Messages) _jspx_page_context.getAttribute("messages", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (messages == null){
|
|
||||||
messages = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("messages", messages, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String browser = (String) request.getAttribute("xava.portlet.user-agent");
|
|
||||||
if (browser == null) {
|
|
||||||
browser = request.getHeader("user-agent");
|
|
||||||
request.setAttribute("xava.portlet.user-agent", browser);
|
|
||||||
}
|
|
||||||
Locales.setCurrent(request);
|
|
||||||
|
|
||||||
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager", "org.openxava.controller.ModuleManager");
|
|
||||||
manager.setSession(session);
|
|
||||||
|
|
||||||
org.openxava.tab.Tab t = (org.openxava.tab.Tab) context.get(request, "xava_tab");
|
|
||||||
request.setAttribute("tab", t);
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.tab.Tab tab = null;
|
|
||||||
tab = (org.openxava.tab.Tab) _jspx_page_context.getAttribute("tab", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (tab == null){
|
|
||||||
tab = new org.openxava.tab.Tab();
|
|
||||||
_jspx_page_context.setAttribute("tab", tab, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
View view = (View) context.get(request, "xava_view");
|
|
||||||
String[] deselected = request.getParameterValues("deselected");
|
|
||||||
if (deselected != null){
|
|
||||||
for (int i = 0; i < deselected.length; i++){
|
|
||||||
String d = deselected[i];
|
|
||||||
if (d.contains("xava_tab")) tab.friendExecuteJspDeselect(d);
|
|
||||||
else if (d.contains("xava_collectionTab")) {
|
|
||||||
view.deselectCollection(d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (!"false".equals(request.getAttribute("xava.sendParametersToTab"))) {
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(_jspx_page_context.findAttribute("tab"), "selected", request.getParameter("selected"), request, "selected", false);
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
|
|
||||||
manager.setApplicationName(request.getParameter("application"));
|
|
||||||
manager.setModuleName(request.getParameter("module"));
|
|
||||||
boolean loadingModulePage = "true".equals(request.getParameter("loadingModulePage"));
|
|
||||||
if (!loadingModulePage) manager.executeBeforeEachRequestActions(request, errors, messages);
|
|
||||||
view.setRequest(request);
|
|
||||||
view.setErrors(errors);
|
|
||||||
view.setMessages(messages);
|
|
||||||
|
|
||||||
java.util.Stack previousViews = (java.util.Stack) context.get(request, "xava_previousViews");
|
|
||||||
for (Iterator it = previousViews.iterator(); it.hasNext(); ) {
|
|
||||||
View previousView = (View) it.next();
|
|
||||||
previousView.setRequest(request);
|
|
||||||
previousView.setErrors(errors);
|
|
||||||
previousView.setMessages(messages);
|
|
||||||
}
|
|
||||||
|
|
||||||
tab.setRequest(request);
|
|
||||||
tab.setErrors(errors);
|
|
||||||
if (manager.isListMode()) {
|
|
||||||
tab.setModelName(manager.getModelName());
|
|
||||||
if (tab.getTabName() == null) {
|
|
||||||
tab.setTabName(manager.getTabName());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
boolean hasProcessRequest = manager.hasProcessRequest(request);
|
|
||||||
manager.preInitModule(request);
|
|
||||||
if (manager.isXavaView(request)) {
|
|
||||||
if (hasProcessRequest) {
|
|
||||||
view.assignValuesToWebView();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!(loadingModulePage && manager.isCoreViaAJAX(request))) {
|
|
||||||
manager.initModule(request, errors, messages);
|
|
||||||
manager.executeOnEachRequestActions(request, errors, messages);
|
|
||||||
if (hasProcessRequest) {
|
|
||||||
manager.execute(request, errors, messages);
|
|
||||||
if (manager.isListMode()) { // here and before execute the action
|
|
||||||
tab.setModelName(manager.getModelName());
|
|
||||||
if (tab.getTabName() == null) {
|
|
||||||
tab.setTabName(manager.getTabName());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//after-each-request
|
|
||||||
manager.executeAfterEachRequestActions(request, errors, messages);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ("true".equals(request.getParameter("firstRequest")) && manager.isCoreViaAJAX(request)) {
|
|
||||||
manager.executeBeforeLoadPage(request, errors, messages);
|
|
||||||
}
|
|
||||||
if (manager.isDetailMode()) view.setRequest(request);
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,206 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:02:18 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class frameActions_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
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;
|
|
||||||
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String frameId=request.getParameter("frameId");
|
|
||||||
boolean closed="true".equals(request.getParameter("closed"));
|
|
||||||
String frameContentId=frameId + "content";
|
|
||||||
String frameShowId=frameId + "show";
|
|
||||||
String frameHideId=frameId + "hide";
|
|
||||||
String hideStyle=closed?"style='display: none'":"";
|
|
||||||
String showStyle=closed?"":"style='display: none'";
|
|
||||||
|
|
||||||
String minimizeImage = null;
|
|
||||||
if (style.getMinimizeImage() != null) minimizeImage=!style.getMinimizeImage().startsWith("/")?request.getContextPath() + "/" + style.getMinimizeImage():style.getMinimizeImage();
|
|
||||||
String restoreImage = null;
|
|
||||||
if (style.getRestoreImage() != null) restoreImage=!style.getRestoreImage().startsWith("/")?request.getContextPath() + "/" + style.getRestoreImage():style.getRestoreImage();
|
|
||||||
|
|
||||||
out.write(" \t\t\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id=\"");
|
|
||||||
out.print(frameHideId);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(hideStyle);
|
|
||||||
out.write(">\n");
|
|
||||||
out.write("\t<a href=\"javascript:openxava.hideFrame('");
|
|
||||||
out.print(frameId);
|
|
||||||
out.write("')\">\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
if (minimizeImage == null) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<i class=\"mdi mdi-menu-down\"></i>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
} else {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<img src=\"");
|
|
||||||
out.print(minimizeImage);
|
|
||||||
out.write("\" border=0 align=\"absmiddle\"/>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</a>\n");
|
|
||||||
out.write("</span> \n");
|
|
||||||
out.write("<span id=\"");
|
|
||||||
out.print(frameShowId);
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(showStyle);
|
|
||||||
out.write(">\n");
|
|
||||||
out.write("\t<a href=\"javascript:openxava.showFrame('");
|
|
||||||
out.print(frameId);
|
|
||||||
out.write("')\">\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
if (restoreImage == null) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<i class=\"mdi mdi-menu-right\"></i>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
} else {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<img src=\"");
|
|
||||||
out.print(restoreImage);
|
|
||||||
out.write("\" border=0 align=\"absmiddle\"/>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</a>\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,909 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:31:40 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Locale;
|
|
||||||
import org.openxava.util.XavaResources;
|
|
||||||
import org.openxava.util.Primitives;
|
|
||||||
import org.openxava.util.Strings;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
import org.openxava.tab.meta.MetaTab;
|
|
||||||
import org.openxava.tab.Tab;
|
|
||||||
import org.openxava.component.MetaComponent;
|
|
||||||
import org.openxava.model.meta.MetaModel;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.util.XSystem;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
|
|
||||||
public final class jasperReport_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
|
|
||||||
private static int EXTRA_WIDTH = 15;
|
|
||||||
private static int MAX_CHARACTERS_PER_ROW = 122; // If you modify these
|
|
||||||
private static int WIDE_CHARACTERS_PER_ROW = 104; // values please verify
|
|
||||||
private static int MEDIUM_CHARACTERS_PER_ROW = 63; // if the tests in PrettyPrintingTest
|
|
||||||
private static int NARROW_CHARACTERS_PER_ROW = 44; // pass for the 4 branch of the if below
|
|
||||||
|
|
||||||
private int [] parseWidths(String widths, Integer columnCountLimit) {
|
|
||||||
String [] tokens = widths.split("[\\[\\], ]+");
|
|
||||||
int size = columnCountLimit == null?tokens.length - 1:columnCountLimit.intValue();
|
|
||||||
int [] result = new int[size];
|
|
||||||
for (int i=0; i<result.length; i++) {
|
|
||||||
result[i] = Integer.parseInt(tokens[i+1]);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int adjustWithsToLabels(List metaProperties, int [] widths, Locale locale) {
|
|
||||||
int totalWidth = 0;
|
|
||||||
int i=0;
|
|
||||||
for (Iterator it = metaProperties.iterator(); it.hasNext(); i++) {
|
|
||||||
MetaProperty p = (MetaProperty) it.next();
|
|
||||||
String label = p.getQualifiedLabel(locale);
|
|
||||||
if (widths[i] == 0) widths[i] = p.getSize();
|
|
||||||
int labelLength = Math.min(label.length(), 10);
|
|
||||||
if (widths[i] < labelLength) widths[i] = labelLength;
|
|
||||||
totalWidth+=widths[i];
|
|
||||||
}
|
|
||||||
return totalWidth;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int calculateRowsInHeader(List metaProperties, int [] widths, Locale locale) {
|
|
||||||
int rowsInHeader = 1;
|
|
||||||
int i=0;
|
|
||||||
for (Iterator it = metaProperties.iterator(); it.hasNext(); i++) {
|
|
||||||
MetaProperty p = (MetaProperty) it.next();
|
|
||||||
String label = p.getQualifiedLabel(locale);
|
|
||||||
int rows = (label.length() - 1) / (int) (widths[i] * 1.58) + 1;
|
|
||||||
rowsInHeader = Math.max(rowsInHeader, rows);
|
|
||||||
}
|
|
||||||
return rowsInHeader;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void expandWidths(List metaProperties, int [] widths, int max, Locale locale) {
|
|
||||||
int totalWidth = 0;
|
|
||||||
Collection candidates = new java.util.ArrayList();
|
|
||||||
for (int i=0; i<widths.length; i++) {
|
|
||||||
if (widths[i] < ((MetaProperty) metaProperties.get(i)).getQualifiedLabel(locale).length()) {
|
|
||||||
candidates.add(new Integer(i));
|
|
||||||
}
|
|
||||||
totalWidth += widths[i];
|
|
||||||
}
|
|
||||||
if (totalWidth < max && !candidates.isEmpty()) {
|
|
||||||
int extra = (max - totalWidth) / candidates.size();
|
|
||||||
for (Iterator it = candidates.iterator(); it.hasNext(); ) {
|
|
||||||
int i = ((Integer) it.next()).intValue();
|
|
||||||
widths[i] = widths[i] + extra;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private int [] tightenWidths(List metaProperties, int [] widths) {
|
|
||||||
int [] originalWidths = widths.clone();
|
|
||||||
int littleOnesTotal = 0;
|
|
||||||
int littleOnesCount = 0;
|
|
||||||
for (int i=0; i<widths.length; i++) {
|
|
||||||
if (widths[i] <= 20) {
|
|
||||||
littleOnesTotal+=widths[i];
|
|
||||||
littleOnesCount++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
int spaceForBigOnes = MAX_CHARACTERS_PER_ROW - littleOnesTotal;
|
|
||||||
int bigOnesCount = widths.length - littleOnesCount;
|
|
||||||
int widthForBig = bigOnesCount==0?20:spaceForBigOnes / bigOnesCount;
|
|
||||||
if (widthForBig < 20) widthForBig = 20;
|
|
||||||
int total = 0;
|
|
||||||
for (int i=0; i<widths.length; i++) {
|
|
||||||
if (widths[i] > 20 && widths[i] > widthForBig) widths[i] = widthForBig;
|
|
||||||
total += widths[i];
|
|
||||||
}
|
|
||||||
if (total > MAX_CHARACTERS_PER_ROW) {
|
|
||||||
metaProperties.remove(metaProperties.size() - 1);
|
|
||||||
widths = org.apache.commons.lang.ArrayUtils.remove(originalWidths, originalWidths.length - 1);
|
|
||||||
return tightenWidths(metaProperties, widths);
|
|
||||||
}
|
|
||||||
return widths;
|
|
||||||
}
|
|
||||||
|
|
||||||
private String getAlign(MetaProperty p) throws Exception {
|
|
||||||
String align = "Left";
|
|
||||||
if (p.isNumber() && !p.hasValidValues()) align = "Right";
|
|
||||||
else if (p.getType().equals(boolean.class)) align = "Center";
|
|
||||||
return align;
|
|
||||||
}
|
|
||||||
|
|
||||||
private List getMetaProperties(Tab tab, Integer columnCountLimit) {
|
|
||||||
if (columnCountLimit == null) return new java.util.ArrayList(tab.getMetaProperties());
|
|
||||||
List result = new java.util.ArrayList();
|
|
||||||
int c = 0;
|
|
||||||
for (MetaProperty p: tab.getMetaProperties()) {
|
|
||||||
if (++c > columnCountLimit) break;
|
|
||||||
result.add(p);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(2);
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.tab.meta.MetaTab");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Primitives");
|
|
||||||
_jspx_imports_classes.add("java.util.Iterator");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Strings");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("java.util.Collection");
|
|
||||||
_jspx_imports_classes.add("java.util.HashMap");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XSystem");
|
|
||||||
_jspx_imports_classes.add("java.util.List");
|
|
||||||
_jspx_imports_classes.add("java.util.Locale");
|
|
||||||
_jspx_imports_classes.add("java.util.Map");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaResources");
|
|
||||||
_jspx_imports_classes.add("org.openxava.tab.Tab");
|
|
||||||
_jspx_imports_classes.add("org.openxava.component.MetaComponent");
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaModel");
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.print("<?xml version='1.0' encoding='" + org.openxava.util.XSystem.getEncoding() + "' ?>");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<!DOCTYPE jasperReport PUBLIC \"-//JasperReports//DTD Report Design//EN\" \n");
|
|
||||||
out.write("\"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd\">\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
Tab tab = (Tab) request.getSession().getAttribute("xava_reportTab");
|
|
||||||
String reportName = Strings.change(tab.getModelName(), ".", "_");
|
|
||||||
Collection totalProperties = tab.getTotalPropertiesNames();
|
|
||||||
String language = request.getParameter("language");
|
|
||||||
if (language == null) language = org.openxava.util.Locales.getCurrent().getDisplayLanguage();
|
|
||||||
language = language == null?request.getLocale().getDisplayLanguage():language;
|
|
||||||
Locale locale = new Locale(language, "");
|
|
||||||
String scolumnCountLimit = request.getParameter("columnCountLimit");
|
|
||||||
Integer columnCountLimit = scolumnCountLimit == null?null:Integer.parseInt(scolumnCountLimit);
|
|
||||||
List metaProperties = getMetaProperties(tab, columnCountLimit);
|
|
||||||
int columnsSeparation = 10;
|
|
||||||
int [] widths = parseWidths(request.getParameter("widths"), columnCountLimit);
|
|
||||||
int totalWidth = adjustWithsToLabels(metaProperties, widths, locale);
|
|
||||||
int letterWidth;
|
|
||||||
int letterSize;
|
|
||||||
int detailHeight;
|
|
||||||
int pageWidth;
|
|
||||||
int pageHeight;
|
|
||||||
int columnWidth;
|
|
||||||
String orientation = null;
|
|
||||||
|
|
||||||
if (totalWidth > WIDE_CHARACTERS_PER_ROW) {
|
|
||||||
if (totalWidth > MAX_CHARACTERS_PER_ROW) tightenWidths(metaProperties, widths);
|
|
||||||
else expandWidths(metaProperties, widths, MAX_CHARACTERS_PER_ROW, locale);
|
|
||||||
orientation="Landscape";
|
|
||||||
letterWidth = 4;
|
|
||||||
letterSize = 7;
|
|
||||||
detailHeight = 8;
|
|
||||||
pageWidth=842;
|
|
||||||
pageHeight=595;
|
|
||||||
columnWidth=780;
|
|
||||||
}
|
|
||||||
else if (totalWidth > MEDIUM_CHARACTERS_PER_ROW) {
|
|
||||||
expandWidths(metaProperties, widths, WIDE_CHARACTERS_PER_ROW, locale);
|
|
||||||
orientation="Landscape";
|
|
||||||
letterWidth = 5;
|
|
||||||
letterSize=8;
|
|
||||||
detailHeight = 10;
|
|
||||||
pageWidth=842;
|
|
||||||
pageHeight=595;
|
|
||||||
columnWidth=780;
|
|
||||||
}
|
|
||||||
else if (totalWidth > NARROW_CHARACTERS_PER_ROW) {
|
|
||||||
expandWidths(metaProperties, widths, MEDIUM_CHARACTERS_PER_ROW, locale);
|
|
||||||
orientation="Portrait";
|
|
||||||
letterWidth = 5;
|
|
||||||
letterSize=8;
|
|
||||||
detailHeight = 10;
|
|
||||||
pageWidth=595;
|
|
||||||
pageHeight=842;
|
|
||||||
columnWidth=535;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
expandWidths(metaProperties, widths, NARROW_CHARACTERS_PER_ROW, locale);
|
|
||||||
orientation="Portrait";
|
|
||||||
letterWidth = 10;
|
|
||||||
letterSize = 12;
|
|
||||||
detailHeight = 15;
|
|
||||||
pageWidth=595;
|
|
||||||
pageHeight=842;
|
|
||||||
columnWidth=535;
|
|
||||||
}
|
|
||||||
|
|
||||||
int rowsInHeader = calculateRowsInHeader(metaProperties, widths, locale);
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<jasperReport\n");
|
|
||||||
out.write("\t\t name=\"");
|
|
||||||
out.print(reportName);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t columnCount=\"1\"\n");
|
|
||||||
out.write("\t\t printOrder=\"Vertical\"\n");
|
|
||||||
out.write("\t\t orientation=\"");
|
|
||||||
out.print(orientation);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t pageWidth=\"");
|
|
||||||
out.print(pageWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t pageHeight=\"");
|
|
||||||
out.print(pageHeight);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t columnWidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t columnSpacing=\"0\"\n");
|
|
||||||
out.write("\t\t leftMargin=\"30\"\n");
|
|
||||||
out.write("\t\t rightMargin=\"30\"\n");
|
|
||||||
out.write("\t\t topMargin=\"20\"\n");
|
|
||||||
out.write("\t\t bottomMargin=\"20\"\n");
|
|
||||||
out.write("\t\t whenNoDataType=\"NoPages\"\n");
|
|
||||||
out.write("\t\t isTitleNewPage=\"false\"\n");
|
|
||||||
out.write("\t\t isSummaryNewPage=\"false\">\t\t \n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
String fontPath=request.getSession().getServletContext().getRealPath("/WEB-INF/fonts/").concat(System.getProperty("file.separator"));
|
|
||||||
String fontName="DejaVu Sans";
|
|
||||||
String fontNameExt="DejaVuSans.ttf";
|
|
||||||
String boldFontNameExt="DejaVuSans-Bold.ttf";
|
|
||||||
String pdfEncoding="Identity-H";
|
|
||||||
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t<reportFont name=\"Arial_Normal\" isDefault=\"true\" fontName=\"");
|
|
||||||
out.print(fontName);
|
|
||||||
out.write("\" size=\"8\" pdfFontName=\"");
|
|
||||||
out.print(fontPath.concat(fontNameExt));
|
|
||||||
out.write("\" pdfEncoding=\"");
|
|
||||||
out.print(pdfEncoding);
|
|
||||||
out.write("\" isPdfEmbedded=\"true\"/>\n");
|
|
||||||
out.write("\t<reportFont name=\"Arial_Bold\" isDefault=\"false\" fontName=\"");
|
|
||||||
out.print(fontName);
|
|
||||||
out.write("\" size=\"8\" isBold=\"true\" pdfFontName=\"");
|
|
||||||
out.print(fontPath.concat(boldFontNameExt));
|
|
||||||
out.write("\" pdfEncoding=\"");
|
|
||||||
out.print(pdfEncoding);
|
|
||||||
out.write("\" isPdfEmbedded=\"true\"/>\n");
|
|
||||||
out.write("\t<reportFont name=\"Arial_Italic\" isDefault=\"false\" fontName=\"");
|
|
||||||
out.print(fontName);
|
|
||||||
out.write("\" size=\"8\" isItalic=\"true\" pdfFontName=\"");
|
|
||||||
out.print(fontPath.concat(fontNameExt));
|
|
||||||
out.write("\" pdfEncoding=\"");
|
|
||||||
out.print(pdfEncoding);
|
|
||||||
out.write("\" isPdfEmbedded=\"true\"/>\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<parameter name=\"Title\" class=\"java.lang.String\"/>\t\n");
|
|
||||||
out.write("\t<parameter name=\"Organization\" class=\"java.lang.String\"/>\n");
|
|
||||||
out.write("\t<parameter name=\"Date\" class=\"java.lang.String\"/>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
for (Iterator it = metaProperties.iterator(); it.hasNext();) {
|
|
||||||
MetaProperty p = (MetaProperty) it.next();
|
|
||||||
if (totalProperties.contains(p.getQualifiedName())) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<parameter name=\"");
|
|
||||||
out.print(p.getQualifiedName());
|
|
||||||
out.write("__TOTAL__\" class=\"java.lang.String\"/> \t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
for (Iterator it = metaProperties.iterator(); it.hasNext();) {
|
|
||||||
MetaProperty p = (MetaProperty) it.next();
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<field name=\"");
|
|
||||||
out.print(Strings.change(p.getQualifiedName(), ".", "_"));
|
|
||||||
out.write("\" class=\"java.lang.String\"/> \t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t\t<background>\n");
|
|
||||||
out.write("\t\t\t<band height=\"0\" isSplitAllowed=\"true\" >\n");
|
|
||||||
out.write("\t\t\t</band>\n");
|
|
||||||
out.write("\t\t</background>\n");
|
|
||||||
out.write("\t\t<title>\n");
|
|
||||||
out.write("\t\t\t<band height=\"25\" isSplitAllowed=\"true\" >\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t<textField>\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Transparent\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"200\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"25\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<textElement textAlignment=\"Left\" verticalAlignment=\"Top\" lineSpacing=\"Single\">\n");
|
|
||||||
out.write("\t\t\t\t\t\t<font reportFont=\"Arial_Normal\" size=\"8\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t</textElement>\n");
|
|
||||||
out.write("\t\t\t\t\t<textFieldExpression class=\"java.lang.String\">$P{Organization}</textFieldExpression>\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t</textField>\n");
|
|
||||||
out.write("\t\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t<textField>\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Transparent\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"5\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"5\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"20\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<textElement textAlignment=\"Center\" verticalAlignment=\"Top\" lineSpacing=\"Single\">\n");
|
|
||||||
out.write("\t\t\t\t\t\t<font reportFont=\"Arial_Normal\" size=\"15\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t</textElement>\n");
|
|
||||||
out.write("\t\t\t\t\t<textFieldExpression class=\"java.lang.String\">$P{Title}</textFieldExpression>\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t</textField>\n");
|
|
||||||
out.write("\t\t\t\t\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t<line direction=\"TopDown\">\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Opaque\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"23\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<graphicElement stretchType=\"NoStretch\" pen=\"1Point\" fill=\"Solid\" />\n");
|
|
||||||
out.write("\t\t\t\t</line>\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t<!-- Top line\n");
|
|
||||||
out.write("\t\t\t\t<line direction=\"TopDown\">\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Opaque\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"3\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<graphicElement stretchType=\"NoStretch\" pen=\"1Point\" fill=\"Solid\" />\n");
|
|
||||||
out.write("\t\t\t\t</line>\n");
|
|
||||||
out.write("\t\t\t\t-->\n");
|
|
||||||
out.write("\t\t\t</band>\n");
|
|
||||||
out.write("\t\t</title>\n");
|
|
||||||
out.write("\t\t<pageHeader>\n");
|
|
||||||
out.write("\t\t\t<band height=\"9\" isSplitAllowed=\"true\" >\n");
|
|
||||||
out.write("\t\t\t</band>\n");
|
|
||||||
out.write("\t\t</pageHeader>\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
|
|
||||||
int headerHeight = rowsInHeader * detailHeight + 8;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t<columnHeader>\n");
|
|
||||||
out.write("\t\t\t<band height=\"");
|
|
||||||
out.print(headerHeight);
|
|
||||||
out.write("\" isSplitAllowed=\"true\" >\n");
|
|
||||||
out.write("\t\t\t\t<rectangle radius=\"0\" >\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Opaque\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"");
|
|
||||||
out.print(headerHeight - 5);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#808080\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<graphicElement stretchType=\"NoStretch\" pen=\"None\" fill=\"Solid\" />\n");
|
|
||||||
out.write("\t\t\t\t</rectangle>\n");
|
|
||||||
out.write("\t\t\t\t<line direction=\"BottomUp\">\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Opaque\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<graphicElement stretchType=\"NoStretch\" pen=\"Thin\" fill=\"Solid\" />\n");
|
|
||||||
out.write("\t\t\t\t</line>\n");
|
|
||||||
out.write("\t\t\t\t<line direction=\"BottomUp\">\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Opaque\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"");
|
|
||||||
out.print(headerHeight - 6);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<graphicElement stretchType=\"NoStretch\" pen=\"Thin\" fill=\"Solid\" />\n");
|
|
||||||
out.write("\t\t\t\t</line>\n");
|
|
||||||
|
|
||||||
int x = 0;
|
|
||||||
int i = 0;
|
|
||||||
for (Iterator it = metaProperties.iterator(); it.hasNext(); i++) {
|
|
||||||
MetaProperty p = (MetaProperty) it.next();
|
|
||||||
int width=widths[i]*letterWidth + EXTRA_WIDTH;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t<staticText>\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Transparent\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"");
|
|
||||||
out.print(x);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"2\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(width);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"");
|
|
||||||
out.print(headerHeight-2);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"true\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<textElement textAlignment=\"");
|
|
||||||
out.print(getAlign(p));
|
|
||||||
out.write("\" verticalAlignment=\"Top\" lineSpacing=\"Single\">\n");
|
|
||||||
out.write("\t\t\t\t\t\t<font reportFont=\"Arial_Normal\" size=\"");
|
|
||||||
out.print(letterSize);
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t</textElement>\n");
|
|
||||||
out.write("\t\t\t\t\t");
|
|
||||||
String label = "<![CDATA[" + p.getQualifiedLabel(locale) + "]]>";
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t\t<text>");
|
|
||||||
out.print(label);
|
|
||||||
out.write("</text>\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t</staticText>\n");
|
|
||||||
|
|
||||||
x+=(width+columnsSeparation);
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t</band>\n");
|
|
||||||
out.write("\t\t</columnHeader>\n");
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("\t\t<detail>\n");
|
|
||||||
out.write("\t\t\t<band height=\"");
|
|
||||||
out.print(detailHeight + 2);
|
|
||||||
out.write("\" isSplitAllowed=\"true\" >\n");
|
|
||||||
out.write("\t\t\t\t<line direction=\"TopDown\">\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Opaque\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"0\" \n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#808080\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"Float\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"true\"/>\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t\t<graphicElement stretchType=\"NoStretch\" pen=\"Thin\" fill=\"Solid\" />\n");
|
|
||||||
out.write("\t\t\t\t</line>\n");
|
|
||||||
|
|
||||||
x = 0;
|
|
||||||
i = 0;
|
|
||||||
for (Iterator it = metaProperties.iterator(); it.hasNext(); i++) {
|
|
||||||
MetaProperty p = (MetaProperty) it.next();
|
|
||||||
int width=widths[i]*letterWidth + EXTRA_WIDTH;
|
|
||||||
|
|
||||||
out.write("\t\t\t\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t<textField isStretchWithOverflow=\"true\" pattern=\"\" isBlankWhenNull=\"true\" evaluationTime=\"Now\" hyperlinkType=\"None\" >\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Transparent\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"");
|
|
||||||
out.print(x);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"2\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(width);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"");
|
|
||||||
out.print(detailHeight);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<textElement textAlignment=\"");
|
|
||||||
out.print(getAlign(p));
|
|
||||||
out.write("\" verticalAlignment=\"Top\" lineSpacing=\"Single\">\n");
|
|
||||||
out.write("\t\t\t\t\t\t<font reportFont=\"Arial_Normal\" size=\"");
|
|
||||||
out.print(letterSize);
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t</textElement>\n");
|
|
||||||
out.write("\t\t\t\t\t<textFieldExpression class=\"java.lang.String\">$F{");
|
|
||||||
out.print(Strings.change(p.getQualifiedName(), ".", "_"));
|
|
||||||
out.write("}</textFieldExpression>\n");
|
|
||||||
out.write("\t\t\t\t</textField>\n");
|
|
||||||
|
|
||||||
x+=(width+columnsSeparation);
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t</band>\n");
|
|
||||||
out.write("\t\t</detail>\n");
|
|
||||||
out.write("\t\t<pageFooter>\n");
|
|
||||||
out.write("\t\t\t<band height=\"27\" isSplitAllowed=\"true\" >\n");
|
|
||||||
out.write("\t\t\t\t<textField isStretchWithOverflow=\"false\" pattern=\"\" isBlankWhenNull=\"false\" evaluationTime=\"Now\" hyperlinkType=\"None\" >\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Transparent\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"");
|
|
||||||
out.print(columnWidth - 210);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"4\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"174\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"19\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<textElement textAlignment=\"Right\" verticalAlignment=\"Top\" lineSpacing=\"Single\">\n");
|
|
||||||
out.write("\t\t\t\t\t\t<font reportFont=\"Arial_Normal\" size=\"10\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t</textElement>\n");
|
|
||||||
out.write("\t\t\t\t");
|
|
||||||
|
|
||||||
String iniPageLabel = "<![CDATA[\"" + XavaResources.getString(request, "page") + " \"";
|
|
||||||
String endPageLabel = " \" " + XavaResources.getString("of") + " \"]]>";
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t\t\t\t<textFieldExpression class=\"java.lang.String\">");
|
|
||||||
out.print(iniPageLabel);
|
|
||||||
out.write(" + $V{PAGE_NUMBER} + ");
|
|
||||||
out.print(endPageLabel);
|
|
||||||
out.write("</textFieldExpression>\n");
|
|
||||||
out.write("\t\t\t\t</textField>\n");
|
|
||||||
out.write("\t\t\t\t<textField isStretchWithOverflow=\"false\" pattern=\"\" isBlankWhenNull=\"false\" evaluationTime=\"Report\" hyperlinkType=\"None\" >\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Transparent\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"");
|
|
||||||
out.print(columnWidth - 36);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"4\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"36\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"19\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<textElement textAlignment=\"Left\" verticalAlignment=\"Top\" lineSpacing=\"Single\">\n");
|
|
||||||
out.write("\t\t\t\t\t\t<font reportFont=\"Arial_Normal\" size=\"10\" />\n");
|
|
||||||
out.write("\t\t\t\t\t</textElement>\n");
|
|
||||||
out.write("\t\t\t\t<textFieldExpression class=\"java.lang.String\"><![CDATA[\" \" + $V{PAGE_NUMBER}]]></textFieldExpression>\n");
|
|
||||||
out.write("\t\t\t\t</textField>\n");
|
|
||||||
out.write("\t\t\t\t<line direction=\"TopDown\">\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Opaque\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"1\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<graphicElement stretchType=\"NoStretch\" pen=\"2Point\" fill=\"Solid\" />\n");
|
|
||||||
out.write("\t\t\t\t</line>\n");
|
|
||||||
out.write("\t\t\t\t<textField isStretchWithOverflow=\"false\" pattern=\"\" isBlankWhenNull=\"false\" evaluationTime=\"Now\" hyperlinkType=\"None\" >\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Transparent\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"1\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"6\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"209\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"19\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<textElement textAlignment=\"Left\" verticalAlignment=\"Top\" lineSpacing=\"Single\">\n");
|
|
||||||
out.write("\t\t\t\t\t\t<font reportFont=\"Arial_Normal\" size=\"10\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t</textElement>\n");
|
|
||||||
out.write("\t\t\t\t<textFieldExpression class=\"java.lang.String\">\n");
|
|
||||||
out.write("\t\t\t\t\t<![CDATA[$P{Date}]]>\n");
|
|
||||||
out.write("\t\t\t\t</textFieldExpression>\n");
|
|
||||||
out.write("\t\t\t\t</textField>\n");
|
|
||||||
out.write("\t\t\t</band>\n");
|
|
||||||
out.write("\t\t</pageFooter>\n");
|
|
||||||
out.write("\t\t<summary>\n");
|
|
||||||
out.write("\t\t\t<band height=\"19\" isSplitAllowed=\"true\" >\n");
|
|
||||||
out.write("\t\t\t\t<line direction=\"TopDown\">\n");
|
|
||||||
out.write("\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Opaque\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"0\" \n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(columnWidth);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"0\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#808080\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"Float\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"true\"/>\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t\t<graphicElement stretchType=\"NoStretch\" pen=\"Thin\" fill=\"Solid\" />\n");
|
|
||||||
out.write("\t\t\t\t</line>\n");
|
|
||||||
|
|
||||||
x = 0;
|
|
||||||
i = 0;
|
|
||||||
for (Iterator it = metaProperties.iterator(); it.hasNext(); i++) {
|
|
||||||
MetaProperty p = (MetaProperty) it.next();
|
|
||||||
int width=widths[i]*letterWidth + EXTRA_WIDTH;
|
|
||||||
if (totalProperties.contains(p.getQualifiedName())) {
|
|
||||||
|
|
||||||
out.write("\t\t\t\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t\t<textField isStretchWithOverflow=\"true\" pattern=\"\" isBlankWhenNull=\"true\" evaluationTime=\"Now\" hyperlinkType=\"None\" >\t\t\t\t\t<reportElement\n");
|
|
||||||
out.write("\t\t\t\t\t\tmode=\"Transparent\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tx=\"");
|
|
||||||
out.print(x);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\ty=\"2\"\n");
|
|
||||||
out.write("\t\t\t\t\t\twidth=\"");
|
|
||||||
out.print(width);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\theight=\"");
|
|
||||||
out.print(detailHeight);
|
|
||||||
out.write("\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tforecolor=\"#000000\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tbackcolor=\"#FFFFFF\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tpositionType=\"FixRelativeToTop\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintRepeatedValues=\"true\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisRemoveLineWhenBlank=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintInFirstWholeBand=\"false\"\n");
|
|
||||||
out.write("\t\t\t\t\t\tisPrintWhenDetailOverflows=\"false\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t<textElement textAlignment=\"");
|
|
||||||
out.print(getAlign(p));
|
|
||||||
out.write("\" verticalAlignment=\"Top\" lineSpacing=\"Single\">\n");
|
|
||||||
out.write("\t\t\t\t\t\t<font reportFont=\"Arial_Bold\" size=\"");
|
|
||||||
out.print(letterSize);
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("\t\t\t\t\t</textElement>\n");
|
|
||||||
out.write("\t\t\t\t\t<textFieldExpression class=\"java.lang.String\">$P{");
|
|
||||||
out.print(p.getQualifiedName());
|
|
||||||
out.write("__TOTAL__}</textFieldExpression>\n");
|
|
||||||
out.write("\t\t\t\t</textField>\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
x+=(width+columnsSeparation);
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\t\t\t\t\t\n");
|
|
||||||
out.write("\t\t\t</band>\n");
|
|
||||||
out.write("\t\t</summary>\n");
|
|
||||||
out.write("</jasperReport>\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,473 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:55 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.web.WebEditors;
|
|
||||||
import org.openxava.util.XavaResources;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.tab.Tab;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
|
|
||||||
public final class list_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaResources");
|
|
||||||
_jspx_imports_classes.add("org.openxava.tab.Tab");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.WebEditors");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005faction_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005faction_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String tabObject = request.getParameter("tabObject");
|
|
||||||
tabObject = (tabObject == null || tabObject.equals(""))?"xava_tab":tabObject;
|
|
||||||
org.openxava.tab.Tab tab = (org.openxava.tab.Tab) context.get(request, tabObject);
|
|
||||||
String editor = tab.getEditor();
|
|
||||||
String collection = request.getParameter("collection");
|
|
||||||
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager", "org.openxava.controller.ModuleManager");
|
|
||||||
String groupBy = tab.getGroupBy();
|
|
||||||
boolean grouping = !Is.emptyString(groupBy);
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (collection == null || collection.equals("")) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<table width=\"100%\" class=");
|
|
||||||
out.print(style.getListTitleWrapper());
|
|
||||||
out.write(">\n");
|
|
||||||
out.write("<tr><td class=");
|
|
||||||
out.print(style.getListTitle());
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
if (style.isShowModuleDescription()) {
|
|
||||||
out.write('\n');
|
|
||||||
out.print(manager.getModuleDescription());
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
String confName = tab.getConfigurationName();
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<select title=\"");
|
|
||||||
out.print(confName);
|
|
||||||
out.write("\" \n");
|
|
||||||
out.write("\tonchange=\"openxava.executeAction('");
|
|
||||||
out.print(request.getParameter("application"));
|
|
||||||
out.write("', '");
|
|
||||||
out.print(request.getParameter("module"));
|
|
||||||
out.write("', '', false, 'List.filter','configurationId=' + this.value)\">\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t<option value=\"\">");
|
|
||||||
out.print(confName);
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
int count = 1;
|
|
||||||
for (Tab.Configuration conf: tab.getConfigurations()) {
|
|
||||||
if (!confName.equals(conf.getName())) {
|
|
||||||
if (++count > Tab.MAX_CONFIGURATIONS_COUNT) break;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(conf.getId());
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.print(conf.getName());
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</select>\n");
|
|
||||||
if (_jspx_meth_xava_005flink_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (tab.isTitleVisible()) {
|
|
||||||
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
if (style.isShowModuleDescription()) {
|
|
||||||
out.write(' ');
|
|
||||||
out.write('-');
|
|
||||||
out.write(' ');
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id=\"list-title\">");
|
|
||||||
out.print(tab.getTitle());
|
|
||||||
out.write("</span> \n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
if (style.isShowRowCountOnTop() && !grouping) { // && grouping
|
|
||||||
int totalSize = tab.getTotalSize();
|
|
||||||
int finalIndex = Math.min(totalSize, tab.getFinalIndex());
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span class=\"");
|
|
||||||
out.print(style.getHeaderListCount());
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(XavaResources.getString(request, "header_list_count", new Integer(tab.getInitialIndex() + 1), new Integer(finalIndex), new Integer(totalSize)));
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
if (manager.getDialogLevel() == 0) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<select onchange=\"openxava.executeAction('");
|
|
||||||
out.print(request.getParameter("application"));
|
|
||||||
out.write("', '");
|
|
||||||
out.print(request.getParameter("module"));
|
|
||||||
out.write("', '', false, 'List.groupBy','property=' + this.value)\">\n");
|
|
||||||
out.write("\t<option value=\"\">");
|
|
||||||
out.print(grouping?XavaResources.getString("no_grouping"):XavaResources.getString("no_grouping"));
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
for (MetaProperty property: tab.getMetaPropertiesBeforeGrouping()) {
|
|
||||||
String selected = "";
|
|
||||||
if (groupBy.equals(property.getQualifiedName())) {
|
|
||||||
selected = "selected";
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(property.getQualifiedName());
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(selected);
|
|
||||||
out.write('>');
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write(' ');
|
|
||||||
out.print(property.getQualifiedLabel(request).toLowerCase());
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
if (property.getType().isAssignableFrom(java.util.Date.class) || property.getType().isAssignableFrom(java.time.LocalDate.class)) {
|
|
||||||
if (groupBy.equals(property.getQualifiedName() + "[month]")) {
|
|
||||||
selected = "selected";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
selected = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(property.getQualifiedName());
|
|
||||||
out.write("[month]\" ");
|
|
||||||
out.print(selected);
|
|
||||||
out.write('>');
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write(' ');
|
|
||||||
out.print(property.getQualifiedLabel(request).toLowerCase());
|
|
||||||
out.write("</option>\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
if (groupBy.equals(property.getQualifiedName() + "[year]")) {
|
|
||||||
selected = "selected";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
selected = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\t\t\n");
|
|
||||||
out.write("\t<option value=\"");
|
|
||||||
out.print(property.getQualifiedName());
|
|
||||||
out.write("[year]\" ");
|
|
||||||
out.print(selected);
|
|
||||||
out.write('>');
|
|
||||||
if (_jspx_meth_xava_005fmessage_005f2(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write(' ');
|
|
||||||
out.print(property.getQualifiedLabel(request).toLowerCase());
|
|
||||||
out.write("</option> \n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</select> \n");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</td></tr>\n");
|
|
||||||
out.write("</table>\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, WebEditors.getUrl(tab.getEditor(), tab.getMetaTab()), out, false);
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flink_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:link
|
|
||||||
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f0 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005faction_005fnobody.get(org.openxava.web.taglib.LinkTag.class);
|
|
||||||
boolean _jspx_th_xava_005flink_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flink_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flink_005f0.setParent(null);
|
|
||||||
// /xava/list.jsp(48,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flink_005f0.setAction("List.changeConfiguration");
|
|
||||||
int _jspx_eval_xava_005flink_005f0 = _jspx_th_xava_005flink_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flink_0026_005faction_005fnobody.reuse(_jspx_th_xava_005flink_005f0);
|
|
||||||
_jspx_th_xava_005flink_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setParent(null);
|
|
||||||
// /xava/list.jsp(75,64) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f0.setKey("group_by");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
|
|
||||||
_jspx_th_xava_005fmessage_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setParent(null);
|
|
||||||
// /xava/list.jsp(85,71) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f1.setKey("group_by_month_of");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
|
|
||||||
_jspx_th_xava_005fmessage_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fmessage_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:message
|
|
||||||
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f2 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
|
|
||||||
boolean _jspx_th_xava_005fmessage_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setParent(null);
|
|
||||||
// /xava/list.jsp(94,70) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fmessage_005f2.setKey("group_by_year_of");
|
|
||||||
int _jspx_eval_xava_005fmessage_005f2 = _jspx_th_xava_005fmessage_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f2);
|
|
||||||
_jspx_th_xava_005fmessage_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f2_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,327 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:45 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class messages_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.util.Messages messages = null;
|
|
||||||
messages = (org.openxava.util.Messages) _jspx_page_context.getAttribute("messages", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (messages == null){
|
|
||||||
messages = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("messages", messages, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (messages.contains()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<div class='");
|
|
||||||
out.print(style.getMessagesWrapper());
|
|
||||||
out.write("'>\n");
|
|
||||||
out.write("<table id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
java.util.Iterator it = messages.getWarningsStrings(request).iterator();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<tr><td class=");
|
|
||||||
out.print(style.getWarnings());
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(style.getWarningStartDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<i class=\"mdi mdi-close\" style=\"cursor: pointer;\" onclick=\"$(this).parent().fadeOut()\"></i>\n");
|
|
||||||
out.print(it.next());
|
|
||||||
out.write('\n');
|
|
||||||
out.print(style.getWarningEndDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</td></tr>\n");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</table>\n");
|
|
||||||
out.write("<table id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f1(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
it = messages.getMessagesStrings(request).iterator();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<tr><td class=");
|
|
||||||
out.print(style.getMessages());
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(style.getMessageStartDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<i class=\"mdi mdi-close\" style=\"cursor: pointer;\" onclick=\"$(this).parent().fadeOut()\"></i>\n");
|
|
||||||
out.print(it.next());
|
|
||||||
out.write('\n');
|
|
||||||
out.print(style.getMessageEndDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</td></tr>\n");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</table>\n");
|
|
||||||
out.write("<table id=\"");
|
|
||||||
if (_jspx_meth_xava_005fid_005f2(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
it = messages.getInfosStrings(request).iterator();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<tr><td class=");
|
|
||||||
out.print(style.getInfos());
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(style.getInfoStartDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<i class=\"mdi mdi-close\" style=\"cursor: pointer;\" onclick=\"$(this).parent().fadeOut()\"></i>\n");
|
|
||||||
out.print(it.next());
|
|
||||||
out.write('\n');
|
|
||||||
out.print(style.getInfoEndDecoration());
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</td></tr>\n");
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</table>\n");
|
|
||||||
out.write("</div>\n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/messages.jsp(10,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName("warnings_table");
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f1.setParent(null);
|
|
||||||
// /xava/messages.jsp(23,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f1.setName("messages_table");
|
|
||||||
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
|
|
||||||
_jspx_th_xava_005fid_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005fid_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f2.setParent(null);
|
|
||||||
// /xava/messages.jsp(36,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f2.setName("infos_table");
|
|
||||||
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
|
|
||||||
_jspx_th_xava_005fid_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1,323 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 19:07:57 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.web.Ids;
|
|
||||||
|
|
||||||
public final class propertyActions_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590312433369L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Ids");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
boolean lastSearchKey = "true".equals(request.getParameter("lastSearchKey"));
|
|
||||||
boolean editable = "true".equals(request.getParameter("editable"));
|
|
||||||
String viewObject = request.getParameter("viewObject");
|
|
||||||
viewObject = (viewObject == null || viewObject.equals(""))?"xava_view":viewObject;
|
|
||||||
org.openxava.view.View view = (org.openxava.view.View) context.get(request, viewObject);
|
|
||||||
String propertyKey = Ids.undecorate(request.getParameter("propertyKey"));
|
|
||||||
String propertyName = request.getParameter("propertyName");
|
|
||||||
MetaProperty p = view.getMetaProperty(propertyName);
|
|
||||||
if (lastSearchKey) {
|
|
||||||
String referencedModel = p.getMetaModel().getName();
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
if (view.isSearch() && editable) {
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f0 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f0.setParent(null);
|
|
||||||
// /xava/propertyActions.jsp(21,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f0.setAction(view.getSearchAction());
|
|
||||||
// /xava/propertyActions.jsp(21,0) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f0.setArgv("keyProperty="+propertyKey);
|
|
||||||
int _jspx_eval_xava_005faction_005f0 = _jspx_th_xava_005faction_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f0);
|
|
||||||
_jspx_th_xava_005faction_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
if (view.isCreateNew() && editable) {
|
|
||||||
out.write('\n');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f1 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f1.setParent(null);
|
|
||||||
// /xava/propertyActions.jsp(24,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f1.setAction("Reference.createNew");
|
|
||||||
// /xava/propertyActions.jsp(24,0) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f1.setArgv("model="+referencedModel + ",keyProperty=" + propertyKey);
|
|
||||||
int _jspx_eval_xava_005faction_005f1 = _jspx_th_xava_005faction_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f1);
|
|
||||||
_jspx_th_xava_005faction_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
if (view.isModify() && editable) {
|
|
||||||
out.write('\n');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f2 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f2.setParent(null);
|
|
||||||
// /xava/propertyActions.jsp(27,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f2.setAction("Reference.modify");
|
|
||||||
// /xava/propertyActions.jsp(27,0) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f2.setArgv("model="+referencedModel + ",keyProperty=" + propertyKey);
|
|
||||||
int _jspx_eval_xava_005faction_005f2 = _jspx_th_xava_005faction_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f2);
|
|
||||||
_jspx_th_xava_005faction_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f2_reused);
|
|
||||||
}
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
if (editable){
|
|
||||||
for (java.util.Iterator itActions = view.getActionsNamesForReference(lastSearchKey).iterator(); itActions.hasNext();) {
|
|
||||||
String action = (String) itActions.next();
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f3 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f3_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f3.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f3.setParent(null);
|
|
||||||
// /xava/propertyActions.jsp(35,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f3.setAction(action);
|
|
||||||
int _jspx_eval_xava_005faction_005f3 = _jspx_th_xava_005faction_005f3.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f3);
|
|
||||||
_jspx_th_xava_005faction_005f3_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f3_reused);
|
|
||||||
}
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
for (java.util.Iterator itActions = view.getActionsNamesForProperty(p, editable).iterator(); itActions.hasNext();) {
|
|
||||||
String action = (String) itActions.next();
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f4 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f4_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f4.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f4.setParent(null);
|
|
||||||
// /xava/propertyActions.jsp(43,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f4.setAction(action);
|
|
||||||
// /xava/propertyActions.jsp(43,0) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f4.setArgv("xava.keyProperty="+propertyKey);
|
|
||||||
int _jspx_eval_xava_005faction_005f4 = _jspx_th_xava_005faction_005f4.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f4);
|
|
||||||
_jspx_th_xava_005faction_005f4_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f4_reused);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,234 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 19:07:56 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.web.WebEditors;
|
|
||||||
import org.openxava.view.View;
|
|
||||||
import org.openxava.tab.Tab;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
import org.openxava.util.XavaResources;
|
|
||||||
import org.openxava.model.meta.MetaProperty;
|
|
||||||
import org.openxava.web.Ids;
|
|
||||||
import org.openxava.web.Collections;
|
|
||||||
|
|
||||||
public final class referenceFrameHeader_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590312433369L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("org.openxava.view.View");
|
|
||||||
_jspx_imports_classes.add("org.openxava.tab.Tab");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaResources");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Collections");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.WebEditors");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Ids");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.util.Messages errors = null;
|
|
||||||
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (errors == null){
|
|
||||||
errors = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
|
|
||||||
String referenceName = request.getParameter("referenceName");
|
|
||||||
String viewObject = request.getParameter("viewObject");
|
|
||||||
View view = (View) context.get(request, viewObject);
|
|
||||||
View referenceView = view.getSubview(referenceName);
|
|
||||||
boolean editable = referenceView.isKeyEditable();
|
|
||||||
String propertyKey = referenceView.getPropertyPrefix() + referenceView.getSearchKeyName();
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/referenceFrameHeader.jsp(25,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName("property_actions_" + propertyKey);
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\">\n");
|
|
||||||
out.write("\t");
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "propertyActions.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("propertyKey", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(propertyKey), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("propertyName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(referenceView.getSearchKeyName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("lastSearchKey", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("true", request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("editable", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(editable), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(referenceView.getViewObject()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("referenceActions", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("true", request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("propertyActions", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("false", request.getCharacterEncoding()), out, false);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,171 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 19:08:05 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
|
|
||||||
public final class referenceSearch_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590312433369L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String rowAction = request.getParameter("rowAction");
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "list.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("rowAction", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(rowAction), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("singleSelection", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("true", request.getCharacterEncoding()), out, false);
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,737 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-24 13:02:18 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.Map;
|
|
||||||
import org.openxava.model.meta.MetaReference;
|
|
||||||
import org.openxava.view.meta.MetaPropertyView;
|
|
||||||
import org.openxava.web.Ids;
|
|
||||||
import org.openxava.web.WebEditors;
|
|
||||||
import org.openxava.web.DescriptionsLists;
|
|
||||||
import org.openxava.util.XavaPreferences;
|
|
||||||
import org.openxava.util.Is;
|
|
||||||
|
|
||||||
public final class reference_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(8);
|
|
||||||
_jspx_dependants.put("/xava/htmlTagsEditor.jsp", Long.valueOf(1590312433297L));
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590312433369L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/xava/referenceActionsExt.jsp", Long.valueOf(1590312433967L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
|
|
||||||
_jspx_dependants.put("/xava/referenceActions.jsp", Long.valueOf(1590312433535L));
|
|
||||||
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.DescriptionsLists");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
|
|
||||||
_jspx_imports_classes.add("org.openxava.model.meta.MetaReference");
|
|
||||||
_jspx_imports_classes.add("java.util.Collection");
|
|
||||||
_jspx_imports_classes.add("java.util.Map");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.Ids");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.WebEditors");
|
|
||||||
_jspx_imports_classes.add("org.openxava.view.meta.MetaPropertyView");
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Is");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody;
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.release();
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\n");
|
|
||||||
org.openxava.util.Messages errors = null;
|
|
||||||
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (errors == null){
|
|
||||||
errors = new org.openxava.util.Messages();
|
|
||||||
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.controller.ModuleContext context = null;
|
|
||||||
synchronized (session) {
|
|
||||||
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
if (context == null){
|
|
||||||
context = new org.openxava.controller.ModuleContext();
|
|
||||||
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
org.openxava.web.style.Style style = null;
|
|
||||||
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
if (style == null){
|
|
||||||
style = new org.openxava.web.style.Style();
|
|
||||||
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
boolean onlyEditor = "true".equalsIgnoreCase(request.getParameter("onlyEditor"));
|
|
||||||
boolean frame = "true".equalsIgnoreCase(request.getParameter("frame"));
|
|
||||||
boolean composite = "true".equalsIgnoreCase(request.getParameter("composite"));
|
|
||||||
boolean descriptionsList = "true".equalsIgnoreCase(request.getParameter("descriptionsList"));
|
|
||||||
String viewObject = request.getParameter("viewObject");
|
|
||||||
viewObject = (viewObject == null || viewObject.equals(""))?"xava_view":viewObject;
|
|
||||||
org.openxava.view.View view = (org.openxava.view.View) context.get(request, viewObject);
|
|
||||||
String referenceKey = request.getParameter("referenceKey");
|
|
||||||
MetaReference ref = (MetaReference) request.getAttribute(referenceKey);
|
|
||||||
String refViewObject = request.getParameter("refViewObject");
|
|
||||||
if (Is.emptyString(refViewObject)) refViewObject = viewObject;
|
|
||||||
String labelKey = "xava_label_" + referenceKey;
|
|
||||||
if (!descriptionsList) descriptionsList = view.displayAsDescriptionsList(ref);
|
|
||||||
boolean descriptionsListAndReferenceView = descriptionsList || !composite?false:view.displayAsDescriptionsListAndReferenceView(ref);
|
|
||||||
if (descriptionsListAndReferenceView) {
|
|
||||||
composite = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String sfirst = request.getParameter("first");
|
|
||||||
boolean first="true".equals(sfirst)?true:false;
|
|
||||||
|
|
||||||
String labelClass = null;
|
|
||||||
String editorClass = null;
|
|
||||||
|
|
||||||
if (view.isAlignedByColumns()) {
|
|
||||||
labelClass = editorClass = "ox-layout-aligned-cell";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
editorClass = "ox-layout-not-aligned-cell";
|
|
||||||
labelClass = first?"ox-layout-aligned-cell":"ox-layout-not-aligned-cell";
|
|
||||||
}
|
|
||||||
|
|
||||||
String preLabel="<div class='" + labelClass + " " + style.getLabel() + "'>";
|
|
||||||
String postLabel="</div>";
|
|
||||||
String preEditor="<div class='" + editorClass + " " + style.getEditorWrapper()+ "'>";
|
|
||||||
String postEditor="</div>";
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
String editableKey = referenceKey + "_EDITABLE_";
|
|
||||||
boolean editable = view.isEditable(ref.getName());
|
|
||||||
int labelFormat = view.getLabelFormatForReference(ref);
|
|
||||||
String labelStyle = view.getLabelStyleForReference(ref);
|
|
||||||
if (Is.empty(labelStyle)) labelStyle = XavaPreferences.getInstance().getDefaultLabelStyle();
|
|
||||||
String label = ref.getLabel(request);
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (view.isFlowLayout()) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("<div class='");
|
|
||||||
out.print(frame?"ox-flow-layout":"");
|
|
||||||
out.write('\'');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (!onlyEditor) {
|
|
||||||
out.write('\n');
|
|
||||||
out.print(preLabel);
|
|
||||||
out.write('\n');
|
|
||||||
if (labelFormat == MetaPropertyView.NORMAL_LABEL) {
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f0.setParent(null);
|
|
||||||
// /xava/reference.jsp(55,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f0.setName("label_" + view.getPropertyPrefix() + ref.getName());
|
|
||||||
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
|
|
||||||
_jspx_th_xava_005fid_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write("\" class=\"");
|
|
||||||
out.print( labelStyle);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(label);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.print(postLabel);
|
|
||||||
out.write('\n');
|
|
||||||
out.print(preEditor);
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
if (labelFormat == MetaPropertyView.SMALL_LABEL) {
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id='");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f1.setParent(null);
|
|
||||||
// /xava/reference.jsp(64,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f1.setName("label_" + view.getPropertyPrefix() + ref.getName());
|
|
||||||
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
|
|
||||||
_jspx_th_xava_005fid_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write("' class=\"");
|
|
||||||
out.print(style.getSmallLabel());
|
|
||||||
out.write(' ');
|
|
||||||
out.print(labelStyle );
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
out.print(label);
|
|
||||||
out.write("\n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
out.write("<br/> \n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
} // !onlyEditor
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
Collection keys = ref.getMetaModelReferenced().getAllKeyPropertiesNames();
|
|
||||||
String keyProperty = "";
|
|
||||||
String keyProperties = "";
|
|
||||||
String propertyKey = null;
|
|
||||||
if (keys.size() == 1) {
|
|
||||||
keyProperty = keys.iterator().next().toString();
|
|
||||||
propertyKey = Ids.decorate(request, referenceKey + "." + keyProperty);
|
|
||||||
if (!composite) {
|
|
||||||
Map values = (Map) view.getValue(ref.getName());
|
|
||||||
values = values == null?java.util.Collections.EMPTY_MAP:values;
|
|
||||||
Object value = values.get(keyProperty);
|
|
||||||
String valueKey = propertyKey + ".value";
|
|
||||||
request.setAttribute(valueKey, value);
|
|
||||||
String fvalue = value==null?"":value.toString();
|
|
||||||
request.setAttribute(propertyKey + ".fvalue", fvalue);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
propertyKey = referenceKey + DescriptionsLists.COMPOSITE_KEY_SUFFIX;
|
|
||||||
Map values = null;
|
|
||||||
if (!composite) {
|
|
||||||
values = (Map) view.getValue(ref.getName());
|
|
||||||
values = values == null?java.util.Collections.EMPTY_MAP:values;
|
|
||||||
}
|
|
||||||
java.util.Iterator it = keys.iterator();
|
|
||||||
StringBuffer sb = new StringBuffer();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
String property = (String) it.next();
|
|
||||||
if (!composite) {
|
|
||||||
Object value = values.get(property);
|
|
||||||
String valueKey = Ids.decorate(request, referenceKey + "." + property) + ".value";
|
|
||||||
request.setAttribute(valueKey, value);
|
|
||||||
}
|
|
||||||
sb.append(property);
|
|
||||||
if (it.hasNext()) {
|
|
||||||
sb.append(',');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!composite) {
|
|
||||||
String key = ref.getMetaModelReferenced().toString(values);
|
|
||||||
String fvalue = key==null?"0":key;
|
|
||||||
request.setAttribute(propertyKey + ".fvalue", fvalue);
|
|
||||||
}
|
|
||||||
keyProperties = sb.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
boolean throwChanged=view.throwsReferenceChanged(ref);
|
|
||||||
String script = throwChanged?
|
|
||||||
"onchange='openxava.throwPropertyChanged(\"" +
|
|
||||||
request.getParameter("application") + "\", \"" +
|
|
||||||
request.getParameter("module") + "\", \"" +
|
|
||||||
propertyKey + "\")'":"";
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (!composite) {
|
|
||||||
out.write('\n');
|
|
||||||
String required = view.isEditable() && ref.isRequired() ? "class='" + style.getRequiredEditor() + "'":"";
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<span id=\"");
|
|
||||||
// xava:id
|
|
||||||
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
|
|
||||||
boolean _jspx_th_xava_005fid_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005fid_005f2.setParent(null);
|
|
||||||
// /xava/reference.jsp(128,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005fid_005f2.setName("reference_editor_" + view.getPropertyPrefix() + ref.getName());
|
|
||||||
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
|
|
||||||
_jspx_th_xava_005fid_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
|
|
||||||
}
|
|
||||||
out.write('"');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(required);
|
|
||||||
out.write('>');
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
boolean notCompositeEditorClosed = false;
|
|
||||||
out.write("\n");
|
|
||||||
out.write("<input type=\"hidden\" name=\"");
|
|
||||||
out.print(editableKey);
|
|
||||||
out.write("\" value=\"");
|
|
||||||
out.print(editable);
|
|
||||||
out.write("\"/>\n");
|
|
||||||
out.write("\n");
|
|
||||||
|
|
||||||
if (descriptionsList || descriptionsListAndReferenceView) {
|
|
||||||
String descriptionProperty = view.getDescriptionPropertyInDescriptionsList(ref);
|
|
||||||
String descriptionProperties = view.getDescriptionPropertiesInDescriptionsList(ref);
|
|
||||||
String parameterValuesProperties=view.getParameterValuesPropertiesInDescriptionsList(ref);
|
|
||||||
String condition = view.getConditionInDescriptionsList(ref);
|
|
||||||
boolean orderByKey = view.isOrderByKeyInDescriptionsList(ref);
|
|
||||||
String order = view.getOrderInDescriptionsList(ref);
|
|
||||||
org.openxava.tab.meta.MetaTab metaTab = ref.getMetaModelReferenced().getMetaComponent().getMetaTab();
|
|
||||||
String filter = "";
|
|
||||||
if (metaTab.hasFilter()) {
|
|
||||||
filter = metaTab.getMetaFilter().getClassName();
|
|
||||||
}
|
|
||||||
if (metaTab.hasBaseCondition()) {
|
|
||||||
if (org.openxava.util.Is.emptyString(condition)) {
|
|
||||||
condition = metaTab.getBaseCondition();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
condition = metaTab.getBaseCondition() + " AND " + condition;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "editors/descriptionsEditor.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("script", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(script), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("propertyKey", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(propertyKey), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("editable", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(editable), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("model", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(ref.getReferencedModelName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("keyProperty", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(keyProperty), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("keyProperties", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(keyProperties), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("descriptionProperty", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(descriptionProperty), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("descriptionProperties", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(descriptionProperties), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("parameterValuesProperties", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(parameterValuesProperties), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("condition", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(condition), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("orderByKey", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(orderByKey), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("order", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(order), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("filter", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(filter), request.getCharacterEncoding()), out, false);
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
if (descriptionsListAndReferenceView) {
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
String keyPropertyForAction = Ids.undecorate(propertyKey);
|
|
||||||
|
|
||||||
if (editable && view.isCreateNewForReference(ref)) {
|
|
||||||
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f0 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f0.setParent(null);
|
|
||||||
// /xava/referenceActions.jsp(6,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f0.setAction("Reference.createNew");
|
|
||||||
// /xava/referenceActions.jsp(6,1) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f0.setArgv("model="+ref.getReferencedModelName() + ",keyProperty=" + keyPropertyForAction);
|
|
||||||
int _jspx_eval_xava_005faction_005f0 = _jspx_th_xava_005faction_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f0);
|
|
||||||
_jspx_th_xava_005faction_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f0_reused);
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (editable && view.isModifyForReference(ref)) {
|
|
||||||
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f1 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f1_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f1.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f1.setParent(null);
|
|
||||||
// /xava/referenceActions.jsp(12,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f1.setAction("Reference.modify");
|
|
||||||
// /xava/referenceActions.jsp(12,1) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f1.setArgv("model="+ref.getReferencedModelName() + ",keyProperty=" + keyPropertyForAction);
|
|
||||||
int _jspx_eval_xava_005faction_005f1 = _jspx_th_xava_005faction_005f1.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f1);
|
|
||||||
_jspx_th_xava_005faction_005f1_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f1_reused);
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
java.util.Iterator itActions = view.getActionsNamesForReference(ref, editable).iterator();
|
|
||||||
while (itActions.hasNext()) {
|
|
||||||
String action = (String) itActions.next();
|
|
||||||
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f2 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f2_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f2.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f2.setParent(null);
|
|
||||||
// /xava/referenceActions.jsp(20,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f2.setAction(action);
|
|
||||||
int _jspx_eval_xava_005faction_005f2 = _jspx_th_xava_005faction_005f2.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f2);
|
|
||||||
_jspx_th_xava_005faction_005f2_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f2_reused);
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
notCompositeEditorClosed = true;
|
|
||||||
|
|
||||||
out.write("\n");
|
|
||||||
out.write("\t</span>\n");
|
|
||||||
out.write("\t\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
String editorURL = "editors/" + WebEditors.getMetaEditorFor(ref, view.getViewName()).getUrl()
|
|
||||||
+ "?script=" + script
|
|
||||||
+ "&propertyKey=" + propertyKey
|
|
||||||
+ "&viewObject=" + refViewObject
|
|
||||||
+ "&editable=false";
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, editorURL, out, false);
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
String editorURL = "editors/" + WebEditors.getMetaEditorFor(ref, view.getViewName()).getUrl()
|
|
||||||
+ "?script=" + script
|
|
||||||
+ "&propertyKey=" + propertyKey
|
|
||||||
+ "&viewObject=" + refViewObject
|
|
||||||
+ "&editable=" + editable;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, editorURL, out, false);
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (!frame) {
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
|
|
||||||
String keyPropertyForAction = Ids.undecorate(propertyKey);
|
|
||||||
|
|
||||||
if (editable && view.isCreateNewForReference(ref)) {
|
|
||||||
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f3 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f3_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f3.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f3.setParent(null);
|
|
||||||
// /xava/referenceActions.jsp(6,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f3.setAction("Reference.createNew");
|
|
||||||
// /xava/referenceActions.jsp(6,1) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f3.setArgv("model="+ref.getReferencedModelName() + ",keyProperty=" + keyPropertyForAction);
|
|
||||||
int _jspx_eval_xava_005faction_005f3 = _jspx_th_xava_005faction_005f3.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f3);
|
|
||||||
_jspx_th_xava_005faction_005f3_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f3_reused);
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (editable && view.isModifyForReference(ref)) {
|
|
||||||
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f4 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f4_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f4.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f4.setParent(null);
|
|
||||||
// /xava/referenceActions.jsp(12,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f4.setAction("Reference.modify");
|
|
||||||
// /xava/referenceActions.jsp(12,1) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f4.setArgv("model="+ref.getReferencedModelName() + ",keyProperty=" + keyPropertyForAction);
|
|
||||||
int _jspx_eval_xava_005faction_005f4 = _jspx_th_xava_005faction_005f4.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f4);
|
|
||||||
_jspx_th_xava_005faction_005f4_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f4_reused);
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
java.util.Iterator itActions = view.getActionsNamesForReference(ref, editable).iterator();
|
|
||||||
while (itActions.hasNext()) {
|
|
||||||
String action = (String) itActions.next();
|
|
||||||
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
// xava:action
|
|
||||||
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f5 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
|
|
||||||
boolean _jspx_th_xava_005faction_005f5_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005faction_005f5.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005faction_005f5.setParent(null);
|
|
||||||
// /xava/referenceActions.jsp(20,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005faction_005f5.setAction(action);
|
|
||||||
int _jspx_eval_xava_005faction_005f5 = _jspx_th_xava_005faction_005f5.doStartTag();
|
|
||||||
if (_jspx_th_xava_005faction_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005faction_0026_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f5);
|
|
||||||
_jspx_th_xava_005faction_005f5_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f5_reused);
|
|
||||||
}
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write('\r');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (!composite && !notCompositeEditorClosed) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("</span>\n");
|
|
||||||
}
|
|
||||||
if (!onlyEditor) {
|
|
||||||
|
|
||||||
out.write(' ');
|
|
||||||
out.write('\n');
|
|
||||||
out.write(' ');
|
|
||||||
out.print(postEditor);
|
|
||||||
out.write('\n');
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
if (view.isFlowLayout()) {
|
|
||||||
out.write(" \n");
|
|
||||||
out.write("</div> \n");
|
|
||||||
}
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,226 +0,0 @@
|
|||||||
/*
|
|
||||||
* Generated by the Jasper component of Apache Tomcat
|
|
||||||
* Version: Apache Tomcat/9.0.22
|
|
||||||
* Generated at: 2020-05-25 17:47:43 UTC
|
|
||||||
* Note: The last modified time of this file was set to
|
|
||||||
* the last modified time of the source file after
|
|
||||||
* generation to assist with modification tracking.
|
|
||||||
*/
|
|
||||||
package org.apache.jsp.xava;
|
|
||||||
|
|
||||||
import javax.servlet.*;
|
|
||||||
import javax.servlet.http.*;
|
|
||||||
import javax.servlet.jsp.*;
|
|
||||||
import org.openxava.util.Strings;
|
|
||||||
import org.openxava.web.style.Themes;
|
|
||||||
|
|
||||||
public final class themeChooser_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|
||||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
|
||||||
org.apache.jasper.runtime.JspSourceImports {
|
|
||||||
|
|
||||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
|
||||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
|
||||||
|
|
||||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
|
|
||||||
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
|
|
||||||
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
|
||||||
|
|
||||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
|
||||||
|
|
||||||
static {
|
|
||||||
_jspx_imports_packages = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_packages.add("javax.servlet");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.http");
|
|
||||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
|
||||||
_jspx_imports_classes = new java.util.HashSet<>();
|
|
||||||
_jspx_imports_classes.add("org.openxava.util.Strings");
|
|
||||||
_jspx_imports_classes.add("org.openxava.web.style.Themes");
|
|
||||||
}
|
|
||||||
|
|
||||||
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody;
|
|
||||||
|
|
||||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
|
||||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
|
||||||
|
|
||||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
|
||||||
return _jspx_dependants;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getPackageImports() {
|
|
||||||
return _jspx_imports_packages;
|
|
||||||
}
|
|
||||||
|
|
||||||
public java.util.Set<java.lang.String> getClassImports() {
|
|
||||||
return _jspx_imports_classes;
|
|
||||||
}
|
|
||||||
|
|
||||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_el_expressionfactory == null) {
|
|
||||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _el_expressionfactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
synchronized (this) {
|
|
||||||
if (_jsp_instancemanager == null) {
|
|
||||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _jsp_instancemanager;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspInit() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspDestroy() {
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.release();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
|
||||||
throws java.io.IOException, javax.servlet.ServletException {
|
|
||||||
|
|
||||||
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
|
||||||
final java.lang.String _jspx_method = request.getMethod();
|
|
||||||
if ("OPTIONS".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
|
|
||||||
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
|
|
||||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
final javax.servlet.jsp.PageContext pageContext;
|
|
||||||
javax.servlet.http.HttpSession session = null;
|
|
||||||
final javax.servlet.ServletContext application;
|
|
||||||
final javax.servlet.ServletConfig config;
|
|
||||||
javax.servlet.jsp.JspWriter out = null;
|
|
||||||
final java.lang.Object page = this;
|
|
||||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
|
||||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
response.setContentType("text/html");
|
|
||||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
|
||||||
null, true, 8192, true);
|
|
||||||
_jspx_page_context = pageContext;
|
|
||||||
application = pageContext.getServletContext();
|
|
||||||
config = pageContext.getServletConfig();
|
|
||||||
session = pageContext.getSession();
|
|
||||||
out = pageContext.getOut();
|
|
||||||
_jspx_out = out;
|
|
||||||
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write('\n');
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("<div id=\"theme_chooser\">\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
if (_jspx_meth_xava_005flabel_005f0(_jspx_page_context))
|
|
||||||
return;
|
|
||||||
out.write(":\r\n");
|
|
||||||
out.write("\t");
|
|
||||||
|
|
||||||
String nexus = "";
|
|
||||||
String current = Themes.getCSS(request);
|
|
||||||
for (String theme: Themes.getAll()) {
|
|
||||||
String label = Strings.firstUpper(theme.replace(".css", "").replace("-", " "));
|
|
||||||
if (theme.equals(current)) {
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(nexus);
|
|
||||||
out.write('<');
|
|
||||||
out.write('b');
|
|
||||||
out.write('>');
|
|
||||||
out.print(label);
|
|
||||||
out.write("</b> \r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("\t\t\t");
|
|
||||||
out.print(nexus);
|
|
||||||
out.write("<a href=\"?theme=");
|
|
||||||
out.print(theme);
|
|
||||||
out.write('"');
|
|
||||||
out.write('>');
|
|
||||||
out.print(label);
|
|
||||||
out.write("</a> \r\n");
|
|
||||||
out.write("\t\t");
|
|
||||||
|
|
||||||
}
|
|
||||||
nexus = " - ";
|
|
||||||
}
|
|
||||||
|
|
||||||
out.write("\r\n");
|
|
||||||
out.write("</div>");
|
|
||||||
} catch (java.lang.Throwable t) {
|
|
||||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
|
||||||
out = _jspx_out;
|
|
||||||
if (out != null && out.getBufferSize() != 0)
|
|
||||||
try {
|
|
||||||
if (response.isCommitted()) {
|
|
||||||
out.flush();
|
|
||||||
} else {
|
|
||||||
out.clearBuffer();
|
|
||||||
}
|
|
||||||
} catch (java.io.IOException e) {}
|
|
||||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
|
||||||
else throw new ServletException(t);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean _jspx_meth_xava_005flabel_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
|
|
||||||
throws java.lang.Throwable {
|
|
||||||
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
|
|
||||||
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
|
|
||||||
// xava:label
|
|
||||||
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f0 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
|
|
||||||
boolean _jspx_th_xava_005flabel_005f0_reused = false;
|
|
||||||
try {
|
|
||||||
_jspx_th_xava_005flabel_005f0.setPageContext(_jspx_page_context);
|
|
||||||
_jspx_th_xava_005flabel_005f0.setParent(null);
|
|
||||||
// /xava/themeChooser.jsp(7,1) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
|
|
||||||
_jspx_th_xava_005flabel_005f0.setKey("themes");
|
|
||||||
int _jspx_eval_xava_005flabel_005f0 = _jspx_th_xava_005flabel_005f0.doStartTag();
|
|
||||||
if (_jspx_th_xava_005flabel_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f0);
|
|
||||||
_jspx_th_xava_005flabel_005f0_reused = true;
|
|
||||||
} finally {
|
|
||||||
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f0_reused);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
BIN
web/WEB-INF/lib/_jaxb-impl.jar
Normal file
BIN
web/WEB-INF/lib/_jaxb-impl.jar
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user