thymeleaf / thymeleaf-testing

Thymeleaf testing infrastructure
Apache License 2.0
77 stars 26 forks source link

IProcessingContextBuilder and Spring's applicationContext #1

Closed tduchateau closed 11 years ago

tduchateau commented 11 years ago

Hey!

It appears that the method setApplicationContextConfigLocation(String string) of the IProcessingContextBuilder interface doesn't exist.

So, impossible to write something like:

final IProcessingContextBuilder springPCBuilder = new SpringWebProcessingContextBuilder();
springPCBuilder.setApplicationContextConfigLocation("classpath:springConfig/spring.xml");

Am I missing something?

Regards, Thibault

danielfernandez commented 11 years ago

Oops, that was a documentation bug. It should read:

final SpringWebProcessingContextBuilder springPCBuilder = new SpringWebProcessingContextBuilder();
springPCBuilder.setApplicationContextConfigLocation("classpath:springConfig/spring.xml");

Fixed, thanks!