📄 list.jsp
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@include file="/common/taglibs.jsp"%>
<%@ taglib prefix="ww" uri="webwork"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<%
String contextPath = request.getContextPath();
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>{*[TableColumn List]*}</title>
<link rel="stylesheet"
href="<c:out value='${pageContext.request.contextPath}'/>/resource/css/main.css"
type="text/css">
<script src="<ww:url value='/script/util.js'/>"></script>
<script src="<ww:url value='/script/list.js'/>"></script>
<script>
var contextPath = '<%=contextPath%>';
function tablecolumn_add() {
wx = '750px';
wy = '500px';
var url = '<ww:url action="new" />';
url+='?_reportConfigid='+'<ww:property value="#parameters['_reportConfigid']"/>';
url+='&_type='+'<ww:property value="#parameters['_type']"/>';
url+='&_queryid='+'<ww:property value="#parameters['_queryid']"/>';
url+='&instance='+'<ww:property value="#session.APPLICATION"/>';
var rtn=showframe('{*[TableColumn]*}', url);
window.location.href=window.location.href;
}
function tablecolumn_edit(id,reportConfigid,type) {
wx = '750px';
wy = '500px';
var url = '<ww:url action="edit" />';
url+='?_reportConfigid='+reportConfigid;
url+='&_type='+type;
url+='&id='+id;
url+='&_queryid='+'<ww:property value="#parameters['_queryid']"/>';
url+='&instance='+'<ww:property value="#session.APPLICATION"/>';
var rtn=showframe('{*[TableColumn]*}', url);
window.location.href=window.location.href;
}
</script>
</head>
<body leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 style="overflow:scroll">
<ww:form name="formList" action="list" method="post">
<%@include file="/common/list.jsp"%>
<input type="hidden" name="_reportConfigid" value='<ww:property value="#parameters['_reportConfigid']"/>' />
<input type="hidden" name="_type" value='<ww:property value="#parameters['_type']"/>' />
<input type="hidden" name="_queryid" value='<ww:property value="#parameters['_queryid']"/>' />
<table style="width:770;overflow:scroll" border="0" cellspacing="0" >
<tr class="table-text" >
<td align="left"><ww:property value="#parameters['_type']"/></td>
<ww:iterator value="datas.datas" status="index">
<td class="report-text" align="left"><a href="javaScript:tablecolumn_edit('<ww:property value="id"/>','<ww:property value="#parameters['_reportConfigid']"/>','<ww:property value="#parameters['_type']"/>')">
<ww:property value="name"/></a>
<ww:if test="sort==true">
(Sort)
</ww:if> </td>
</ww:iterator>
<td class="line-position2" valign="right" align="right">
<button class="report-button" onClick="tablecolumn_add()"><img src="<ww:url value="/resource/image/new2.jpg"/>">{*[Setting]*}</button>
</td>
</tr>
</table>
</body>
</ww:form>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -