select下拉框多选 和回显

 

<select multiple="true" name="cogCondition" style="width:100%;">
                                <c:forEach var="mate" items="${fns:getDictList('rdqk')}">
                                    <option <c:if test="${fn:contains(projectRecommend.cogCondition,mate.value ) }">selected="selected"</c:if>  name="cogCondition" value="${mate.value }"/>${mate.label}
                                </c:forEach>
  </select>

 

posted on 2015-11-27 17:46  飞鱼xuy  阅读(7256)  评论(2编辑  收藏  举报