?? 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 + -