Simple SSP test doesn't terminate. Why?

33 views
Skip to first unread message

Thipor Kong

unread,
Apr 6, 2012, 1:15:02 PM4/6/12
to sca...@googlegroups.com
Why does this simple application not terminate? The template is rendered fine.

object testScalate extends App {
  val engine = new TemplateEngine
  
  engine.resourceLoader = new FileResourceLoader {
    override def resource(uri: String): Option[Resource] =
      Some(Resource.fromText(uri, "<%@ var hello:String %>Hello, ${hello}!"))
  }

  println(engine.layout("xxx.ssp", Map("hello" -> "world")))
}

Thipor Kong

unread,
Apr 7, 2012, 3:14:01 AM4/7/12
to sca...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages