Project

General

Profile

metacat / lib / spatial / wfs.jsp @ 5596

1
<%@ taglib uri="/WEB-INF/taglibs-xtags.tld" prefix="xtags" %>
2
<%
3
    /* Get the WFS GetFeature request and the XSL Stylesheet
4
     * If not specified, use the defaults
5
     */
6
     String xml = request.getParameter("wfsurl");
7
     if (xml == null)
8
     {
9
         xml = "wfs.xml";
10
     }
11

    
12
     String xsl = request.getParameter("xsl");
13
     if (xsl == null) 
14
     {
15
         xsl = "wfs.xsl";
16
     }
17

    
18
%>
19

    
20
<html>
21
<head>
22
<title> Map Query </title>
23
<link href="../style/skins/default/default.css" rel="stylesheet" type="text/css">
24
<style>
25
   ul     { font-size: 12pt; list-style-type: none; padding:1px; padding-left:16px; }
26
   a      { color: darkblue }
27
   .title { font-size: 16pt; width:100%; color:darkblue; 
28
            text-align:center; padding: 1px; }
29
   .content { border:1px black solid; width:750px; background-color:white}
30
</style>
31
</head>
32
<body align="center">
33

    
34
<!-- WFS URL :
35
     <%=xml%> 
36
 -->
37

    
38
  <table width="750px" align="center" cellspacing="0" cellpadding="0" >
39
    <tr> 
40
      <td width="10" align="right" valign="top">
41
        <img src="../style/skins/default/images/panelhead_bg_lcorner.gif" 
42
          width="10" height="21">
43
      </td>
44
      <td class="sectionheader">
45
        Map Query Results
46
      </td>
47
      <td width="10" align="left" valign="top"> 
48
        <img src="../style/skins/default/images/panelhead_bg_rcorner.gif" 
49
          width="10" height="21">
50
      </td>
51
    </tr>
52
    <tr><td colspan="3">
53
<div class="content">
54
  <xtags:style xml="<%=xml%>" xsl="<%=xsl%>"/>
55
</div>
56
     </tr></td>
57
    </table>
58
</body>
59
</html>