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
/
getusers.jsp
73 lines (65 loc) · 2.11 KB
/
getusers.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
<%-- $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" %>
<%@ page import="org.deegree.security.drm.model.*" %>
<%@ page import="org.deegree.framework.util.StringTools" %>
<%
User [] users = (User []) request.getAttribute ("USERS");
%>
<html>
<head>
<script src="js/menufunctions.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function User (id, name) {
this.id = id;
this.name = name;
}
function getUsersProxy (regex) {
getUsers (regex);
}
function init () {
users = new Array (<%= users.length %>);
<%
for (int i = 0; i < users.length; i++) {
out.println (" users [" + i + "] = new User (" + users [i].getID () + ",'"
+ StringTools.replace (users [i].getName (), "'", "\\'", true) + "');");
}
%>
users.sort (namesort);
parent.setGetUsersWindow (this);
parent.setUsers (users);
}
//-->
</script>
</head>
<body onload="init ()">
</body>
</html>