- 博客(5)
- 问答 (1)
- 收藏
- 关注
原创 select2 清空数据
select2.js 没有清空数据的API,下面的方法可以间接的提供该功能。$('#memberKey').select2('data', null);
2014-12-17 11:45:26 1021
原创 Spring JUnit 的单测中如何获取当前spring的ApplicationContext上下文
我在写单测的时候(spring环境下的单元测试)想获得当前spring的ApplicationContext上下文。我是这样实现的:import org.junit.Assert;import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.beans.BeansException...
2014-12-11 14:48:33 2896
原创 Spring使用@Autowired不能注入BlockingQueue的问题
今天遇到一个问题,使用spring4配置BlockingQueue,在Java代码里面使用@Autowired注释方式注入该BlockingQueue,一直报错。我的代码如下: @Autowired private BlockingQueue<CoreTask> alarmInnerQueue; 我的XML如下:<bean id="a...
2014-12-09 14:25:53 681
原创 Spring如何注入Date类型的变量
地址: http://k2java.blogspot.com/2011/04/spring-how-to-pass-date-into-bean.html Thursday, April 14, 2011Spring – How to pass a Date into bean property (CustomDateEditor )Simple method may n...
2014-12-09 13:59:35 733
原创 Netty4 httpserver
/** * <pre> * AjaxResult.java * @author kanpiaoxue<br> * @version 1.0 * Create Time 2014年12月4日 下午6:01:05<br> * Description : ajax请求结果 * </pre> */public class...
2014-12-04 19:12:26 121
空空如也
问题:单击grid的某一行,如何改变该行的背景颜色?
2009-03-31
TA创建的收藏夹 TA关注的收藏夹
TA关注的人