LabelValueBean
来源:互联网 发布:mac口红滋润系列 编辑:程序博客网 时间:2024/04/29 08:38
private List getSports()
{
List sports = new ArrayList();
sports.add(new LabelValueBean("Tennis", "Tennis"));
sports.add(new LabelValueBean("Hockey", "Hockey"));
sports.add(new LabelValueBean("Football", "Football"));
sports.add(new LabelValueBean("Baseball", "Baseball"));
sports.add(new LabelValueBean("Soccer", "Soccer"));
return sports;
}
<html:select property="favSport">
<html:option value="">Please choose</html:option>
<html:options collection="sports" property="value" labelProperty="label"/>
</html:select>
- LabelValueBean
- LabelValueBean
- LabelValueBean的用法
- LabelValueBean的使用
- LabelValueBean的使用
- <html:optionsCollection />标签与LabelValueBean使用方法
- 一些共通的方法(LabelValueBean,String[],ゼロ---左补0)
- 实现下拉内容从数据库中动态读取--->Struts标签:和LabelValueBean的使用
- 读王垠的《完全用Linux工作》
- linux crontab命令 定时重启apache和mysql 相当实用
- 今天开通博客 这是第一篇文章
- USB开发基础:USB命令(请求)和USB描述符
- C# 打印小票 POS
- LabelValueBean
- C++虚函数和纯虚函数区别
- iPhone4 FaceTime 联通官方教程
- 红黑树/缓存
- 让IE6也有最小高度min-height的效果
- Spring中使用Parent和Abstract简化多数据源的配置
- 重温MFC.
- 在网页加代码强制IE8使用兼容性视图解决网页显示不正确的办法
- 浅谈Linux PCI设备驱动(二)