2010-12-22问题

来源:互联网 发布:黑客挂机赚钱软件 编辑:程序博客网 时间:2024/05/22 01:39

Query query = session.createQuery(queryString)
        .setFirstResult(dataPage.startResult())
        .setMaxResults(pageSize);

document.forms相当于submit

页面提交问题?

Ajax页面提交问题

web容器的url问题

页面自身提交的问题

解决方法var parentWin=window.dialogArguments;
   parentWin.getSelectReturnMoney(employeeCode,deptId,cardCode,state,startDate,endDate,cardType);
   window.close();

getSelectReturnMoney为父窗体中定义的function方法

window.showModalDialog('url',window,'....'); 注意:这里的window不需要引号

 var url="${rc.contextPath}/consume/ReturnMonye/returnMoneyMain.do";
        myform1.action=url;
        myform1.submit(); 
 

原创粉丝点击