【问题标题】:grails 3 webflow not workinggrails 3 webflow不工作
【发布时间】:2017-06-19 22:34:07
【问题描述】:

grails 的长期用户,但是,这是我的第一个 grails3 项目。 webflow 插件似乎不适合我。

我在转到 {proj}/quote/new 时收到 404 错误

build.gradle

dependencies {
    compile "org.grails.plugins:webflow:2.1.0"
}

控制器:

@Secured('ROLE_ANONYMOUS')
class QuoteController {

    def newFlow = {

        step1{
            on("next").to("step2")
        }
        step2{
            on("next").to("finish")
        }
        finish{
        }
    }

观看次数:

/views/quote/new/step1.gsp
/views/quote/new/step2.gsp
/views/quote/new/finish.gsp

【问题讨论】:

    标签: grails spring-webflow


    【解决方案1】:

    Webflow 从未移植到 Grails 3。您不能使用该版本,因为它是为 Grails 2 设计的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-12-14
      • 1970-01-01
      • 2017-07-30
      • 2011-07-31
      • 2011-05-04
      • 2013-03-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多