This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patheditservice.jsp
75 lines (67 loc) · 2.67 KB
/
editservice.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<jsp:include page="header.jsp" flush="true" />
<%-- $HeadURL$
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2009 by:
- Department of Geography, University of Bonn -
and
- lat/lon GmbH -
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Contact information:
lat/lon GmbH
Aennchenstr. 19, 53177 Bonn
Germany
http://lat-lon.de/
Department of Geography, University of Bonn
Prof. Dr. Klaus Greve
Postfach 1147, 53001 Bonn
Germany
http://www.geographie.uni-bonn.de/deegree/
e-mail: info@deegree.org
--%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="logotable.jsp" flush="true" />
<jsp:include page="menutable.jsp" flush="true" />
<%@ page import="org.deegree.security.drm.model.*"%>
<%@ page import="org.deegree.portal.standard.security.control.*"%>
<%@ page import="java.util.*"%>
<%@ page import="org.deegree.framework.util.*"%>
<script language="JavaScript1.2" type="text/javascript" src="js/editservice.js"></script>
<script language="JavaScript1.2" type="text/javascript">
function init() {
<%
Service service = (Service)request.getAttribute("SERVICE");
out.println("service = {}");
out.println("service.title = '" + (service.getServiceTitle() == null ? "(kein Titel)" : service.getServiceTitle()) + "'");
out.println("service.objects = {}");
out.println("service.type = '" + service.getServiceType() + "'");
out.println("service.address = '" + service.getAddress() + "'");
for(StringPair pair : service.getObjects()){
out.println("service.objects[\"" + pair.first + "\"] = '" + pair.second.replace("'", "\\'") + "'");
}
%>
generateContent()
}
</script>
<table class="maintable">
<tr>
<td valign="top">
<h2>Service bearbeiten</h2>
<p><i>Klicken Sie auf ein Objekt, wenn Sie es umbenennen möchten</i></p>
<br>
<div id="content" class="scrollable">
</div>
</td>
</tr>
</table>
<jsp:include page="submittable.jsp" flush="true" />
<jsp:include page="footer.jsp" flush="true" />