@RequestMapping("/getCodeList")
public void getCodeList(HttpServletResponse resp){
ResUtil.resp(resp,JSON.toJSON(bizGuideMapper.getCodeList()).toString().toLowerCase());
}
@Select("select id,NAME as text from BIZ_DOWNLOAD" )
@ResultType(value=HashMap.class)
public List<Map<String, String>> getCodeList();
<table class="grid">
<tr>
<td> 资料下载: </td>
<td>
<input id="downloadDoc" name="downloadDoc" value="${bizGuide.downloadDoc}" style="width:435px" class="easyui-combobox"
data-options="required:false,multiple:true,panelHeight:120,
editable:false,textField:'text',valueField:'id',
url:'${ctx}/bizGuideCtrl/getCodeList.do'" />
</td>
</tr>
</table>
easyui 下拉框 清空下拉值的按钮
$.fn.combobox.defaults.icons=[{
iconCls:'icon-clear',
handler:function(e){
//alert($(e.handleObj.data.target).combobox('getValue'));
$(e.handleObj.data.target).combobox('clear');
}
}];