Subversion Repositories SmartDukaan

Rev

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

Rev 22103 Rev 22108
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");
46
		bean.setRequestContextAttribute("rc");
48
		bean.setAttributes(props);
-
 
49
		return bean;
47
		return bean;
50
	}
48
	}
51
 
49
 
52
	@Bean
50
	@Bean
53
	public VelocityConfigurer velocityConfig() {
51
	public VelocityConfigurer velocityConfig() {