`

checkbox选中提交后仍然选中的使用方法

阅读更多

(1) jsp

<logic:iterate id="item" name="SearchSalesJournalForm" scope="request" property="items">
    <html:multibox property="salesMode">
     <bean:write name="item"/>
    </html:multibox> 
    <c:if test="${item == 0}">无确定方式收款<br></c:if>
    <c:if test="${item == 1}">现金</c:if>
    <c:if test="${item == 2}">银行卡</c:if>
    <c:if test="${item == 3}">转账</c:if>
</logic:iterate>

 

<2> from
private Integer[] salesMode;

private String[] items = {"0","1","2","3"};

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics