Edit D:\chineseall_products\bak\digitalLib6\WEB-INF\template\pageModel.html
<style>a{TEXT-DECORATION:none}</style> <input type="hidden" name="currentPage" value="$currentPage"/> #set($prevPage = $currentPage - 1 ) #if($currentPage > 1) <a href="javascript:submitForm(1);" title="???">|<</a> <a href="javascript:submitForm($prevPage);" title="?????"><</a> #else <a title="???">|<</a> <a title="?????"><</a> #end #set($i=1) #foreach($i in [${startCount}..${endCount}]) #if($currentPage==$i) <b><font color="red">$i</font></b> #else <a href="javascript:submitForm($i);">$i</a> #end #end #set($nextPage = $currentPage + 1 ) #if( $currentPage < $pageCount ) <a href="javascript:submitForm($nextPage);" title="?????">></a> <a href="javascript:submitForm(${pageCount});" title="???">>|</a> #else <a title="?????">></a> <a title="???">>|</a> #end <input id="goPage" type="text" style="width: 20px;" onkeyup="enterGoPage();"> <input type="button" value="go" onclick="goPageFun();" /> (??${pageCount}??,${pageSize}??/??,??${itemCount}??) <script> function enterGoPage(event) { var event = event ? event : (window.event ? window.event : null); if(event.keyCode == 13) { goPageFun(); } } function goPageFun() { var page = document.getElementById("goPage").value; page = page.replace(/(^[\s]*)|([\s]*$)/g, ""); if(page == "" || page <= 0 || isNaN(page)) { alert("????????????"); return false; } if(page > ${pageCount}) { page = ${pageCount}; } submitForm(page); } function submitForm(toPage) { if(window.document.pageListForm==undefined) { alert("??????pageListForm????????"); return; } window.document.pageListForm.currentPage.value=toPage; window.document.pageListForm.submit(); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de