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();