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

expression objects

expression basic objects

Thymol 2.0 supports all of the Thymeleaf standard dialect Expression Basic Objects, including implementations of all the base objects, web context namespaces for request/session attributes and the web context objects #httpServletRequest and #httpSession.

base objects

These are #ctx, the top of the Thymol context hierarchy and the major sub-divisions of it's content.

web context namespaces

These are quick and easy ways to access web context variables.

web context objects

These provide equivalents to the familiar JEE web context objects.

The methods available in each of these objects are limited to those that have meaning in a web client JavaScript environment.

expression utility objects

All Thymeleaf standard dialect Expression Utility Objects are supported by Thymol 2.0. There are implementations equivalent to most methods of each Expression Utility Object, but support for locale related functionality is extremely limited.

In creating a JavaScript emulation of a Java framework, it has been necessary to make some compromises with the use of data types associated with the Expression Utility Objects, these are summarised here.

utilities

For more information take a look at the official Thymeleaf documentation.