一:when標籤
<tdstyle="width:150px">
<span>
<c:choose>
<c:whentest="${model.type==1}">
商業投訴
</c:when>
<c:whentest="${model.type==7}">
通信投訴
</c:when>
</c:choose>
</span>
</td>
二:select
function statuschange()
{
$("#pervalue").val('');
}
<tdclass="l-table-edit-td">
<selectname="permode" id="permode" ltype="select"onchange="javascript:statuschange();">
<optionvalue="0"<c:iftest="${busiCompanyGood.permode==0}">selected</c:if>>百分比</option>
<optionvalue="1"<c:iftest="${busiCompanyGood.permode==1}">selected</c:if>>每單固定費用(成交)</option>
<optionvalue="2"<c:iftest="${busiCompanyGood.permode==2}">selected</c:if>>每月總包費用</option>
<optionvalue="3"<c:iftest="${busiCompanyGood.permode==3}">selected</c:if>>每單固定費用(分配)</option>
</select>
</td>
三:<if></if>
<div>
<span>訂單號:${orderno}</span>
<spanstyle="margin-left:200px">四聯單號:${billno}</span>
<spanstyle="margin-left:200px">狀態:<s:if test="status==0">待處理</s:if>
<s:iftest="status==1">已分配</s:if><s:if test="status==2">處理中</s:if>
<s:iftest="status==3">未成交</s:if><s:if test="status==4">成交</s:if>
<s:iftest="status==5">關閉</s:if><s:if test="status==6">修改關閉</s:if>
<s:iftest="status==10">待解決</s:if><s:if test="status==11">已處理</s:if> </span>
</div>
四:iterator
<divid=u7class="u7">
<s:iteratorvalue='sysOperateRecordList'id='operatelist'>
<s:iftest="#operatelist.actionid==104 ">
<div style="font-size:10px; font-weight:normal; font-style:normal; color:#333333;">
<div>
<s:propertyvalue='#operatelist.action'/>
</div>
<div>
<span><s:datename='#operatelist.operatetime'format="yyyy-MM-dd HH:mm:ss"/></span>
</div>
</div>
<div
style="font-size:10px; font-weight:normal; font-style:normal; color:#333333;">
受理商家: <span>${company.companyname }</span>
</div>
</s:if>
</s:iterator>
</div>
五:默認選擇上一次選中的checkbox。
<tr>
<tdclass="l-table-edit-td"valign="top">首頁顯示</td>
<td class="l-table-edit-td"style="width:160px">
<inputid="rbtnl_0"type="radio"name="isnotice"value="1" <c:iftest="${isnotice==1}">checked</c:if>/><label for="rbtnl_0">是</label>
<inputid="rbtnl_1"type="radio"name="isnotice"value="0" <c:if test="${isnotice==0||isnotice==''}">checked</c:if>/><labelfor="rbtnl_1">否</label>
</td>
<tdclass="l-table-edit-td"style="width:160px"></td>
<tdalign="left"></td>
</tr>