⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 deptemplist.jsp

📁 Jbuilder2006开发的严格按MVC设计模式组织开发过程
💻 JSP
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/tops.tld" prefix="tops"%>
<html:html>
  <html:base/>
  <head>
  <html:base/>
  <tops:includeCSS fileName="style"/>
  <tops:includeCSS fileName="headstyle"/>
  <tops:includeJs fileName="common"/>
  <tops:includeJs fileName="Table"/>
  <title>listApp</title>
  </head>
  <body>
  <html:form action="/actTopsAEmployee" method="POST">
    <input type="hidden" name="deptid" value="<bean:write name="deptid" scope="request"/>"/>
    <input type="hidden" name="method"/>
    <tops:showPageFunction pageFunction="员工管理" strongTextBeanName="deptName"/>
    <tops:toolbar>
      <tops:toolbutton caption="新增员工" method="add" image="page_add"/>
      <tops:toolbutton caption="删除员工" method="delete" image="delete" confirm="确定删除这些员工吗?"/>
    </tops:toolbar>
    <table cellpadding="0" cellspacing="1" border="0" width="100%" id="PowerTable">
      <tr align="center">
        <td height="20" width="5%" class="title" nowrap>
          <tops:selectAllCheckBox/>
        </td>
        <td width="5%" nowrap class="title">序号</td>
        <td width="10%" nowrap class="title">员工ID</td>
        <td width="20%" nowrap class="title">员工姓名</td>
      </tr>
      <logic:notEmpty name="objlist">
        <logic:iterate id="info" name="objlist" indexId="index">
          <tr align="center">
            <td height="20">
              <tops:selectCheckBox name="info"/>
            </td>
            <td><tops:tableOrd/>         </td>
            <td>
              <bean:write name="info" property="emId"/>
            </td>
            <td>
              <tops:link action="actTopsAEmployee" showcaptionalways="true" captionbeanproperty="page-info-emName" caption="dd" method="modify" argname1="id" argbeanproperty1="page-info-id"/>
            </td>
          </tr>
        </logic:iterate>
      </logic:notEmpty>
      <logic:empty name="info">
        <tr>
          <td colspan="6" height="20" align="center">没有员工信息</td>
        </tr>
      </logic:empty>
    </table>
  </html:form>
  </body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -