急求!

1314520ln 2007-03-01
我用的是1.0版的ecside,目前遇到的问题是在执行eccn.js时报错,

Ajax.formSubmit(Me.id,resfunc,"post",asy);这句的问题。

请指教。
bjwulin 2007-03-01
没有遇到过。有更详细的错误么?
1314520ln 2007-03-02
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/extremecomponents.tld" prefix="ec" %>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<%@ include file="/common/check.jsp" %>
  <head>
   <html:base />
   <%@ include file="/common/meta.jsp" %>
    <title><bean:message key="user.userlist.title"/></title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/common/css/td_style_ec.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/style/admin.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/style/default.css">
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/common.js" ></script>
<script language="JavaScript" src="<%=request.getContextPath()%>/common/js/prototypeajax.js" ></script>
<script language="JavaScript" src="<%=request.getContextPath()%>/common/js/eccn.js" ></script>
<script src="<c:url value="/scripts/prototype.js"/>"></script>
  </head>
<script>
    function show(id){
    var pur = $(purdiv);
   pur.innerHTML=""
   +"<table width='100%' border='0' cellpadding='2' cellspacing='1' bgcolor='#99CCFF'><tr><td bgcolor='#F1F1F1'>"
   +"<img src='../images/icon/arrow7.gif' width='12' height='9' border='0'/><a href='<%=request.getContextPath() %>/managerAllRoles.do?method=sysmenu&id="+id+"'>系统菜单权限</a><br>"  
   +"<img src='../images/icon/arrow7.gif' width='12' height='9' border='0'/><a href='<%=request.getContextPath() %>/managerAllRoles.do?method=purmenutree&id="+id+"'>模块操作权限</a><br>"
+"<img src='../images/icon/arrow7.gif' width='12' height='9' border='0'/><a href='<%=request.getContextPath() %>/managerAllRoles.do?method=purfolder&id="+id+"'>模块设置</a>"
    +"</td></tr><tr><td align='center' bgcolor='#E1EFFF'><a href='javascript:hidden();'><img src='../images/icon/close.gif' border='0'></a></td></tr></table>" ;
     pur.style.display="";
    pur.style.top  =  window.event.clientY + document.body.scrollTop  - document.body.clientTop;
   pur.style.left  =  window.event.clientX + document.body.scrollLeft - document.body.clientLeft;
     }  
   
    function hidden(){
    var pur = $(purdiv);
    pur.style.display="none";
    }

// 参数为 ec:table 的 id (实际为最终生成的 form的id)
var eccn=new ECCN("list1");
function init(){
//不使用预读取技术,使用传统方式提交form
//eccn.doPrep=false;
// 不预读取“前一页”
//eccn.doPrepPrev=false;
//开启debug模式,将可以看到预读取的内容
//eccn.isDebug=true;
eccn.init();

}   
</script> 
  <body oncontextmenu=self.event.returnValue=false onselectstart="return false" onload="init()">
  <div id="purdiv" style="position:absolute;border:1px;width:100;height:50;font-size:9pt;display:none;"></div>    
  <div id="titleDiv" class="pageTitle"><bean:message key="user.userlist.title"/></div> 
  <div id="operationDiv">
    <span class="operations">
            <A href="<%=request.getContextPath()%>/managerAllUsers.do?method=userbyid&id=-1">
            <img src="../images/icon/button_add.gif" align="bottom" border="0"></A>
            <A href="javascript:batch_do('删除用户','<%=request.getContextPath()%>/managerAllUsers.do?method=deluser')">
<img src="../images/icon/button_del.gif" align="bottom" border="0"></A>
    </span>
</div>

<ec:table tableId="list1"
items="datalist" var="pre" action="${pageContext.request.contextPath}/managerAllUsers.do?method=listuser"
width="100%"

minColWidth="80"
resizeColWidth="true"
toolbarLocation="both"
sortable="true"
>
<ec:row>
<ec:column property="rowcount" cell="rowCount" title="序号" sortable="false" filterable="false"/>
<ec:column property="fuserName" title="姓名"><a href="${pageContext.request.contextPath}/managerAllUsers.do?method=lookuser&id=${pre.id}">${pre.fuserName}</a></ec:column>
</ec:row>

</ec:table>
<html:errors/>
  </body>
</html>
1314520ln 2007-03-02
这个是我的调试页面..报了上面的错误
bjwulin 2007-03-02
小声问一下,你的ecside.js文件是utf-8的编码,发行的包里面是gb2312的编码。
Global site tag (gtag.js) - Google Analytics