<td><ui:checkboxlist name="phase_email_handler.phase_email_papers"
listKey="id" listValue="name" list="papers"
template="paper_checkboxlist.vm"
value="phase_email_handler.phase_email_papers" />
</td>
phase_email_handler.phase_email_papers的值是:
[com.xxxx.xxxx.model.Phase_email_paper@5ef727[ magId=3 name=AAAAAA phase_email_id=1 id=1 ], com.xxxx.xxxx.model.Phase_email_paper@b45a0d[ magId=3 name=BBBBBB phase_email_id=1 id=2 ]]
papers的值是:
[com.xxxx.xxxx.model.ManuscriptPaper@3f95ba[ name=AAAAAA templateName=system_AAAAAA_CN.html templateEName=system_AAAAAA_EN.html subjectName=htwwww subjectEName=tttttAAABBBaaaassCCCCCCCCCdssdddd magId=3 cn_Content=....,
com.xxxx.xxxx.model.ManuscriptPaper@7ef1bf[ name=BBBBBB templateName=system_BBBBBB_CN.html templateEName=system_BBBBBB_EN.html subjectName= subjectEName= magId=3 cn_Content=....,
com.xxxx.xxxx.model.ManuscriptPaper@7ef1bf[ name=CCCCCC templateName=system_CCCCCC_CN.html templateEName=system_CCCCCC_EN.html subjectName= subjectEName= magId=3 cn_Content=....]
按说应该前两个checkbox应该是checked呀,但结果前两个复选框都没有选中。
分享到:
相关推荐
遍历CheckBoxList,获得选中项的值动态绑定CheckBoxList, 遍历CheckBoxList,获得选中项的值动态绑定CheckBoxList。
ASP.NET 中Checkboxlist添加到数据库代码案例
找了一些关于checkboxList控件的常用用法 添加项,选择项,删除项的等17种常用的方法。 希望对大家有用
下拉checkboxList实现多选效果
CheckBoxList的操作
( CheckBoxList详细用法.doc )
可以设置checkboxlist为单选,
CheckBoxList操作方法集合,包括:获取选中项、全选、取消、反选
CheckBoxList的用法,绑定“多选项”,并在保存时获取被选中项的代码
(原创)struts标签之checkboxlist选中值并换行处理
代码中简单易懂的获取所选中的CheckBox的值
在Android中动态获取recyclerView中checkBox的值,然后在activity或者fragment获取check的值。
CheckBoxList 遍历 免费下载
获取GridView中Checkbox的值
对控件的扩展让大家可以更好的使用数据,调用中用说明的
获取checkboxlist选中的value和text.
public string GetChecked(CheckBoxList checkList, string separator) { string str = ; for (int i = 0; i < checkList.Items.Count; i++) { if (checkList.Items[i].Selected) { str += checkList.Items[i]....
其中实现了 CheckBoxList 和 RadioButtonList 的功能,原来用 ListBox 加 Style 实现,但无法实现多列及全选、全不选的功能,后来采用 UserControl 实现,可以实现所有的这些功能
巧用struts标签之checkboxlist选中默认值换行处理
Silverlight CheckBoxList 开发环境环境VS2013