How to throw an exception when missing variable in context!

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to throw an exception when missing variable in context!

vinegre
How to throw an exception when missing variable in context! (there is nothing to bind the variable from the template)

in velocity there is such an option:
http://velocity.apache.org/engine/1.7/developer-guide.html#strict-reference-setting


I want to migrate with velocity to thymeleaf !
Reply | Threaded
Open this post in threaded view
|

Re: How to throw an exception when missing variable in context!

Metroids
As far as I know, this is not possible in Thymeleaf.