📄 graphicitemlist.jsp
字号:
<%@ include file="/common/taglibs.jsp" %>
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="domain.GraphicItem"%>
<%@ include file="/scripts/common.jsp" %>
<%@ taglib uri="/WEB-INF/toolkit.tld" prefix="page" %>
<SCRIPT LANGUAGE=javascript >
setFormSelect("GraphicItemListForm","checkbox");
</SCRIPT>
<html><head><title>Spring app</title>
<link rel="stylesheet" href="<c:url value="/styles/screen.css"/>" type="text/css" />
</head>
<body>
<form name="submitForm" action = "<c:url value="/graphicItemEdit.htm"/>" method = "get">
<input type="hidden" name="reqtype" value="add"></input>
<input type="hidden" name="message" value=""></input>
<c:set value="${view.selectedGraphicTypeId}" var="temp" scope="request"/>
<page:optionsCollection label="graphictypeName" value="id" name="view" property="graphicTypeList" selectname="graphictype_id" selectValue="<%=request.getAttribute("temp").toString()%>" onchange="menuChangedEvent('submitForm','changeType','/viewConfig/hello.htm')"/>
</form>
<form name="GraphicItemListForm">
<display:table name="sessionScope.view.graphicItemList" pagesize="10" class="simple" id="list">
<display:column property="id" title="图元编号"/>
<display:column property="graphicitemName" title="图元名称"/>
<display:column property="graphicitemPath" title="图元路径" maxLength="40" nowrap="true"/>
<display:column property="graphictype.graphictypeName" title="图元类型"/>
<display:column property="applettype.applettypeName" title="Appelt类型"/>
<display:column title="选择"><input type="checkbox" name="checkbox<%=((GraphicItem)list).getId()%>" value="<%=((GraphicItem)list).getId()%>">
</display:column>
<display:column title="编辑" href="/viewConfig/graphicItemEdit.htm" paramId="reqtype=edit&id" paramProperty="id">Edit
</display:column>
<display:setProperty name="paging.banner.include_first_last" value="true" />
</display:table>
</form>
<input type="button" name="add" value="添加" onclick="menuChangedEvent('submitForm','add','/viewConfig/graphicItemEdit.htm')">
<input type="button" name="del" value="删除" onclick="selectedItemCheck('submitForm','/viewConfig/hello.htm')">
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -