[英]grails 3 webflow not working
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
Webflow從未移植到Grails3。您不能使用該版本,因為它是為Grails 2設計的。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.