Added bean validation support.

+ more view template enhancements.