showInterfaceView.jsp
1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<jsp:useBean id="wfLayoutToHtml" class="weaver.workflow.html.WFLayoutToHtml" scope="page" />
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page" />
<%
	wfLayoutToHtml.setRequest(request);
	wfLayoutToHtml.setUser(user);
	wfLayoutToHtml.setIscreate(1);
	Hashtable ret_hs = wfLayoutToHtml.analyzeLayout();
%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/workflow/exceldesign/css/excelHtml_wev8.css" />
<%=ret_hs.get("wfcss") %>
</head>
<body style="overflow:hidden;">
<%
	String wfformhtml = Util.null2String((String)ret_hs.get("wfformhtml"));
	out.println(wfformhtml);
	StringBuffer jsStr = wfLayoutToHtml.getJsStr();
%>
</body>
</html>
<script language="javascript">
<%//out.println(jsStr.toString());%>
jQuery(document).ready(function(){
	try{
		createTags();
	}catch(e){}
	doDisableAll_s();
	removeInput();
});
function doDisableAll_s(){
	jQuery("*").removeAttr("onchange");
	jQuery("*").removeAttr("onclick");
	jQuery("*").removeAttr("onBlur");
	jQuery("*").removeAttr("onKeyPress");
	jQuery("*").removeAttr("onpropertychange");
	jQuery("*").removeAttr("onfocus");
}
function removeInput(){
	$(":input[type=text]").each(
		function(){
			jQuery(this).remove();
			//jQuery(this).attr("disabled", "disabled");
		}
	);
	$("textarea").each(
		function(){
			jQuery(this).remove();
			//jQuery(this).attr("disabled", "disabled");
		}
	);
}
function wfbrowvaluechange(){}
function checkLengthbrow(){}
</script>