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

搜出来的结果中。选中一条进行操作。代码如下。。进入后台action里面 form里接受的是什么东西
搜索出的结果中
选中一条
就是你以前用的radio
那么进入后台action里面 form里接受的是什么东西
仅仅是="<bean:write name="CategoryList" property="paper_category"/>">
值吗
还是这一组数据
  <FORM name="f1" method="post">
   
  <logic:iterate id="CategoryList" name="list">
  <tr>
  <td>
  <input type="radio" name="radio" value="<bean:write name="CategoryList" property="paper_category"/>"> 
  </td>
  <td>
  <bean:write name="CategoryList" property="paper_category" />
  </td>
  <td>
  <bean:write name="CategoryList" property="paper_category_name" /> 

  </td>
  <td>
  <bean:write name="CategoryList" property="rule" />
  </td>
  <td>
  <bean:write name="CategoryList" property="authors_max" /> 
  </td>



------解决方案--------------------
就那一条
一个文本域就是一条的
注意是文本域
------解决方案--------------------
<bean:write>打印出的值在Html中就是一个文本而已。
在action中获得的是页面提交上来的属性,比如<input type="radio" name="radio"...>
其中radio就是页面form的一个属性.
 你看看查看下你生成的html的代码就知道了.