i'm attempting to wire in some Menu items with absolute urls and other relative links that need to open in new window. I don't see a way of supplying such meta data to
case class Menu(loc: Loc[_], private val convertableKids: ConvertableToMenu*)
Basically, this is what I would like to do:
Menu.i("Account",isAbsolute=true, ("target -> "_blank")) /
http://google.com >> SettingsGroup
or
Menu.i("Account",isAbsolute=false, ("target -> "_blank")) /
"settings" / "account" >> SettingsGroup >> RequireLogin
What's a good way of enabling menu links with some attributes and allow for absolute urls?