1132 |
18 Jun 09 |
nicklas |
1 |
<%-- $Id$ |
1132 |
18 Jun 09 |
nicklas |
2 |
------------------------------------------------------------------ |
1132 |
18 Jun 09 |
nicklas |
Copyright (C) 2009 Nicklas Nordborg |
1132 |
18 Jun 09 |
nicklas |
4 |
|
1132 |
18 Jun 09 |
nicklas |
5 |
This file is part of BASE - BioArray Software Environment. |
1132 |
18 Jun 09 |
nicklas |
6 |
Available at http://base.thep.lu.se/ |
1132 |
18 Jun 09 |
nicklas |
7 |
|
1132 |
18 Jun 09 |
nicklas |
8 |
BASE is free software; you can redistribute it and/or |
1132 |
18 Jun 09 |
nicklas |
9 |
modify it under the terms of the GNU General Public License |
1132 |
18 Jun 09 |
nicklas |
10 |
as published by the Free Software Foundation; either version 2 |
1132 |
18 Jun 09 |
nicklas |
11 |
of the License, or (at your option) any later version. |
1132 |
18 Jun 09 |
nicklas |
12 |
|
1132 |
18 Jun 09 |
nicklas |
13 |
BASE is distributed in the hope that it will be useful, |
1132 |
18 Jun 09 |
nicklas |
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1132 |
18 Jun 09 |
nicklas |
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1132 |
18 Jun 09 |
nicklas |
16 |
GNU General Public License for more details. |
1132 |
18 Jun 09 |
nicklas |
17 |
|
1132 |
18 Jun 09 |
nicklas |
18 |
You should have received a copy of the GNU General Public License |
1132 |
18 Jun 09 |
nicklas |
19 |
along with this program; if not, write to the Free Software |
1132 |
18 Jun 09 |
nicklas |
20 |
Foundation, Inc., 59 Temple Place - Suite 330, |
1132 |
18 Jun 09 |
nicklas |
21 |
Boston, MA 02111-1307, USA. |
1132 |
18 Jun 09 |
nicklas |
22 |
------------------------------------------------------------------ |
1132 |
18 Jun 09 |
nicklas |
23 |
|
1134 |
22 Jun 09 |
nicklas |
24 |
@author Nicklas |
1132 |
18 Jun 09 |
nicklas |
25 |
--%> |
1132 |
18 Jun 09 |
nicklas |
26 |
<%@ page |
1132 |
18 Jun 09 |
nicklas |
27 |
pageEncoding="UTF-8" |
1132 |
18 Jun 09 |
nicklas |
28 |
session="false" |
1134 |
22 Jun 09 |
nicklas |
29 |
import="net.sf.basedb.clients.web.util.HTML" |
1132 |
18 Jun 09 |
nicklas |
30 |
import="java.util.Map" |
1132 |
18 Jun 09 |
nicklas |
31 |
%> |
1132 |
18 Jun 09 |
nicklas |
32 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
1132 |
18 Jun 09 |
nicklas |
33 |
<% |
1134 |
22 Jun 09 |
nicklas |
34 |
final Map<String, String> appletParameters = |
1134 |
22 Jun 09 |
nicklas |
35 |
(Map<String, String>)request.getAttribute("appletParameters"); |
1134 |
22 Jun 09 |
nicklas |
36 |
String module = appletParameters.get("name"); |
1132 |
18 Jun 09 |
nicklas |
37 |
%> |
1134 |
22 Jun 09 |
nicklas |
38 |
<base:page type="popup" title="<%=HTML.encodeTags(module)%>"> |
1134 |
22 Jun 09 |
nicklas |
39 |
<base:head></base:head> |
1132 |
18 Jun 09 |
nicklas |
40 |
<base:body> |
1134 |
22 Jun 09 |
nicklas |
41 |
<h3 class="docked"><%=HTML.encodeTags(module)%></h3> |
1132 |
18 Jun 09 |
nicklas |
42 |
<div class="boxedbottom"> |
1132 |
18 Jun 09 |
nicklas |
43 |
The visualizer will start in it's own window. It is safe to |
1132 |
18 Jun 09 |
nicklas |
44 |
close this window once the visualizer is up and running. |
1134 |
22 Jun 09 |
nicklas |
45 |
<p> |
1132 |
18 Jun 09 |
nicklas |
46 |
<applet |
1132 |
18 Jun 09 |
nicklas |
47 |
code="org.genepattern.visualizer.RunVisualizerApplet" |
1132 |
18 Jun 09 |
nicklas |
48 |
archive="runVisualizer.jar,commons-httpclient.jar,commons-codec-1.3.jar" |
1134 |
22 Jun 09 |
nicklas |
49 |
codebase="visualizer" |
1132 |
18 Jun 09 |
nicklas |
50 |
width="1" height="1" |
1132 |
18 Jun 09 |
nicklas |
51 |
alt="Your browser can not run applets" |
1132 |
18 Jun 09 |
nicklas |
52 |
> |
1134 |
22 Jun 09 |
nicklas |
53 |
<% |
1134 |
22 Jun 09 |
nicklas |
54 |
for (Map.Entry<String, String> entry : appletParameters.entrySet()) |
1134 |
22 Jun 09 |
nicklas |
55 |
{ |
1134 |
22 Jun 09 |
nicklas |
56 |
%> |
1134 |
22 Jun 09 |
nicklas |
57 |
<param name="<%=entry.getKey()%>" value="<%=entry.getValue()%>"> |
1132 |
18 Jun 09 |
nicklas |
58 |
<% |
1134 |
22 Jun 09 |
nicklas |
59 |
} |
1134 |
22 Jun 09 |
nicklas |
60 |
%> |
1132 |
18 Jun 09 |
nicklas |
61 |
</applet> |
1132 |
18 Jun 09 |
nicklas |
62 |
</div> |
1132 |
18 Jun 09 |
nicklas |
63 |
|
1132 |
18 Jun 09 |
nicklas |
64 |
<table align="center"> |
1132 |
18 Jun 09 |
nicklas |
65 |
<tr> |
1132 |
18 Jun 09 |
nicklas |
66 |
<td><base:button onclick="window.close();" title="Close" /></td> |
1132 |
18 Jun 09 |
nicklas |
67 |
</tr> |
1132 |
18 Jun 09 |
nicklas |
68 |
</table> |
1132 |
18 Jun 09 |
nicklas |
69 |
|
1132 |
18 Jun 09 |
nicklas |
70 |
</base:body> |
1132 |
18 Jun 09 |
nicklas |
71 |
</base:page> |