解决struts标签不能嵌套问题

来源:互联网 发布:英国那些事儿 知乎 编辑:程序博客网 时间:2024/04/29 17:14

解决struts标签不能嵌套问题   

struts标签不能嵌套
如:
          <html:radio property="originSourceId" styleClass="listcheckboxtrheight"
           value="<bean:write property="bugId" name="bugRecordVO"/>">
          </html:radio>

解决办法:

<logic:present name="lstBug">
   <nested:iterate id="bugRecordVO" name="lstBug" scope="request">
 <tr class="whitetd">
  <!-- checkbox-->
     <td align="center">
      <bean:define id="tmpBugId" name="bugRecordVO" property="bugId" type="java.lang.Long"/>
          <html:radio property="originSourceId" styleClass="listcheckboxtrheight"
           value="<%=Long.toString(tmpBugId) %>">
          </html:radio>
  </td>

…… 

原创粉丝点击