excelPreView.jsp 1.23 KB

<%@ 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>