freemarker关于select回显

来源:互联网 发布:可惜不是你网络短剧 编辑:程序博客网 时间:2024/06/12 00:42
<select name="solrIndex" editable="false" panelHeight="auto" class="easyui-combobox" ><#list allSolrIndexs.keySet() as key>    <#if "${product.solrIndex==key}" >        <option value="${key}" selected="selected">${allSolrIndexs.get(key)}</option>        <#else >            <option value="${key}">${allSolrIndexs.get(key)}</option>    </#if></#list></select>
原创粉丝点击