net.liftweb.sitemap

SiteMapSingleton

sealed class SiteMapSingleton extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SiteMapSingleton
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SiteMapSingleton()

Type Members

  1. trait UnapplyLocMatcher extends AnyRef

    In the PartialFunction for sitemapMutator, you may want to look for a particular Loc in the menu to determine if you want to (1) replace it, (2) add your menus after it or (3) insert your menus under it.

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 addMenusAtEndMutator(menus: List[Menu]): (SiteMap) ⇒ SiteMap

    Create a mutator that simply appends the menus to the SiteMap at the end of the sitemap.

    Create a mutator that simply appends the menus to the SiteMap at the end of the sitemap. This is a good default mutator that appends the menu items at the end of the sitemap

  7. def apply(kids: ConvertableToMenu*): SiteMap

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def build(kids: Array[ConvertableToMenu]): SiteMap

    A Java-callable method that builds a SiteMap

  10. def buildLink(name: String): NodeSeq

  11. def buildLink(name: String, text: NodeSeq): NodeSeq

  12. def buildMenuMatcher(matchFunc: (net.liftweb.sitemap.Loc.LocParam[_]) ⇒ Boolean): UnapplyLocMatcher

    Builds an UnapplyLocMatcher

    Builds an UnapplyLocMatcher

    For example:

    val MyMarkerLocParam = new Loc.LocParam[Any]
    val MyMatcher = SiteMap.buildMenuMatcher(_ == MyMarkerLocParam)
    

  13. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. var enforceUniqueLinks: Boolean

    By default, Lift enforced unique links in a SiteMap.

    By default, Lift enforced unique links in a SiteMap. However, you can disable this feature by setting enforceUniqueLinks to false

  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def findAndTestLoc(name: String): Box[net.liftweb.sitemap.Loc[_]]

  19. def findLoc(name: String): Box[net.liftweb.sitemap.Loc[_]]

  20. final def getClass(): java.lang.Class[_]

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

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

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

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

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

    Definition Classes
    AnyRef
  26. var rawIndex_?: Boolean

    Should the top level /index path be rendered as / By default this value is false.

    Should the top level /index path be rendered as / By default this value is false. You may set it to true, but this may confuse some application servers when the application is not running in the root context.

  27. def simpleSitemapMutator(pf: PartialFunction[Menu, List[Menu]]): (SiteMap) ⇒ SiteMap

    Builds a function that successively tests the partial function against the Menu.

    Builds a function that successively tests the partial function against the Menu. If the PartialFunction is matched, it is applied and a new Menu is created. This is generally used by modules to insert their menus at locations in the menu hierarchy denoted by a marker Loc.LocParam. If the function does not fire, a copy of the original sitemap is returned.

    pf

    the partial function (pattern match) to test against the Menu, if it matches, apply it which causes menu mutation.

    returns

    a function which will apply the changes to a SiteMap

  28. def sitemapMutator(pf: PartialFunction[Menu, List[Menu]])(or: (SiteMap) ⇒ SiteMap): (SiteMap) ⇒ SiteMap

    Builds a function that successively tests the partial function against the Menu.

    Builds a function that successively tests the partial function against the Menu. If the PartialFunction is matched, it is applied and a new Menu is created. This is generally used by modules to insert their menus at locations in the menu hierarchy denoted by a marker Loc.LocParam. If the function does not fire, the 'or' function is applied, which allows trying alternative strategies (e.g., if the marker LocParam is not found, append the menus to the root SiteMap.) This method returns a function so that the strategy can be returned from a module and chained: (module1 andThen module2 andThen module3)(baseSitemap).

    pf

    the partial function (pattern match) to test against the Menu, if it matches, apply it which causes menu mutation.

    or

    the function to apply if none of the patterns match

    returns

    a function which will apply the changes to a SiteMap

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any