net.liftmodules.FoBoTB.snippet.FoBo

BootstrapNav

object BootstrapNav extends Logger

BootstrapNav v2.x Snippet

This snippet object transforms lift sitemap menu with specified loc group name into Bootsrap nav menu items including dropdown menu items. This work is originally contributed to the FoBo module by community member Damian Helme. http://tech.damianhelme.com/twitter-bootstrap-navbar-dropdowns-and-lifts. Example Invoke with

<span data-lift="FoBo.BootstrapNav.menuToTBNav?eager_eval=true">
  <span data-lift="Menu.builder?top:class=nav pull-right;li_item:class=active;linkToSelf=true;expandAll=true;group=frontNav"></span>
</span>
Annotations
@deprecated
Deprecated

(Since version FoBo v0.7.3) For Lift >= v2.5 use the newer TB***Menu snippets

Since

v0.7

Linear Supertypes
Logger, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BootstrapNav
  2. Logger
  3. AnyRef
  4. 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. def _logger: Logger

    Attributes
    protected
    Definition Classes
    Logger
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def assertLog(assertion: Boolean, msg: ⇒ String): Unit

    Definition Classes
    Logger
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def debug(msg: ⇒ AnyRef, t: Throwable, marker: Marker): Unit

    Definition Classes
    Logger
  11. def debug(msg: ⇒ AnyRef, marker: Marker): Unit

    Definition Classes
    Logger
  12. def debug(msg: ⇒ AnyRef, t: Throwable): Unit

    Definition Classes
    Logger
  13. def debug(msg: ⇒ AnyRef): Unit

    Definition Classes
    Logger
  14. def debug(msg: ⇒ AnyRef, box: Box[_]): Unit

    Definition Classes
    Logger
  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  17. def error(msg: ⇒ AnyRef, t: Throwable, marker: Marker): Unit

    Definition Classes
    Logger
  18. def error(msg: ⇒ AnyRef, marker: Marker): Unit

    Definition Classes
    Logger
  19. def error(msg: ⇒ AnyRef, t: Throwable): Unit

    Definition Classes
    Logger
  20. def error(msg: ⇒ AnyRef): Unit

    Definition Classes
    Logger
  21. def error(msg: ⇒ AnyRef, box: Box[_]): Unit

    Definition Classes
    Logger
  22. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  25. def info(msg: ⇒ AnyRef, t: Throwable, marker: Marker): Unit

    Definition Classes
    Logger
  26. def info(msg: ⇒ AnyRef, marker: Marker): Unit

    Definition Classes
    Logger
  27. def info(msg: ⇒ AnyRef, t: ⇒ Throwable): Unit

    Definition Classes
    Logger
  28. def info(msg: ⇒ AnyRef): Unit

    Definition Classes
    Logger
  29. def info(msg: ⇒ AnyRef, box: Box[_]): Unit

    Definition Classes
    Logger
  30. def isDebugEnabled: Boolean

    Definition Classes
    Logger
  31. def isErrorEnabled: Boolean

    Definition Classes
    Logger
  32. def isInfoEnabled: Boolean

    Definition Classes
    Logger
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def isTraceEnabled: Boolean

    Definition Classes
    Logger
  35. def isWarnEnabled: Boolean

    Definition Classes
    Logger
  36. def menuToTBNav(in: NodeSeq): NodeSeq

    This method will transform the enclosed menu builder call adding provided bootstrap attributes for declared items in lift sitemap loc locgroup.

    This method will transform the enclosed menu builder call adding provided bootstrap attributes for declared items in lift sitemap loc locgroup. Example

    <span data-lift="FoBo.BootstrapNav.menuToTBNav?eager_eval=true">
       <span data-lift="Menu.builder?top:class=nav;li_item:class=active;linkToSelf=true;expandAll=true;group=frontNav"></span>
    </span>

    Result: Depending on the items in and the structure of the net.liftweb.sitemap.loc.LocGroup matching the value specified by the group parameter a nodeSeq formated as a "bootstrap navigation menu" containing the declared sitemap items will be returned.

  37. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    AnyRef → Any
  42. def trace(msg: ⇒ AnyRef, t: Throwable, marker: ⇒ Marker): Unit

    Definition Classes
    Logger
  43. def trace(msg: ⇒ AnyRef, marker: Marker): Unit

    Definition Classes
    Logger
  44. def trace(msg: ⇒ AnyRef, t: Throwable): Unit

    Definition Classes
    Logger
  45. def trace(msg: ⇒ AnyRef): Unit

    Definition Classes
    Logger
  46. def trace(msg: ⇒ AnyRef, box: Box[_]): Unit

    Definition Classes
    Logger
  47. def trace[T](msg: String, v: T): T

    Definition Classes
    Logger
  48. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  51. def warn(msg: ⇒ AnyRef, t: Throwable, marker: Marker): Unit

    Definition Classes
    Logger
  52. def warn(msg: ⇒ AnyRef, marker: Marker): Unit

    Definition Classes
    Logger
  53. def warn(msg: ⇒ AnyRef, t: Throwable): Unit

    Definition Classes
    Logger
  54. def warn(msg: ⇒ AnyRef): Unit

    Definition Classes
    Logger
  55. def warn(msg: ⇒ AnyRef, box: Box[_]): Unit

    Definition Classes
    Logger

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped