employeeselect.jsp

来自「Jbuilder2006开发的严格按MVC设计模式组织开发过程」· JSP 代码 · 共 58 行

JSP
58
字号
<%@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>
  <head>
  <html:base/>
  <tops:includeCSS fileName="style"/>
  <tops:includeJs fileName="common"/>
  <tops:includeJs fileName="datepicker"/>
  <tops:includeJs fileName="inputhelper"/>
  <tops:includeJs fileName="Table"/>
  </head>
  <title>班级选择</title>
  <body>
  <html:form action="/actTopsAEmployee" method="post">
    <html:hidden property="method"/>
    <html:hidden property="frmName" value="main"/>
    <tops:showPageFunction pageFunction="人员选择"/>
    <tops:toolbar>
      <td>
        <html:text property="emName" size="10"/>
      </td>
      <tops:toolbutton caption="查询" image="application_form_magnify" checkAtClient="false"/>
      <tops:toolbutton caption="关闭" image="arrow_undo" checkAtClient="false" onClick="cancelHelper()"/>
    </tops:toolbar>
    <table cellpadding="0" cellspacing="1" border="0" width="100%" id="PowerTable">
      <tr align="center">
        <td height="20" width="5%" nowrap class="title">序号</td>
        <td width="10%" nowrap class="title">人员编号</td>
        <td width="10%" nowrap class="title">人员姓名</td>
      </tr>
      <logic:notEmpty name="objlist">
        <logic:iterate id="obj" name="objlist" indexId="index">
          <tr align="center">
            <td height="20">
              <tops:tableOrd/>
            </td>
            <td>
              <tops:inputHelperValueSetter name="obj" captionProperty="emName" uuidProperty="id" thisCaptionProperty="emId"/>
            </td>
            <td>
              <tops:inputHelperValueSetter name="obj" captionProperty="emName" uuidProperty="id" thisCaptionProperty="emName"/>
            </td>
          </tr>
        </logic:iterate>
      </logic:notEmpty>
      <logic:empty name="objlist">
        <tr>
          <td colspan="3" height="20" align="center">没有数据</td>
        </tr>
      </logic:empty>
    </table>
  </html:form>
  </body>
</html:html>

⌨️ 快捷键说明

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