scalate/scalate — pull request #22 by joelhegg (2012-07-18 21:03:51+00:00)
Title: Have ScalateView properly register its ServletRenderContext objects

This is a fix for the "This threads RenderContext is not a ServletRenderContext as it is: null" problem mentioned here when using Scalate with Spring MVC: https://groups.google.com/d/msg/scalate/3QqrFeQjf5U/A56HDajo3aoJ

This fix registers the ServletRenderContext objects created in ScalateView so they can be accessed later according to http://scalate.fusesource.org/documentation/user-guide.html#accessing_request_state_inside_a_scala_function