找回密码
 入学

QQ登录

只需一步,快速开始

查看: 1777|回复: 1

用Struct实现下拉列表框和复选框

[复制链接]
发表于 2006-3-13 23:45:40 | 显示全部楼层 |阅读模式
< ><FONT face="Times New Roman"> 1</FONT>、封装所有下拉框中的内容到集合中。</P>
< ><FONT face="Times New Roman">       2</FONT>、封装所有用户的信息,因为用户信息中包含下拉框中的内容。</P>
< ><FONT face="Times New Roman"> <o:p></o:p></FONT></P>
< >添加时用:</P>
< ><FONT face="Times New Roman">&lt;tr&gt;</FONT></P>
< ><FONT face="Times New Roman">    &lt;td height="8" class="tr_col01" colspan="2"&gt;</FONT></P>
< ><FONT face="Times New Roman">      &lt;div align="center"&gt;</FONT>现从事何种工作<FONT face="Times New Roman">&lt;/div&gt;</FONT></P>
< ><FONT face="Times New Roman">    &lt;/td&gt;</FONT></P>
< ><FONT face="Times New Roman">    &lt;td height="8" class="tr_col02" colspan="4"&gt;</FONT></P>
< ><FONT face="Times New Roman">         &lt;select name="jishugongzuo" size="1" class="shuru"&gt;</FONT></P>
<P ><FONT face="Times New Roman">               &lt;logic:notEmpty name="fencemuluList" scope="request"&gt;&gt;</FONT></P>
<P ><FONT face="Times New Roman">            &lt;logic:iterate name='fencemuluList' id='fencemuluList' scope='request'&gt;</FONT></P>
<P ><FONT face="Times New Roman">                &lt;option value=&lt;bean:write name="fencemuluList" property="id"/&gt;&gt;</FONT></P>
<P ><FONT face="Times New Roman">                &lt;bean:write name="fencemuluList" property="zyname"/&gt;&lt;/option&gt;</FONT></P>
<P ><FONT face="Times New Roman">            &lt;/logic:iterate&gt;</FONT></P>
<P ><FONT face="Times New Roman">              &lt;/logic:notEmpty&gt;</FONT></P>
<P ><FONT face="Times New Roman">        &lt;/select&gt;</FONT></P>
<P ><FONT face="Times New Roman">    &lt;/td&gt;</FONT></P>
<P ><FONT face="Times New Roman">  &lt;/tr&gt;</FONT></P>
<P ><FONT face="Times New Roman"> <o:p></o:p></FONT></P>
<P >修改时用:</P>
<P ><FONT face="Times New Roman">       &lt;html:select property="formbeanProperty_ID"&gt;</FONT></P>
<P ><FONT face="Times New Roman">           &lt;htmlptions collection="BEAN_LIST" property="BEAN_LIST_ID" labelProperty=" BEAN_LIST _Name"/&gt; </FONT></P>
<P ><FONT face="Times New Roman">       &lt;/html:select&gt;</FONT></P>
发表于 2009-4-10 09:28:27 | 显示全部楼层

楼主你太有才了......

楼主你太有才了......
















古之立大事者,不惟有超世之才,亦必有坚忍不拔之志。---魔兽剑圣异界纵横
小游戏 极品家丁 龙蛇演义 恶魔法则 飞升之后 异界枪神 凡人修仙传 魔兽领主 超级农民 成人小游戏 极品公子
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 入学

本版积分规则

QQ|Archiver|手机版|小黑屋|校园天空成立于2004年2月24日 ( 陕ICP备08000078号-8 )

GMT+8, 2025-5-11 10:45 , Processed in 0.098617 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表