Struts2 常用标签

重新开始的网站上用到的struts2的标签,后续还会整理哦,亲~

 

<c:forEach items="${commentList}" var="comment" varStatus="sta"></c:forEach>

 

<a <a href="<c:url value="/bookShow|showBookDetail.action?bookId=${book.id}" />" ></a>

 

<c:set var="order_status_audit" value="<%=com.bookstore.constant.BookStoreCommonConstant.ORDER_STATUS_AUDIT %>"/>

 

<c:choose>

<c:when test="${order.status == order_status_audit}">订单审核中</c:when>

<c:when test="${order.status == order_status_cancel}">交易关闭</c:when>

</c:choose>

 

<c:if test="${fn:length(shoppingcartList) > 0}"></c>

 

 

<select onchange="jQuery.bs.buy.changeOrderStatus(${order.id},this.value)">

<option <c:if test="${order.status == ORDER_STATUS_AUDITus_audit}"> selected</c:if> value="${order_status_audit}">订单审核中</option>

</select>

你可能感兴趣的:(struts2)