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

📄 dwr_formbean_list.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>
  <head>
  <html:base/>
  <tops:includeCSS fileName="style"/>
  <tops:includeJs fileName="common"/>
  </head>
  <title>DWR中formbean的配置</title>
  <body>
  <div class="navg">
    <div id="navg2" class="mainNavg">
      <ul>
        <li id="navg1_show"><a href="<%=request.getContextPath()%>/actTopsJ2eeDwrClass.do?method=init">DWR中类的配置</a></li>
        <li id="navg2_show"><a href="#">DWR中formbean的配置</a></li>
      </ul>
    </div>
    <div id="bodyContent" class="secondaryNavg">
      <html:form action="/actTopsJ2eeDwrFormbean" 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文件中的formbean吗 ?" 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">formbean的名称</td>
            <td width="50%" nowrap class="title">formBean的类型</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="actTopsJ2eeDwrFormbean" showcaptionalways="true" captionbeanproperty="page-obj-formbeanName" caption="查看公开对象" method="modify" argname1="id" argbeanproperty1="page-obj-id"/>
                </td>
                <td>
                  <bean:write name="obj" property="formbeanTypeClass"/>
                </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="fieldList">
                      <tr align="left">
                        <td height="20">
                        <%int i=0; %>
                          <logic:iterate id="field" name="obj" property="fieldList">
                          <%if(i%2==1){%>
                           <font color="#4400f0"><bean:write name="field" property="formbeanAttribute"/>,</font>
                            <%}else
                            {%>
                            <font color="#002277"><bean:write name="field" property="formbeanAttribute"/>,</font>
                          <%}
                              i++;
                             if(i%8==0){
                             %><br />
                             <%} %>
                          </logic:iterate>
                        </td>
                      </tr>
                    </logic:notEmpty>
                  </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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -