c和s标签

<s:if test="#request.iflag=='fj'">
<a title="复检录入" href="javascript:void(0)" style="" onclick="fnjglr('${info.zj}','fj');return false;">复检录入</a>
</s:if>
 
 
<c:if test="${spjdcyModel.rqlx=='2'}">
购进日期
</c:if>
 
 
select的option的回显写法
 
<view:qrytd width="15%" heightshow="true">该产品是否进口代理商:</view:qrytd>
<view:qrytd width="35%">
<select id="ylqxdlrglModel_sfcpjkdls" name="ylqxdlrglModel.sfcpjkdls" value="${ylqxdlrglModel.sfcpjkdls}" style="width:90px" >
<option value="" <c:if test='${ylqxdlrglModel.sfcpjkdls==""}'>selected='selected'</c:if>>请选择</option>
<option value="1" <c:if test='${ylqxdlrglModel.sfcpjkdls=="1"}'>selected='selected'</c:if> >是</option>
<option value="0" <c:if test='${ylqxdlrglModel.sfcpjkdls=="0"}'>selected='selected'</c:if> >否</option>
</select>
posted @ 2019-04-12 22:03  那些年的代码  阅读(241)  评论(0编辑  收藏  举报