日期:2014-05-18  浏览次数:20638 次

<html:radio>的初始化问题
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "0 "/> 0
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "1 "/> 1
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "2 "/> 2
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "3 "/> 3
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "4 "/> 4
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "5 "/> 5

请问,当emailSoshinFlag为3时候,让第3个radio的checked为true,其他的不选中,如何做啊,我这样好像不能自动绑定。

------解决方案--------------------
这是个老问题。。。
看看我博客的这篇文章吧。
http://www.blogjava.net/qiyadeng/articles/23776.html