开发者

How to build this navigation in liftweb(scala language)?

开发者 https://www.devze.com 2023-01-04 17:35 出处:网络
the code is: 开发者_如何学C val nav =Menu(Loc(\"Home\",List(\"index\"),\"home\")):: Menu(Loc(\"Daily\",List(\"daily\"),\"daily\")) ::

the code is:

开发者_如何学C
val nav =  Menu(Loc("Home",List("index"),"home"))  :: 
Menu(Loc("Daily",List("daily"),"daily")) ::
Menu(Loc("Photo",List("photo"),"photo")) ::Nil`

I use scala and liftweb but I troubled when I built navigation in snippet

0

精彩评论

暂无评论...
验证码 换一张
取 消