net.liftweb.sitemap.Loc

DataLoc

case class DataLoc[T](name: String, link: Link[T], text: LinkText[T], defaultValue: Box[T], xparams: LocParam[T]*) extends Loc[T] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Loc[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DataLoc
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Loc
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DataLoc(name: String, link: Link[T], text: LinkText[T], defaultValue: Box[T], xparams: LocParam[T]*)

Type Members

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

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

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

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

    Definition Classes
    Loc

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

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

    Attributes
    protected
    Definition Classes
    Loc
  10. def allParams: List[AnyLocParam]

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

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

    Attributes
    protected
    Definition Classes
    Loc
  13. final def asInstanceOf[T0]: T0

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

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

    Definition Classes
    Loc
  16. def buildMenu: CompleteMenu

    Definition Classes
    Loc
  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
    Definition Classes
    Loc
  18. def calcDefaultHref: String

    Calculate HREF to this item using currentValue

    Calculate HREF to this item using currentValue

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

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

    Given a value calculate the HREF to this item

    Given a value calculate the HREF to this item

    Definition Classes
    Loc
  21. lazy val calcSnippets: SnippetTest

    The snippets provided by LocParams

    The snippets provided by LocParams

    Definition Classes
    Loc
  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
    Definition Classes
    Loc
  23. def calcTemplate: Box[NodeSeq]

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

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

    Definition Classes
    Loc
  24. def childValues: List[T]

    Definition Classes
    Loc
  25. def clone(): AnyRef

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

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

    Definition Classes
    Loc
  28. def cssClassForMenuItem: Box[String]

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

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

    Definition Classes
    Loc
  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

    Definition Classes
    Loc
  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
    Definition Classes
    Loc
  31. val defaultValue: Box[T]

    Definition Classes
    DataLocLoc
  32. def doesMatch_?(req: Req): Boolean

    Definition Classes
    Loc
  33. def earlyResponse: Box[LiftResponse]

    Definition Classes
    Loc
  34. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. def finalize(): Unit

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

    Find the stateless calculation Loc params

    Find the stateless calculation Loc params

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

    Attributes
    protected
    Definition Classes
    Loc
  38. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  39. def hidden: Boolean

    Definition Classes
    Loc
  40. def hideIfNoKids_?: Boolean

    Definition Classes
    Loc
  41. def inGroup_?(group: String): Boolean

    Definition Classes
    Loc
  42. def init(): Unit

    Definition Classes
    Loc
  43. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  44. val link: Link[T]

    Definition Classes
    DataLocLoc
  45. def linkText: Box[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

    Definition Classes
    Loc
  46. def linkText(in: T): NodeSeq

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

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

    Definition Classes
    Loc
  47. def menu: Menu

    Definition Classes
    Loc
  48. val name: String

    Definition Classes
    DataLocLoc
  49. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    Loc
  53. def paramTemplate: Box[NodeSeq]

    The first Loc.

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

    Definition Classes
    Loc
  54. lazy val paramTitle: Box[(T) ⇒ NodeSeq]

    The first Loc.

    The first Loc.Title in the param list.

    Definition Classes
    Loc
  55. 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)

    Definition Classes
    Loc
  56. val params: List[LocParam[T]]

    Definition Classes
    DataLocLoc
  57. def placeHolder_?: Boolean

    Definition Classes
    Loc
  58. def queryParameters(what: Box[T]): List[(String, String)]

    Calculate the Query parameters

    Calculate the Query parameters

    Definition Classes
    Loc
  59. def reqCalcStateless(): Boolean

    run the stateless calculation

    run the stateless calculation

    Attributes
    protected
    Definition Classes
    Loc
  60. object requestValue extends RequestVar[Box[T]]

    Definition Classes
    Loc
  61. def rewrite: LocRewrite

    Definition Classes
    Loc
  62. def rewritePF: Box[RewritePF]

    Definition Classes
    Loc
  63. def siteMap: SiteMap

    Definition Classes
    Loc
  64. def snippet(name: String): Box[(NodeSeq) ⇒ NodeSeq]

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

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

    Definition Classes
    Loc
  65. def snippets: SnippetTest

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

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

    Definition Classes
    Loc
  66. def stateless_?: Boolean

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

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

    Definition Classes
    Loc
  67. def supplementalKidMenuItems: List[MenuItem]

    Definition Classes
    Loc
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  69. 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.

    Definition Classes
    Loc
  70. def testAccess: Either[Boolean, Box[() ⇒ LiftResponse]]

    Definition Classes
    Loc
  71. val text: LinkText[T]

    Definition Classes
    DataLocLoc
  72. 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.

    Definition Classes
    Loc
  73. 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.

    Definition Classes
    Loc
  74. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. val xparams: LocParam[T]*

Deprecated Value Members

  1. final def supplimentalKidMenuItems: List[MenuItem]

    Definition Classes
    Loc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) Use supplementalKidMenuItems with an 'e'. This misspelled variant will be removed in Lift 3.0.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Loc[T]

Inherited from AnyRef

Inherited from Any

Ungrouped