📄 templatelist.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="/smartweb" prefix="s" %>
<%
String contextPath = request.getContextPath();
%>
<html:html>
<head>
<title> {*[List]*} </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="<%= contextPath %>/css/info.css" type="text/css">
<script src="<%= contextPath %>/js/billlist.js"></script>
<script src="<%= contextPath %>/js/util.js"></script>
<script src="<%= contextPath %>/js/category.js"></script>
<script language="JavaScript">
var contextPath = '<%= contextPath %>';
cmdNew = '/dynaform/form/new.do';
cmdDelete = '/dynaform/form/delete.do';
function ev_check() {
return true;
}
function ev_doNew(formname){
wx = '400px';
wy = '500px';
var url = contextPath + '/billflow/defi/select.do';
var rtn = showframe('{*[ please choose a workflow]*}', url);
// if (rtn == null || rtn == "") {
// alert("{*[Can't create doc as no workflow assignedcan't create doc as no workflow assigned]*}");
// return;
// }
url = contextPath + "/dynaform/document/new.do";
url = addParam(url, 'defipk', rtn);
url = addParam(url, 'formname', formname);
url = addParam(url, 'ISEDIT', 'TRUE');
url = addParam(url, 'COMMAND', 'new');
formList.action = url;
formList.submit();
}
function ev_resetForm() {
document.formList.s_name.value = '';
resetForm();
}
</script>
</head>
<body>
<html:form styleId="formList" method="post" action="/dynaform/form/list.do">
<html:hidden property="_orderby"/>
<html:hidden property="_desc"/>
<html:hidden property="_currpage"/>
<html:hidden property="_pagelines"/>
<input type="hidden" name="_rowcount" value="<c:out value='${requestScope.LIST.rowCount}' />">
<table class="list-table" border="0" cellpadding="4" cellspacing="0">
<tr>
<td align="center"> <table class="list-datas-table" border="0" cellpadding="0" cellspacing="1">
<c:forEach var="item" items="${requestScope.LIST.datas}">
<c:url value="/dynaform/document/new.do" var="urlView">
<c:param name="formname" value="${item.name}"/>
<c:param name="ISEDIT" value="TRUE"/>
</c:url>
<tr class="row-content">
<td><a href='javascript:ev_doNew("<c:out value="${item.name}"/>")'><c:out value="${item.name}" /></a></td>
</tr>
</c:forEach> </table></td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -