📄 addrelation.jsp
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@include file="/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%
String contextPath = request.getContextPath();
%>
<html>
<head>
<title>{*[Path attribute]*}</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet"
href="<c:out value='${pageContext.request.contextPath}'/>/resource/css/main.css"
type="text/css">
<link href="<%= contextPath %>/css/css.jsp" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" onload="on_load()">
<script src="<ww:url value='/script/check.js'/>"></script>
<script src="<ww:url value='/script/util.js'/>"></script>
<SCRIPT LANGUAGE="JavaScript">
function ev_ok()
{
var attr=new Object()
attr.name=document.tmp.name.value
attr.condition=document.tmp.condition.value
attr.action = document.tmp.action.value
attr.validateScript = document.tmp.validateScript.value
//alert("action->"+ attr.action);
window.returnValue=attr
window.close()
}
function on_load()
{
var oldAttr = window.dialogArguments;
// alert(oldAttr);
tmp.name.value = HTMLDencode(oldAttr.name);
tmp.condition.value = HTMLDencode(oldAttr.condition);
//alert(oldAttr.validateScript);
tmp.action.value = HTMLDencode(oldAttr.action);
tmp.validateScript.value = HTMLDencode(oldAttr.validateScript);
}
function ev_close() {
window.close();
}
</SCRIPT>
<p> </p>
<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="140" class="text-label">{*[RelationNodeInfo]*}</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="ev_ok();"><img
src="<ww:url value="/resource/image/save.gif"/>">{*[Save]*}</button>
</td>
<td class="line-position2" width="70" valign="top">
<button class="button-image"
onClick="ev_close();"><img
src="<ww:url value="/resource/image/back.gif"/>">{*[Exit]*}</button>
</td>
</tr>
</table>
</td>
</tr>
</table>
<form name="tmp" method="post">
<table>
<tr bgcolor="#FFFFFF">
<td><input type="hidden" name="fieldpermlist" value=""/></td>
</tr>
<tr>
<td width="100%"><table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#dddddd">
<tr bgcolor="#FFFFFF">
<td width="20%" class="content-label">{*[Path name]*}:</td>
<td align="left"><input class="input-cmd" type="text" name="name" size="51">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20%" class="content-label">{*[Condition]*}:</td>
<td><textarea cssClass="input-cmd" name="condition" cols="50" rows="10"></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20%" class="content-label">{*[Action]*}:</td>
<td><textarea cssClass="input-cmd" name="action" cols="50" rows="10"></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20%" class="content-label">{*[ValidateScript]*}:</td>
<td><textarea cssClass="input-cmd" name="validateScript" cols="50" rows="10"></textarea></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -