net.liftmodules.FoBo

TBLocInfo

object TBLocInfo

Extends your Lift SiteMap with various common bootstrap menu manipulations such as horizontal and vertical menu dividers and menu labels (labels coming soon).

This object should be used in conjunction with the TB* or BS3* menu builder objects in net.liftmodules.FoBoTB.snippet.FoBo or net.liftmodules.FoBoBs.snippet.FoBo snippet's.

Example:

:
//add a horizontal menu divider
divider1 >> LocGroup(...) >> FoBo.TBLocInfo.Divider,
 :
//add a vertical menu divider
divider2 >> LocGroup(...) >> FoBo.TBLocInfo.DividerVertical,
 :
//open link in new tab
... FoBo.TBLocInfo.LinkTargetBlank
 :
Annotations
@deprecated
Deprecated

(Since version 1.6.0) Use BSLocInfo or TBLocInfo provided by FoBoBs and FoBoTB

Since

v1.0

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TBLocInfo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Divider: LocInfo[String]

    Provides a way to specify a horizontal divider for your bootstrap menu in Lift's SiteMap.

    Provides a way to specify a horizontal divider for your bootstrap menu in Lift's SiteMap.

    Example:

    val index            = Menu.i("Home") / "index"
         :
    val about            = Menu.i("About") / "about"
    val divider2         = Menu("divider2") / "divider2" //dummy entry only showing a menu divider
    val navHeader1       = Menu.i("navHeader1") / "navHeader1" //Adds a header (label) to your FoBo.NavList
    
    def sitemap = SiteMap(
      navHeader1 >> LocGroup("nl1") >> FoBo.TBLocInfo.NavHeader,
      index >> LocGroup("top","nl1",...),
       :
      ddLabel >> LocGroup("top",...)  >> PlaceHolder submenus(
          about ,
          divider2 >> FoBo.TBLocInfo.Divider,
          contact,
          feedback
          )
    )
    Since

    v1.0

  7. val DividerVertical: LocInfo[String]

    Add a vertical divider in your bootstrap menu.

    Add a vertical divider in your bootstrap menu. For a usage example see the Divider val above.

    Since

    v1.0

  8. val LinkTargetBlank: LocInfo[String]

    Adds target="_blank" to the link

    Adds target="_blank" to the link

    val AngularJS       = Menu(Loc("AngularJS",
    ExtLink("http://angularjs.org/"),
    S.loc("AngularJS" , scala.xml.Text("AngularJS")),
    LocGroup("lg2"),
    FoBo.TBLocInfo.LinkTargetBlank  ))
    Since

    v1.2

  9. val LinkTargetParent: LocInfo[String]

    Adds target="_parent" to the link

    Adds target="_parent" to the link

    Since

    v1.2

  10. val LinkTargetSelf: LocInfo[String]

    Adds target="_self" to the link

    Adds target="_self" to the link

    Since

    v1.2

  11. val LinkTargetTop: LocInfo[String]

    Adds target="_top" to the link

    Adds target="_top" to the link

    Since

    v1.2

  12. val NavHeader: LocInfo[String]

    Add nav header(s) to your bootstrap nav list.

    Add nav header(s) to your bootstrap nav list. A NavHeader is a text label that can be used to label a navbar or a section of the navbar. For a usage example see the NavHeader val above.

    Since

    v1.0

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped