Subversion Repositories SmartDukaan

Rev

Rev 21625 | Rev 22108 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21625 Rev 22103
Line 41... Line 41...
41
	{
41
	{
42
		VelocityLayoutViewResolver bean = new VelocityLayoutViewResolver();
42
		VelocityLayoutViewResolver bean = new VelocityLayoutViewResolver();
43
		bean.setCache(false);
43
		bean.setCache(false);
44
		bean.setPrefix("");
44
		bean.setPrefix("");
45
		bean.setSuffix(VELOCITY_PATH_SUFFIX);
45
		bean.setSuffix(VELOCITY_PATH_SUFFIX);
-
 
46
		Properties props = new Properties();
-
 
47
		props.setProperty("requestContextAttribute", "rc");
-
 
48
		bean.setAttributes(props);
46
		return bean;
49
		return bean;
47
	}
50
	}
48
 
51
 
49
	@Bean
52
	@Bean
50
	public VelocityConfigurer velocityConfig() {
53
	public VelocityConfigurer velocityConfig() {