list.jsp
1.5 KB
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
<%@include file="/common/CHeader.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<!doctype html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
</head>
<body>
<form class="form-inline definewidth m20" action="addXmlnode" method="post" style="margin-bottom: 10px">
文档ID:
<select name="docid" class="form-control">
<option value="${tOlapXmldoc.docid}">${tOlapXmldoc.docid}</option>
</select>
数据列ID:
<select name="columnid" class="form-control">
<c:forEach items="${olapColumnList}" var="f">
<option value="${f.columnid}">${f.columnid}</option>
</c:forEach>
</select>
<input type="submit" class="btn btn-primary" value="新增"/>
</form>
<table class="table table-bordered table-hover definewidth m10">
<thead>
<tr>
<th>节点ID</th>
<th>文档ID</th>
<th>数据列ID</th>
<th>操作</th>
</tr>
</thead>
<c:forEach items="${tOlapXmlnodeList}" var="t">
<tr>
<td>${t.nodeid}</td>
<td>${t.docid}</td>
<td>${t.columnid}</td>
<td>
<a href="<%=basePath %>olapxmlnode/findByid?nodeid=${t.nodeid}">编辑</a> <a href="<%=basePath %>olapxmlnode/deleteByPrimaryKey?nodeid=${t.nodeid}&docid=${tOlapXmldoc.docid}">删除</a>
</td>
</tr>
</c:forEach>
</table>
</body>
</html>