児噐HIBERNATE議強蓑双燕
扮寂:2011-04-19 BlogJava Jarvis
旋喘HIBERNAGTE勣糞?泌和孔嬬:
匆祥頁壓和圭僉夲勣?塀議?朕,夸壓貧圭双燕?塀.
醤悶糞?:
Struts2糞?:
<table width="100%" cellspacing="1" class="l_table">
<tr class="l_title">
<s:iterator value="showItems">
<td>
<s:property value="value" />
</td>
</s:iterator>
</tr>
<s:iterator value="pager.result" status="st" id="list">
<tr class="l_tr">
<s:iterator value="list" status="st1">
<td>
<s:if test="#st1.count==1">
<input type="checkbox" vlaue="<s:property value="#list[0]" />" />
</s:if>
<s:elseif test="#st1.count==2">
<a href="#"
onclick="openWindow (''customer.action?cusId=<s:property value="#list[0]" />'',800,600,''cusW<s:property value="#list[0]" />'') "><s:property />
</a>
</s:elseif>
<s:else>
<s:property />
</s:else>
</td>
</s:iterator>
</tr>
</s:iterator>
</table>
<table width="100%" algin="center" id="selectT">
<tr>
<td align="center">
<b>?幣?朕</b>
</td>
</tr>
<tr>
<td>
<s:iterator value="selectItems">
<s:property value="value" />
<input type="checkbox" value="<s:property value="key" />" />
</s:iterator>
</td>
</tr>
<tr>
<td align="center">
<input type="button" id="btn_refresh" value="厚 仟" />
</td>
</tr>
</table>
public String execute() throws Exception {
|