Tôi đã đoạn mã sau:nhập Statment trong Scala Chơi Khung không hoạt động
@(data: model.FrontPageData, list:List[model.FrontPageData])(
implicit
params:play.mvc.Scope.Params,
flash:play.mvc.Scope.Flash,
errors:Map[String,play.data.validation.Error]
)
@import controllers._
<html>
<head>
<title>some title</title>
</head>
<body>
....
Và Chơi Khung trả về lỗi này:
The file /app/views/Application/frontPageEditor.scala.html could not be compiled. Error raised is : illegal start of simple expression
trên dòng @↓import controllers._
Không hoạt động với tôi trên linux và Playframework 2.3.7 ( – mulya