jmesa的日期导出 使用ajax分页导出失效
当在jmesa中调用ajax更新某个字段时会导致分页和导出功能失败主要是因为发ajax时jmesa默认会清空上次查询结果
解决的办法是在发ajax时参数之前添上_jmesa_clear_=false
$.ajax({ url: '<c:url value="/ajax/myaccount/myaccount2/ebankAccountQuery_call8402.html"/>', type: 'GET', data:'_jmesa_clear_=false&idmark='+idmark+'&status1='+status1+'&payAcctno='+ payAcctno+'&outsysdate='+outsysdate+'&webseqno='+webseqno+'&busiDate='+busiDate+'&'+$("#resultListForm").serialize()+'&tempdate='+ tempdate, dataType: 'html', timeout: 30000, error: function(XMLHttpRequest, textStatus, errorThrown){ }, success: function(data){}
<jmesa:tableFacade id="logList" items="${logList}" maxRows="10"exportTypes="csv,excel,pdf"filterMatcherMap="logdate-datetime-left-true,transcnname-string,status-string-left-true-DEF_BUSILOGSTATUS"maxRowsIncrements="5,10,15,20,25" stateAttr="restore" var="restrict"><jmesa:htmlTable><jmesa:htmlRow><jmesa:htmlColumn pattern="yyyy-MM-dd HH:mm:ss"cellEditor="org.jmesa.view.editor.DateCellEditor"property="logdate" titleKey="psnlservice.psnlqueryoperlog.logdate"filterable="false" style="text-align:center;"></jmesa:htmlColumn><jmesa:htmlColumn property="transcnname"titleKey="psnlservice.psnlqueryoperlog.transcnname"filterable="false" style="text-align:center;"></jmesa:htmlColumn><jmesa:htmlColumn property="status"titleKey="psnlservice.psnlqueryoperlog.status" filterable="false"style="text-align:center;"><glue:appCodeName codeType="DEF_BUSILOGSTATUS"codeValue="${restrict.status}"></glue:appCodeName></jmesa:htmlColumn></jmesa:htmlRow></jmesa:htmlTable></jmesa:tableFacade>