jsp代码: <nested:notEmpty property="selectPrjassCol" name="PrjAssActionForm">
<%iRowCount=0;%>
<nested:iterate id="prjassCol" property="selectPrjassCol" indexId="index" type="com.spsoft.project.web.actions.subAccManage.prjPayOut.CommonUseVO" >
<%iRowCount++;%>
<tr id="tr_PlusAttr|<%=iRowCount%>" align="left" class="fieldLabelNeeded" onClick="PlusAttr_OnClick(this);"> <nested:equal value="Y" name="prjassCol" property="subItemMandaTory">
* <nested:write property="prjassColName" name="prjassCol" ></nested:write>
</nested:equal>
<nested:notEqual value="Y" name="prjassCol" property="subItemMandaTory">
<nested:write property="prjassColName" name="prjassCol" ></nested:write>
</nested:notEqual> </td>
<td>
<nested:text property="prjassColValue" styleClass="textinput" style="width:0px;"></nested:text> <input name="plusattr_label" type="text" value="<%=prjassCol.getPlusattr_value()%>" class="textinput" style="width:200px;">
<input name="plusattr_value" type="text" value="<%=prjassCol.getPlusattr_value()%>" class="textinput" style="width:0px;">
<select name="plusattr_YN" style="width:60px;">
<option value="Y" <%if(prjassCol.getCommonValue()!=null && prjassCol.getCommonValue().equals("Y"))out.print("selected");%>>是</option>
<option value="N" <%if(prjassCol.getCommonValue()!=null && prjassCol.getCommonValue().equals("N"))out.print("selected");%>>否</option>
</select>
<select name="plusattr_SPBZ" style="width:60px;">
<option value="01">输电</option>
<option value="02">配电</option>
<option value="03">公用</option>
<option value="04">营销</option>
</select>
<input name="plusattr_btn" type="button" property="button" class="blueButtonCss" value="…" style= "width:20px; margin-right:0px;" >
<input name="plusattr_btnDate" type="button" property="button" class="blueButtonCss" value="…" style= "width:20px; margin-right:0px;" >
</td>
</tr>
</nested:iterate>
</nested:notEmpty>
<%iRowCount=0;%>
<nested:iterate id="prjassCol" property="selectPrjassCol" indexId="index" type="com.spsoft.project.web.actions.subAccManage.prjPayOut.CommonUseVO" >
<%iRowCount++;%>
<tr id="tr_PlusAttr|<%=iRowCount%>" align="left" class="fieldLabelNeeded" onClick="PlusAttr_OnClick(this);"> <nested:equal value="Y" name="prjassCol" property="subItemMandaTory">
* <nested:write property="prjassColName" name="prjassCol" ></nested:write>
</nested:equal>
<nested:notEqual value="Y" name="prjassCol" property="subItemMandaTory">
<nested:write property="prjassColName" name="prjassCol" ></nested:write>
</nested:notEqual> </td>
<td>
<nested:text property="prjassColValue" styleClass="textinput" style="width:0px;"></nested:text> <input name="plusattr_label" type="text" value="<%=prjassCol.getPlusattr_value()%>" class="textinput" style="width:200px;">
<input name="plusattr_value" type="text" value="<%=prjassCol.getPlusattr_value()%>" class="textinput" style="width:0px;">
<select name="plusattr_YN" style="width:60px;">
<option value="Y" <%if(prjassCol.getCommonValue()!=null && prjassCol.getCommonValue().equals("Y"))out.print("selected");%>>是</option>
<option value="N" <%if(prjassCol.getCommonValue()!=null && prjassCol.getCommonValue().equals("N"))out.print("selected");%>>否</option>
</select>
<select name="plusattr_SPBZ" style="width:60px;">
<option value="01">输电</option>
<option value="02">配电</option>
<option value="03">公用</option>
<option value="04">营销</option>
</select>
<input name="plusattr_btn" type="button" property="button" class="blueButtonCss" value="…" style= "width:20px; margin-right:0px;" >
<input name="plusattr_btnDate" type="button" property="button" class="blueButtonCss" value="…" style= "width:20px; margin-right:0px;" >
</td>
</tr>
</nested:iterate>
</nested:notEmpty>
解决方案 »
- java关于class文件加密问题!
- 工作流、权限系统、报表系统哪个更重要
- 请教高手:关于ejb的一个奇怪的问题
- 【讨论】关于xfire开发webservice
- jboss发布WEB服务传递对象数组错误 50分
- [求助]下了个hibernate的源码,找不到org.hibernate.hql.antlr这个包
- 为什么引入java.net.*类后能消除JSP页面的乱码?
- 我的tomcat安装了,网站用的是sql sever数据库,应该怎么连接?
- 用AXIS怎样实现非同步的Webservice(送100分)
- eclipse如何设置?或者麻烦各位给我一个下载后就能用的连接。
- 换装myeclipse5.5后的问题
- struts+spring+hibernate中DAO类中如何自己写删除函数?
为其中的内容分配内存。
在外面包括action里再构造子对象,并对其赋值是没有用的,否则jsp显示可以,一提交就挂。但这样一来,list就失去了动态属性。不知道有没有什么更好的办法。具体原因没有研究,可能要去扒struts代码了。