home
features
quick start
download
documentation
thymol files
configuration
message resources
control parameters
expression objects
thymol types
thymol API
thymol extensions
examples
sessions
say-hello
stsm example
with-dialect
extrathyme
petclinic
news
credits
user forum
issues
browser constraints
other known issues
create new issue
thymeleaf

thymoljs

thAllowNullText

While developing Thymeleaf templates, it's quite easy to unintentionally define expressions that can't be resolved or that resolve to null and when developing with Thymol, it can sometimes be difficult to identify where such problems are occurring.

In the event that Thymol encounters a "th:text" attribute that resolves to null, by default Thymol will proceed regardless. However, if you set the value of the "thAllowNullText" flag to false, Thymol will raise a window alert whenever this happens.