<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/commons/meta.jsp"%>
<base href="<%=basePath%>">
<title>配置输出线</title>
<script type="text/javascript">
	$(document).ready(function() {
		$("#submitButton").click(function() {
			//用jquery中的ajax方法，向服务器提交请求 
			jQuery.ajax({
				type : "POST",
				url : "${ctx}/actInfo/sequenceFlow/saveProperty.do",
				data : $('#myform').serialize(),
				success : function(resp) {
						alert(resp);
						art.dialog.opener.location.reload();
				}
			});
		});
	});
</script>
</head>
<body>
		<form action="${ctx}/actInfo/sequenceFlow/saveProperty.do"
			method="post" id="myform">
				<div class="main-container" id="main-container">
			<div class="panel panel-primary">
				
				<div class="panel-body">
					<table class='table table-bordered' border="0" cellspacing="0"
						cellpadding="0" id="myTable">
				<!-- 存放隐藏域的区域 -->
				<input type="hidden" name="procDefId"
					value="${procDefId}" />
				<input type="hidden" name="sequenceFlowId"
					value="${sequenceFlow.id}" />
				
				<!-- 存放表单的区域 -->
				<tr>
					<td><font color="red">*</font>属性ID：</td>
					<td><input name="id" id="id" value="" /></td>
				</tr>
				<tr>
					<td><font color="red">*</font>属性值：</td>
					<td><input name="value" id="value" value="" /></td>
				</tr>
				
			</table>
			<div class="col-md-offset-1 col-md-9" style="text-align: center;">
						<input type="button" class="btn btn-sm btn-primary"
							id="submitButton" value="保 存" />
					</div>
				</div>
			</div>
		</div>
		</form>
</body>
</html>
