dwr_class_list.jsp

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

JSP
93
字号
<%@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"/>
  </head>
  <title>DWR中类的配置</title>
  <body>
  <div class="navg">
    <div id="navg1" class="mainNavg">
      <ul>
        <li id="navg1_show"><a href="#">DWR中类的配置</a></li>
        <li id="navg2_show"><a href="<%=request.getContextPath()%>/actTopsJ2eeDwrFormbean.do?method=init">DWR中formbean的配置</a></li>
      </ul>
    </div>
    <div id="bodyContent" class="secondaryNavg">
      <html:form action="/actTopsJ2eeDwrClass" method="get">
        <input type="hidden" name="method"/>
        <tops:toolbar>
          <tops:toolbutton caption="新增 " method="add" image="page_add" checkAtClient="false "/>
          <tops:toolbutton caption="删除 " method="delete" image="delete" confirm="确定删除这些DWR文件中的类吗 ?" checkAtClient="false"/>
          <tops:toolbutton caption="查询" method="search" image="application_form_magnify" checkAtClient="false"/>
        </tops:toolbar>
        <table cellpadding="0" cellspacing="1" border="0" width="100%" id="PowerTable">
          <tr align="center">
            <td height="20" width="5%" nowrap class="title">
              <tops:selectAllCheckBox/>
            </td>
            <td width="5%" nowrap class="title">序号</td>
            <td width="35%" nowrap class="title">类名</td>
            <td width="50%" 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:selectCheckBox/>
                </td>
                <td>
                  <tops:tableOrd/>
                </td>
                <td>
                  <tops:link action="actTopsJ2eeDwrClass" showcaptionalways="true" captionbeanproperty="page-obj-ajaxClassName" caption="查看公开类" method="modify" argname1="id" argbeanproperty1="page-obj-id"/>
                </td>
                <td>
                  <bean:write name="obj" property="ajaxClassType"/>
                </td>
                <td>
                  <img src="<%=request.getContextPath()%>/_normal/toolbar_pic/unwrap.gif" alt="展开详细列表" onClick="showDetail(this,'<%=request.getContextPath()%>')" style="cursor:hand">
                </td>
              </tr>
              <tr align="center" style="display:none">
            <td colspan="9">
              <table cellpadding="0" cellspacing="0" border="0" width="95%">
                <logic:notEmpty name="obj" property="methodList">
                  <logic:iterate id="method" name="obj" property="methodList">
                    <tr align="left">
                      <td height="20">
                        <img alt="" src="<%=request.getContextPath()%>/_normal/toolbar_pic/bullet_feed.gif"/>
                        <bean:write name="method" property="ajaxClassMethod"/>
                      </td>
                    </tr>
                  </logic:iterate>
                </logic:notEmpty>
                <logic:empty name="obj" property="methodList">
                  <tr>
                    <td height="20" align="center">没有方法</td>
                  </tr>
                </logic:empty>
              </table>
            </td>
          </tr>
            </logic:iterate>
          </logic:notEmpty>
          <logic:empty name="objlist">
            <tr>
              <td colspan="4" height="20" align="center">没有数据</td>
            </tr>
          </logic:empty>
        </table>
      </html:form>
    </div>
  </div>
   <div id="footer"></div>
  </body>
</html:html>

⌨️ 快捷键说明

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