📄 setorglocation.jsp.svn-base
字号:
<%@ page language="java" contentType="text/html;charset=GB2312"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<html>
<head>
<title>AddSysInfo</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR>
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
if (navigator.appName == 'Netscape')
{
document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = netscapeMouseMove;
}
function netscapeMouseMove(e) {
if (e.screenX != document.test.x.value && e.screenY != document.test.y.value)
{
document.test.x.value = e.screenX;
document.test.y.value = e.screenY;
}
}
function micro$oftMouseMove() {
if (window.event.offsetX != document.test.x.value && window.event.offsetY != document.test.y.value)
{
document.test.x.value = window.event.offsetX;
document.test.y.value = window.event.offsetY;
}
}
</SCRIPT>
<body>
<tiles:insert page="/inc/CurrentPosition.jsp" />
<tiles:insert page="/inc/ActionMessagesAndErrors.jsp" />
<html:hidden property="map" />
<form name="test"
action="${pageContext.request.contextPath}/OrganizationMgAction.do?method=saveStationLocation">
<table>
<tr>
<td width="70%">
<div onclick="micro$oftMouseMove()" position="relative"
z-index="0">
<img src="${map }" border="1" usemap="#Map">
<c:forEach var="station" items="${station}">
<div z-index="1" position="relative" left="${station.leftX}"
top="${station.leftY }">
<img src=".../123.jpg"
action="${pageContext.request.contextPath}/OrganizationMgAction.do?method=listStation">
${station.stationName }
</div>
</c:forEach>
</div>
</td>
<td valign="top">
<table width="90%" cellpadding="0" cellspacing="0">
<tr>
<td class="left">
加油站X坐标
</td>
<td class="right">
<input name="x" type="text" value="" size="10" maxlength=10>
</tr>
<tr>
<td class="left">
加油站Y坐标
</td>
<td class="right">
<input name="y" type="text" value="" size="10" maxlength=10>
</tr>
<tr>
<td class="left">
加油站名称
</td>
<td class="right">
<html:select property="stationId" size="${stationList.size()}">
<html:options collection="stationList" property="stationId"
labelProperty="stationName" />
</html:select>
</td>
</tr>
<tr>
<td class="left">
<input type="submit" value="提交">
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -