20090916
来源:互联网 发布:邓紫棋 知乎 编辑:程序博客网 时间:2024/06/06 20:20
<%
HttpSession hse = request.getSession();
List<GCT130101InitResultBean1> list = new ArrayList<GCT130101InitResultBean1>();
list = (ArrayList)hse.getAttribute("shokiList");
int size = list.size();
for (int i = 0; i < size; i++) {
%>
<logic:equal value="0" name="ct$GCT130101_InitForm" property="syokiFlag">
<tr>
<td class="">
<html:checkbox property='<%="syokiArray[" + i + "]" %>' disabled="true"></html:checkbox>
</td>
<td class="">
<html:text property='<%="syokiItemArray[" + i + "]" %>' styleClass="width150 input_readonly" readonly="true"></html:text>
</td>
<td class="">
<label class="message_error">
<html:errors property="<%="syokiSuuryouArrayAll["+i+"].syokiSuuryouArray"%>"/>
</label>
<html:text property='<%="syokiSuuryouArray["+i+"]" %>' disabled="true"/>
</td>
<td class="">
<html:text property='<%="syokiGakuArray["+i+"]" %>' styleClass="width150 input_readonly" readonly="true"></html:text>
</td>
</tr>
</logic:equal>
<logic:equal value="1" name="ct$GCT130101_InitForm" property="syokiFlag">
<tr>
<td class="">
<html:checkbox property='<%="syokiArray[" + i + "]" %>'></html:checkbox>
</td>
<td class="">
<html:text property='<%="syokiItemArray[" + i + "]" %>' styleClass="width150 input_readonly" readonly="true"></html:text>
</td>
<td class="">
<label class="message_error">
<html:errors property="<%="syokiSuuryouArrayAll["+i+"].syokiSuuryouArray"%>"/>
</label>
<html:text property='<%="syokiSuuryouArray["+i+"]" %>'/>
</td>
<td class="">
<html:text property='<%="syokiGakuArray["+i+"]" %>' styleClass="width150 input_readonly" readonly="true"></html:text>
</td>
</tr>
</logic:equal>
<%
}
%>
private ArrayList syokiArray = new ArrayList();
public ArrayList getSyokiArrayAll() {
return this.syokiArray;
}
public void setSyokiArrayAll(ArrayList _syokiArrayAll) {
this.syokiArray = _syokiArrayAll;
}
public Object getSyokiArray(int index) {
if (this.syokiArray.size() > index){
return this.syokiArray.get(index);
}
return null;
}
public void setSyokiArray(int index, Object value) {
while (this.syokiArray.size() < index + 1) {
this.syokiArray.add(null);
}
this.syokiArray.set(index, value);
}
- 20090916
- 20090916(怎么做到可测性)
- 今天学习的内容 20090916
- 20090916-Windows Live Mail存储位置不支持中文文件夹
- 【Stones from other hills】MPEG-2传输流分析与视音频同步问题的研究
- Offscan 新版本发布 (V1.1)
- SQL Server 2008 学习笔记【一】 一次性插入多行数据的问题
- 测试策略制定(20090915)
- RPC 远程过程调用协议
- 20090916
- marquee在firefox下,时滚时不滚的解决方法
- PerFieldAnalyzerWrapper 使用
- marquee 详解!
- 链栈和链队的基本操作
- java中的synchronized关键字 用法
- Never say never. Limits like fears are often just an illusion
- 数据库与索引结构
- Jfreechart柱形图详细设置!