coupang/spring-jade4j — pull request #1 by kwon37xi (2014-02-08 12:54:51+00:00)
Title: Add SpringHelper with message source access feature.

I made `SpringHelper` for spring-jade4j.
This version only has message(Message Source) related methods. I'm going to add bind and form related methods soon.

If you set `viewResolver.setExposeSpringMacroHelpers(true)`, `SpringHelper` will injected to model object automatically as 'spring'. And when you have `messageSource` bean, you can use SpringHelper like the following.

```
p Message from message source : #{spring.message('test.message')}!
p= spring.messageWithArgs('test.format', 'format argment 1', formatArgumentFromModel)
p Default Text test #{spring.messageText('unknown.code', 'Default text can be here.')}
```

```
JadeViewResolver viewResolver = new JadeViewResolver();
viewResolver.setExposeSpringMacroHelpers(true);

viewResolver.setExposeRequestAttributes(true);
viewResolver.setExposeSessionAttributes(true);
//...
```