Daniel Fernández

Results 75 comments of Daniel Fernández

You are right. This cache mechanism used LRU by means of a `LinkedList` in previous versions of Thymeleaf, but was modified to use a simple FIFO based on a `ConcurrentHashMap`...

No, I'm afraid there is no way to automatically add a set of attributes from a map like you describe. I'm going to leave this open though as a suggestion...

In the future, this would allow the definition of _expression functions_, expressions that could be referenced with a sort of method names, and then used several times along a template,...

Linked to https://github.com/thymeleaf/thymeleaf/issues/163

This is heavily related to the DOM model, so it should better be rescheduled for 3.0.

After evaluation, this will be left out of Thymeleaf 3.0, and just put on the wish list for future versions. There are a good number of problems for the implementation...

I'm queueing this for Thymeleaf 3.1, which will have a Java 8 baseline.

I'm unable to reproduce this, your code works OK for me using `TEXT` template mode in a non-Spring application. And actually, I'm a bit confused… are you using non-Spring-enabled Thymeleaf...

With the current Thymeleaf 3.0 APIs, an implementation of `ITemplateResolver` could be created that resolved a different template for each locale by means of specifying such locale in the `templateResolutionAttributes`...

@ivan-gammel that would not be possible, as the context can contain *any* type of objects… and that means not only objects that could be *not serializable* (which wouldn't be very...