Trait/Object

net.liftweb.sitemap

Loc

Related Docs: object Loc | package sitemap

Permalink

trait Loc[T] extends AnyRef

A menu location

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

Type Members

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

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

    Permalink

    A PartialFunction that maps a snippet name, and an optional Loc value, in a Tuple2, to a snippet function (NodeSeq => NodeSeq).

Abstract Value Members

  1. abstract def defaultValue: Box[T]

    Permalink
  2. abstract def link: Link[T]

    Permalink
  3. abstract def name: String

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

    Permalink
  5. abstract def text: LinkText[T]

    Permalink

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val _foundStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])

    Permalink

    The cached Loc params

    The cached Loc params

    Attributes
    protected
  5. lazy val _frozenStateless: Boolean

    Permalink

    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
  6. def _testAccess: Either[Boolean, Box[() ⇒ LiftResponse]]

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

    Permalink
    Attributes
    protected
  8. def allParams: List[AnyLocParam]

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

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

    Permalink
    Attributes
    protected
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def breadCrumbs: List[Loc[_]]

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

    Permalink
  14. def buildMenu: CompleteMenu

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

    Permalink

    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
  16. def calcDefaultHref: String

    Permalink

    Calculate HREF to this item using currentValue

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

    Permalink
    Attributes
    protected
  18. def calcHref(in: T): String

    Permalink

    Given a value calculate the HREF to this item

  19. lazy val calcSnippets: SnippetTest

    Permalink

    The snippets provided by LocParams

  20. def calcStateless(): Boolean

    Permalink

    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
  21. def calcTemplate: Box[NodeSeq]

    Permalink

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

  22. def childValues: List[T]

    Permalink
  23. def clone(): AnyRef

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

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

    Permalink
  26. def cssClassForMenuItem: Box[String]

    Permalink

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

  27. def currentValue: Box[T]

    Permalink

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

  28. def defaultRequestValue: Box[T]

    Permalink

    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
  29. def doesMatch_?(req: Req): Boolean

    Permalink
  30. def earlyResponse: Box[LiftResponse]

    Permalink
  31. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def findStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])

    Permalink

    Find the stateless calculation Loc params

    Find the stateless calculation Loc params

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

    Permalink
    Attributes
    protected
  36. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  38. def hidden: Boolean

    Permalink
  39. def hideIfNoKids_?: Boolean

    Permalink
  40. def inGroup_?(group: String): Boolean

    Permalink
  41. def init(): Unit

    Permalink
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. def linkText: Box[NodeSeq]

    Permalink

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

  44. def linkText(in: T): NodeSeq

    Permalink

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

  45. def menu: Menu

    Permalink
  46. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  47. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  48. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  49. def overrideValue: Box[T]

    Permalink
  50. def paramTemplate: Box[NodeSeq]

    Permalink

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

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

    Permalink

    The first Loc.Title in the param list.

  52. def paramValue: Box[T]

    Permalink

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

  53. def placeHolder_?: Boolean

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

    Permalink

    Calculate the Query parameters

  55. def reqCalcStateless(): Boolean

    Permalink

    run the stateless calculation

    run the stateless calculation

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

    Permalink
  57. def rewrite: LocRewrite

    Permalink
  58. def rewritePF: Box[RewritePF]

    Permalink
  59. def siteMap: SiteMap

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

    Permalink

    Look up a snippet by name, taking into account the current Loc value.

  61. def snippets: SnippetTest

    Permalink

    The snippets defined by the Loc class itself, as opposed to those provided by its LocParams.

  62. def stateless_?: Boolean

    Permalink

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

  63. def supplementalKidMenuItems: List[MenuItem]

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

    Permalink
    Definition Classes
    AnyRef
  65. def template: Box[NodeSeq]

    Permalink

    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.

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

    Permalink
  67. def title: NodeSeq

    Permalink

    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.

  68. def title(in: T): NodeSeq

    Permalink

    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.

  69. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped