1 |
3032
|
perry
|
<%@ page contentType="text/html; charset=UTF-8" %>
|
2 |
|
|
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
|
3 |
|
|
<%@ taglib uri="/tags/struts-html" prefix="html" %>
|
4 |
|
|
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
|
5 |
|
|
|
6 |
|
|
<!---
|
7 |
|
|
This JSP expect to have a:
|
8 |
|
|
|
9 |
|
|
<form-bean
|
10 |
|
|
name="srsInfoForm"
|
11 |
|
|
type="org.apache.struts.action.DynaActionForm">
|
12 |
|
|
<form-property
|
13 |
|
|
name="srsDefinitionList"
|
14 |
|
|
type="java.lang.String[]"
|
15 |
|
|
/>
|
16 |
|
|
<form-property
|
17 |
|
|
name="srsIDList"
|
18 |
|
|
type="java.lang.String[]"
|
19 |
|
|
/>
|
20 |
|
|
</form-bean>
|
21 |
|
|
|
22 |
|
|
given to it. The id list is a list of integers (as strings) - these are the EPSG:# codes.
|
23 |
|
|
The Definition list is the WKT of that EPSG code.
|
24 |
|
|
--->
|
25 |
|
|
|
26 |
|
|
<!-- ALL THIS STUFF TAKEN FROM MAINLAYOUT.JSP -->
|
27 |
|
|
<!------------------------------------------------------------------------>
|
28 |
|
|
<html:html locale="true" xhtml="true">
|
29 |
|
|
<head>
|
30 |
|
|
<title>
|
31 |
|
|
<bean:message key="geoserver.logo"/>
|
32 |
|
|
Geoserver
|
33 |
|
|
</title>
|
34 |
|
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
|
35 |
|
|
<meta content="text/css" http-equiv="content-style-type"/>
|
36 |
|
|
<meta name="keywords"
|
37 |
|
|
content="(GeoServer) (GIS) (Geographic Information Systems)"/>
|
38 |
|
|
<meta name="author" content="David Blasby"/>
|
39 |
|
|
|
40 |
|
|
<style type="text/css">
|
41 |
|
|
<!-- @import url("<html:rewrite forward='style'/>"); -->
|
42 |
|
|
</style>
|
43 |
|
|
|
44 |
|
|
<link type="image/gif" href="<html:rewrite forward='icon'/>" rel="icon"/>
|
45 |
|
|
<link href="<html:rewrite forward='favicon'/>" rel="SHORTCUT ICON"/>
|
46 |
|
|
<html:base/>
|
47 |
|
|
</head>
|
48 |
|
|
<body>
|
49 |
|
|
<table class="page">
|
50 |
|
|
<tbody>
|
51 |
|
|
<tr class="header">
|
52 |
|
|
<td class="gutter">
|
53 |
|
|
<span class="project">
|
54 |
|
|
<a href="<bean:message key="link.geoserver"/>">
|
55 |
|
|
<bean:message key="geoserver.logo"/>
|
56 |
|
|
</a>
|
57 |
|
|
</span>
|
58 |
|
|
<span class="license">
|
59 |
|
|
<a href="<bean:message key="link.license"/>">©</a>
|
60 |
|
|
</span>
|
61 |
|
|
</td>
|
62 |
|
|
<td style="width: 1em">
|
63 |
|
|
</td>
|
64 |
|
|
<td style="vertical-align: bottom; white-space: nowrap;">
|
65 |
|
|
<span class="site">
|
66 |
|
|
<logic:notEmpty name="GeoServer" property="title">
|
67 |
|
|
<bean:write name="GeoServer" property="title"/>
|
68 |
|
|
</logic:notEmpty>
|
69 |
|
|
<logic:empty name="GeoServer" property="title">
|
70 |
|
|
<bean:message key="message.noTitle"/>
|
71 |
|
|
</logic:empty>
|
72 |
|
|
</span>
|
73 |
|
|
</td>
|
74 |
|
|
<td style="vertical-align: bottom; white-space: nowrap; text-align: right;">
|
75 |
|
|
<span class="contact">
|
76 |
|
|
<a href="<bean:message key="label.credits.url"/>"><bean:message key="label.credits"/></a>
|
77 |
|
|
</span>
|
78 |
|
|
<logic:notEmpty name="GeoServer" property="contactParty">
|
79 |
|
|
<span class="contact">
|
80 |
|
|
<bean:message key="label.contact"/>:
|
81 |
|
|
<html:link forward="contact">
|
82 |
|
|
<bean:write name="GeoServer" property="contactParty"/>
|
83 |
|
|
</html:link>
|
84 |
|
|
</span>
|
85 |
|
|
</logic:notEmpty>
|
86 |
|
|
</td>
|
87 |
|
|
</tr>
|
88 |
|
|
</table>
|
89 |
|
|
<!------------------------------------------------------------------------>
|
90 |
|
|
|
91 |
|
|
<h1> <bean:message key="srsList.title"/> </h1>
|
92 |
|
|
|
93 |
|
|
<!------------------------------------------------------------------------>
|
94 |
|
|
<!-- DISPLAY THE LIST OF SRS AND THEIR DEFINITIONS ->
|
95 |
|
|
<!------------------------------------------------------------------------>
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
<table border=1 width=95%>
|
99 |
|
|
|
100 |
|
|
<tr><th>EPSG #</th><th><bean:message key="srsList.tableTitle"/></th></tr>
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
<!-- This iterator take idx from 0 to however many items there are in the list.
|
104 |
|
|
I use the index to grab the data from the 2 input lists (see above).
|
105 |
|
|
The it_value is ignored.
|
106 |
|
|
-->
|
107 |
|
|
<logic:iterate id="it_value" indexId="idx" name="srsInfoForm" property="srsIDList">
|
108 |
|
|
<tr>
|
109 |
|
|
<td>
|
110 |
|
|
<bean:write property="<%= "srsIDList[" + idx + "]" %>" name="srsInfoForm"/>
|
111 |
|
|
</td>
|
112 |
|
|
<td class="greyedOut2">
|
113 |
|
|
<bean:write property="<%= "srsDefinitionList[" + idx + "]" %>" name="srsInfoForm"/>
|
114 |
|
|
</td>
|
115 |
|
|
</tr>
|
116 |
|
|
</logic:iterate>
|
117 |
|
|
</table>
|
118 |
|
|
|
119 |
|
|
</body>
|
120 |
|
|
</html:html>
|