⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list.jsp

📁 OBPM是一个开源
💻 JSP
字号:
<%@include file="/common/taglibs.jsp"%>
<%@ page contentType="text/html;charset=GBK" language="java"%>
<%@ page import="cn.myapps.core.resource.action.ResourceHelper" %>
<html>
<head>
<title>{*[Resources]*}</title>
<link rel="stylesheet"
	href="<c:out value='${pageContext.request.contextPath}'/>/resource/css/main.css"
	type="text/css">
<script>
function ev_load(){
	if ('<ww:property value="#parameters['refreshs']" />'=='true') {
		parent.frames[0].location.reload();
	}
}
</script>
</head>
<body onload="ev_load()">
<ww:actionerror />
<ww:form name="formList" action="list" method="post">
	<%@include file="/common/list.jsp"%>
	<table width="98%">
		<tr>
			<td width="10" class="image-label"><img
				src="<ww:url value="/resource/image/email2.jpg"/>" /></td>
			<td width="3"></td>
			<td width="70" class="text-label">{*[Resources]*}</td>
			<td>
			<table width="100%" border=1 cellpadding="0" cellspacing="0"
				class="line-position">
				<tr>
					<td></td>
					<td class="line-position2" width="60" valign="top">
					<button class="button-image"
						onClick="forms[0].action='<ww:url action="new" />';forms[0].submit();"><img
						src="<ww:url value="/resource/image/new2.jpg"/>">{*[New]*}</button>
					</td>
					<td class="line-position2" width="70" valign="top">
					<button class="button-image"
						onClick="forms[0].action='<ww:url value="delete.action?refreshs=true"/>';forms[0].submit();"><img
						src="<ww:url value="/resource/image/delete1.jpg"/>">{*[Delete]*}</button>
					</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
	<table border="0">
		<tr>
			<td></td>
			<td class="head-text">{*[Description]*}:</td>
			<td><input class="input-cmd" type="text" name="sm_description" value='<ww:property value="#parameters['sm_description']"/>'
				size="10" /></td>
			<td class="head-text">{*[Type]*}:</td>
			<td>
			<ww:select name="sm_type"   value="#parameters['sm_type']" theme="simple" emptyOption="true" list="#{'00':'{*[Menu]*}','01':'{*[Page]*}'}"/>
			</td>
			<td class="head-text">{*[Action]*}:</td>
			<td>
			<input class="input-cmd" type="text" name="sm_actionurl" value='<ww:property value="#parameters['sm_actionurl']"/>'
				size="10" /></td>
			<td><input class="button-cmd" type="submit" value="{*[Query]*}" /></td>
			<td><input class="button-cmd" type="button" value="{*[Reset]*}" onclick="resetAll();"/></td>
		<tr>
	</table>

	<table class="list-table" border="0" cellpadding="2" cellspacing="0"
		width="100%">
		<tr>
			<td class="column-head2" scope="col"><input type="checkbox"
				onclick="selectAll(this.checked)"></td>
			<td class="column-head" scope="col"><o:OrderTag field="description"
				css="ordertag">{*[Description]*}</o:OrderTag></td>
			<td class="column-head" scope="col"><o:OrderTag field="type"
				css="ordertag">{*[Type]*}</o:OrderTag></td>
			<td class="column-head" scope="col"><o:OrderTag field="actionurl"
				css="ordertag">{*[Action]*}</o:OrderTag></td>
		</tr>

		<ww:iterator value="datas.datas" status="index">
			<ww:if test="#index.odd == true">
				<tr class="table-text">
			</ww:if>
			<ww:else>
				<tr class="table-text2">
			</ww:else>
			<td class="table-td"><input type="checkbox" name="_selects"
				value="<ww:property value="id" />"></td>
			<td ><a
				href="<ww:url action="edit"><ww:param name="id" value="id"/>
				<ww:param name="_currpage" value="datas.pageNo" />
				<ww:param name="_pagelines" value="datas.linesPerPage" />
				<ww:param name="_rowcount" value="datas.rowCount" />
				</ww:url>">
			<ww:property value="description" /></a></td>
			<ww:set id="type" name="type"/>
			<% ResourceHelper rh = new ResourceHelper();
				String type = (String)request.getAttribute("type");
				String name = rh.getName(type);
			%>
			<td><%= name%></td>
			<td><ww:property value="actionurl" /></td>
			</tr>
		</ww:iterator>
	</table>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td align="right" class="pagenav"><o:PageNavigation dpName="datas"
				css="linktag" /></td>
		</tr>
	</table>
</ww:form>
</body>
</html>








⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -