【问题标题】:Dandelion Datatable + Thymeleaf + Pagination Issue蒲公英数据表 + Thymeleaf + 分页问题
【发布时间】:2013-08-08 17:41:04
【问题描述】:

我正在尝试将蒲公英数据表分页与 thymeleaf 一起使用。我正在关注 这篇link 文章。我使用的是 0.2.14 版本。当我尝试使用

dt:paginationtype="four_button" 它抛出以下异常。

它给了我以下错误

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" 

【问题讨论】:

    标签: datatables thymeleaf dandelion


    【解决方案1】:

    请尝试将“four_button”用单引号括起来,如下所示:

    dt:paginationtype="'four_button'"
    

    请注意,在即将发布的 v0.9.0 中,不再需要单引号。

    【讨论】:

    猜你喜欢
    • 2016-09-08
    • 2017-10-30
    • 2014-07-22
    • 1970-01-01
    • 2017-06-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多