Question

I am trying to use dandelion datatable paging with thymeleaf. I am following this link article. I am using 0.2.14 version. When I try to use

dt:paginationtype="four_button" it throws following exception.

It gives me following error

2013-08-07 16:26:59,655 ERROR [org.thymeleaf.TemplateEngine] - <[THYMELEAF][http-bio-8080-exec-9] Exception processing template "department/departmentList": 
Could not parse as expression: "four_button" 
Était-ce utile?

La solution

Please try wrapping "four_button" with single quotes as follows:

dt:paginationtype="'four_button'"

Note that in the upcoming v0.9.0, the single quotes won't be necessary any longer.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top