动态模版读取
def csstest = ".row *" #> List(1,2,3).map( x => ".cell *" #> Templates(List("bindtest")).map(html=>bind("hello",html,"act1"->Text("hhh"))))
<div>
hello world
<hello:act1>aaa</hello:act1>
</div>
动态模版读取
def csstest = ".row *" #> List(1,2,3).map( x => ".cell *" #> Templates(List("bindtest")).map(html=>bind("hello",html,"act1"->Text("hhh"))))
<div>
hello world
<hello:act1>aaa</hello:act1>
</div>