today_archives_data.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:3k
源码类别:
电子政务应用
开发平台:
Java
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_archive.tld" prefix="archive" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <script language=javascript>
- function checkAll(checkbox_select,checkbox_names)
- {
- var items=checkbox_names.length;
- if(items>1)
- {
- for(i=0;i<items;i++) checkbox_names[i].checked=checkbox_select.checked;
- }
- else
- {
- checkbox_names.checked=checkbox_select.checked;
- }
- }
- function toDelete(form)
- {
- var items=form.check1.length;
- var j = -1;
- var sign = 1;
- if (items>1)
- {
- for (i=0;i < items;i++)
- {
- if (form.check1[i].checked)
- j = i;
- }
- if (j == -1)
- {
- alert ("没有可供删除的选项!" );
- sign = 0;
- }
- }
- else
- {
- if (form.check1.checked)
- sign = 1;
- else
- {
- alert ("没有可供删除的选项!" );
- sign = 0
- }
- }
- if (sign == 1)
- {
- form.action= "/mainctrl/archive/deleteTodayArchives";
- form.submit();
- }
- }
- </script>
- <table width="100%" border="0">
- <tr bgcolor="#e0e0e0">
- <td><font class="strong">选择</font></td>
- <td>
- <div align="right"></div>
- <div align="left"><font class="strong">档案编号</font></div>
- </td>
- <td><font class="strong">存档日期</font></td>
- <td><font class="strong">标题</font></td>
- <td><font class="strong">发文日期</font></td>
- <td><font class="strong">文件来源</font></td>
- </tr>
- <archive:TodayArchiveList>
- <vnex:items paging="true">
- <tr bgcolor="<vnex:itemsColor />">
- <td>
- <input type="checkbox" name="check1" value=<archive:ArchiveAttribute attribute = "archive_id"/>><br>
- </td>
- <td><archive:ArchiveAttribute attribute = "archive_display_id"/></td>
- <td><archive:ArchiveAttribute attribute = "save_archive_date"/></td>
- <td><a href="/mainctrl/archive/archiveDetail?archiveId=<archive:ArchiveAttribute attribute = "archive_id"/>&isToday=1"><archive:ArchiveAttribute attribute = "archive_title"/></a></td>
- <td><archive:ArchiveAttribute attribute = "create_date"/></td>
- <td><archive:ArchiveAttribute attribute = "file_source"/></td>
- </tr>
- </vnex:items>
- <tr>
- <td colspan = "5">
- <div align="left">
- <input type="checkbox" name="selectAll" value="checkbox" onClick= checkAll(selectAll,check1)>
- 全选</div>
- </td>
- </tr>
- <tr bgcolor="#cccccc">
- <td colspan="5"> <vnex:pagingTag pageName="/mainctrl/archive/todayArchives?a" />
- </td>
- </tr>
- </archive:TodayArchiveList>
- </table>