excelPreView.jsp
1.23 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
<%@ 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.analyzeExcelPreView();
%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/workflow/exceldesign/css/excelHtml_wev8.css" />
<link rel="stylesheet" type="text/css" href="/css/Weaver_wev8.css" />
<%=ret_hs.get("wfcss") %>
</head>
<body>
<%
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();
});
function doDisableAll_s(){
jQuery("*").removeAttr("onchange");
jQuery("*").removeAttr("onclick");
jQuery("*").removeAttr("onBlur");
jQuery("*").removeAttr("onKeyPress");
jQuery("*").removeAttr("onpropertychange");
jQuery("*").removeAttr("onfocus");
}
</script>