网站制作

本类阅读TOP10

·IIS 安装配置全攻略
·用VS.NET打开网上下载的.NET web项目出错的解决办法
·HTML 4.0 语言快速参考
·限制TextArea区的文字输入数量
·如何在网页上实现进度条
·Apache的配置步骤及测试
·谈谈Jesse James Garrett提到的Ajax
·html基础学习笔记(2)
·页面垂直居中的两种方法
·用asp遍历目录下文件的例子

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
关于与

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站


此种状态复选框全为不选:

<table border="1" width="100%"  >
         <tr>
          <td width = "200"></td>
            <td width="100%"><div align="center">
                <logic:iterate id="loop" name="arrays">
                    <div align="center">
                       <html:multibox  property="arrays">
                        <bean:write name="loop" property="mat_id"/>    
                       </html:multibox>
                      <bean:write name="loop" property="mat_name"/>
                  </div>
              </logic:iterate>
              </div>
            </td>
        </tr>
       </table>


 

此种情况复选框全为选中

<table border="1" width="100%"  >
         <tr>
          <td width = "200"></td>
            <td width="100%"><div align="center">
                <logic:iterate id="loop" name="arrays">
                    <div align="center">
                       <html:multibox name="loop" property="mat_id">
                        <bean:write name="loop" property="mat_id"/>    
                       </html:multibox>
                      <bean:write name="loop" property="mat_name"/>
                  </div>
              </logic:iterate>
              </div>
            </td>
        </tr>
       </table>

其中,<html:multibox >的property属性可取form中的属性。

 




相关文章

相关软件