- 注册时间
- 2012-9-11
- 最后登录
- 2018-9-4
- 阅读权限
- 10
- 积分
- 264
- 精华
- 0
- 帖子
- 39
|
dforce 发表于 2015-4-28 15:47
1 MiniUI基于标准doctype
需要
2 本地jsp页面测试,未发现问题
这个是我们的程序,你看看是否和你们的jsp有什么差别。
<%@ page import="java.util.*,database.*,net.sf.json.*" %>
<%@ page contentType="text/html;charset=utf-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<script type="text/javascript" language="JavaScript" src="/miniui-script/boot.js"></script>
<style type="text/css">
*{margin:0;padding:0}
</style>
</head>
<body style="background:white;overflow-x:hidden;overflow-y:hidden">
<ul style="background:white;width:100%;height:100%;overflow-x:auto;" id="tree1" class="mini-tree"
url="/RSMemoryAction.do?action=AjaxAction&ajaxactioncode=branch.tree"
showTreeIcon="true" textField="NAME" idField="ID" parentField="PARENT_ID"
resultAsTree="false" onnodeclick="openjnxx(e);"></ul>
<script type="text/javascript">
mini.parse();
function openjnxx(e)
{
var node = e.node;
var isLeaf = e.isLeaf;
if(isLeaf)
{
window.parent.opendoc("/basicbranchtreeitemcnf/tabs.jsp?ID=" +node.ID);
}
else
{
window.parent.opendoc("/basicbranchtreeitemcnf/grid.jsp?PARENT_ID=" +node.ID);
}
}
</script>
</body>
</html>
|
|