thymeleaf-extras-conditionalcomments and thymeleaf3

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

thymeleaf-extras-conditionalcomments and thymeleaf3

witchedwiz
Hi all,
I can't for the life of me, get the thymeleaf-extras-conditionalcomments additional dialect to work with thymeleaf 3..
Am I missing something or actually they are not supposed to work together?
I get an error for a missing init constructor, and via a quick check I noticed that AbstractDialect changed from a public abstract class to a public class and I've noticed in the javadoc that it says that this class (and other class in the inheritance//extention chain) have changed since thymeleaf 3.0...
Anyone can shed some light here?
I was looking for migrating from thymleaf 2.0 to 3.0 as I was migrating the whole set of other libraries, but if there's this problem with using this one (that i need) with thymeleaf core 3.0, I'll have to go to the last 2.X final..

Thanks in advance!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: thymeleaf-extras-conditionalcomments and thymeleaf3

witchedwiz
mm
I've found a nice topic here
[url]https://github.com/thymeleaf/thymeleaf-extras-conditionalcomments/issues/5[/url]

according to Daniel Fernandez
"What you point to is not a dialect, it is a processor included in the Standard Dialect since v3.

Processing of IE conditional comments is made by the Thymeleaf core (specifically, the Standard Dialect) since v3. An additional dialect is no longer needed."
so i might be able to remove the dialect for the conditional comments...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: thymeleaf-extras-conditionalcomments and thymeleaf3

Metroids
That's correct.  It's part of thymeleaf now.
Loading...