net.liftweb.sitemap

Loc

trait Loc[T] extends AnyRef

A menu location

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

Type Members

  1. type LocRewrite = Box[PartialFunction[RewriteRequest, (RewriteResponse, T)]]

  2. type SnippetTest = PartialFunction[(String, Box[T]), (NodeSeq) ⇒ NodeSeq]

Abstract Value Members

  1. abstract def defaultValue: Box[T]

  2. abstract def link: Link[T]

  3. abstract def name: String

  4. abstract def params: List[LocParam[T]]

  5. abstract def text: LinkText[T]

Concrete 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. lazy val _foundStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])

    The cached Loc params

    The cached Loc params

    Attributes
    protected
  7. lazy val _frozenStateless: Boolean

    A lazy val used to track statelessness for non-dev mode.

    A lazy val used to track statelessness for non-dev mode. By default, it calls calcStateless().

    Attributes
    protected
  8. def _testAccess: Either[Boolean, Box[() ⇒ LiftResponse]]

    Attributes
    protected
  9. object accessTestRes extends RequestVar[Either[Boolean, Box[() ⇒ LiftResponse]]]

    Attributes
    protected
  10. def allParams: List[AnyLocParam]

  11. def appendQueryParameters(in: String, what: Box[T]): String

    Attributes
    protected
  12. def appendQueryParams(what: T)(nodeSeq: NodeSeq): NodeSeq

    Attributes
    protected
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def breadCrumbs: List[net.liftweb.sitemap.Loc[_]]

  15. def buildKidMenuItems(kids: Seq[Menu]): List[MenuItem]

  16. def buildMenu: CompleteMenu

  17. lazy val cacheCssClassForMenuItem: Box[() ⇒ String]

    By default, this lazy val looks for the MenuCssClass LocParam and uses it.

    By default, this lazy val looks for the MenuCssClass LocParam and uses it.

    Attributes
    protected
  18. def calcDefaultHref: String

    Calculate HREF to this item using currentValue

  19. def calcHidden(kids: List[MenuItem]): Boolean

    Attributes
    protected
  20. def calcHref(in: T): String

    Given a value calculate the HREF to this item

  21. lazy val calcSnippets: SnippetTest

  22. def calcStateless(): Boolean

    The method to calculate if this Loc is stateless.

    The method to calculate if this Loc is stateless. By default looks for the Loc.Stateless Param

    Attributes
    protected
  23. def calcTemplate: Box[NodeSeq]

    This method can be overridden to provide a template for this Loc

  24. def childValues: List[T]

  25. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def createDefaultLink: Option[NodeSeq]

  27. def createLink(in: T): Option[NodeSeq]

  28. def cssClassForMenuItem: Box[String]

    When the menu item is displayed, what CSS class do we add to the node?

  29. def currentValue: Box[T]

    The current value of the cell: overrideValue or requestValue.

    The current value of the cell: overrideValue or requestValue.is or defaultValue oe paramValue

  30. def defaultRequestValue: Box[T]

    Override this if the default request value should be something other than Empty

    Override this if the default request value should be something other than Empty

    Attributes
    protected
  31. def doesMatch_?(req: Req): Boolean

  32. def earlyResponse: Box[LiftResponse]

  33. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def findStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])

    Find the stateless calculation Loc params

    Find the stateless calculation Loc params

    Attributes
    protected
  37. def foundStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])

    Attributes
    protected
  38. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  40. def hidden: Boolean

  41. def hideIfNoKids_?: Boolean

  42. def inGroup_?(group: String): Boolean

  43. def init(): Unit

  44. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  45. def linkText: Box[NodeSeq]

    The title of the location given the current value associated with this Loc

  46. def linkText(in: T): NodeSeq

    The link text to be displayed for a value of type T

  47. def menu: Menu

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

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

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

    Definition Classes
    AnyRef
  51. def overrideValue: Box[T]

  52. def paramTemplate: Box[NodeSeq]

    The first Loc.

    The first Loc.Template or Loc.ValueTemplate in the param list.

  53. lazy val paramTitle: Box[(T) ⇒ NodeSeq]

    The first Loc.

    The first Loc.Title in the param list.

  54. def paramValue: Box[T]

    The value of the Loc based on params (either Loc.

    The value of the Loc based on params (either Loc.Value or Loc.CalcValue)

  55. def placeHolder_?: Boolean

  56. def queryParameters(what: Box[T]): List[(String, String)]

    Calculate the Query parameters

  57. def reqCalcStateless(): Boolean

    run the stateless calculation

    run the stateless calculation

    Attributes
    protected
  58. object requestValue extends RequestVar[Box[T]]

  59. def rewrite: LocRewrite

  60. def rewritePF: Box[RewritePF]

  61. def siteMap: SiteMap

  62. def snippet(name: String): Box[(NodeSeq) ⇒ NodeSeq]

  63. def snippets: SnippetTest

  64. def stateless_?: Boolean

    Is the Loc marked as Stateless (this will force rendering of the page into stateless mode)

  65. def supplimentalKidMenuItems: List[MenuItem]

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

    Definition Classes
    AnyRef
  67. def template: Box[NodeSeq]

    The template assocaited with this Loc, if any.

    The template assocaited with this Loc, if any. Any Loc.Template or Loc.ValueTemplate parameter will take precedence over a value returned by the calcTemplate method.

  68. def testAccess: Either[Boolean, Box[() ⇒ LiftResponse]]

  69. def title: NodeSeq

    The title of the location given the current value associated with this Loc.

    The title of the location given the current value associated with this Loc. If no current value is available, this will use the name of this Loc as the title.

  70. def title(in: T): NodeSeq

    The title to be displayed for the value associated with this Loc.

    The title to be displayed for the value associated with this Loc. Any Loc.Title parameter will take precedence over the value returned by the linkText method.

  71. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any