Class

net.liftweb.sitemap.Loc

DataLoc

Related Doc: package Loc

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Loc
  14. def buildMenu: CompleteMenu

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

    Permalink

    Calculate HREF to this item using currentValue

    Calculate HREF to this item using currentValue

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

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

    Permalink

    Given a value calculate the HREF to this item

    Given a value calculate the HREF to this item

    Definition Classes
    Loc
  19. lazy val calcSnippets: SnippetTest

    Permalink

    The snippets provided by LocParams

    The snippets provided by LocParams

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

    Permalink

    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
  22. def childValues: List[T]

    Permalink
    Definition Classes
    Loc
  23. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    Loc
  26. def cssClassForMenuItem: Box[String]

    Permalink

    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
  27. def currentValue: Box[T]

    Permalink

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

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

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

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

    Permalink
    Definition Classes
    Loc
  31. def earlyResponse: Box[LiftResponse]

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

    Permalink
    Definition Classes
    AnyRef
  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
    Definition Classes
    Loc
  35. def foundStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])

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

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

    Permalink
    Definition Classes
    Loc
  38. def hideIfNoKids_?: Boolean

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

    Permalink
    Definition Classes
    Loc
  40. def init(): Unit

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

    Permalink
    Definition Classes
    Any
  42. val link: Link[T]

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

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

    Permalink

    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
  45. def menu: Menu

    Permalink
    Definition Classes
    Loc
  46. val name: String

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

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

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

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

    Permalink
    Definition Classes
    Loc
  51. def paramTemplate: Box[NodeSeq]

    Permalink

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

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

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

    Permalink

    The first Loc.Title in the param list.

    The first Loc.Title in the param list.

    Definition Classes
    Loc
  53. def paramValue: Box[T]

    Permalink

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

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

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

    Permalink
    Definition Classes
    DataLocLoc
  55. def placeHolder_?: Boolean

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

    Permalink

    Calculate the Query parameters

    Calculate the Query parameters

    Definition Classes
    Loc
  57. def reqCalcStateless(): Boolean

    Permalink

    run the stateless calculation

    run the stateless calculation

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

    Permalink
    Definition Classes
    Loc
  59. def rewrite: LocRewrite

    Permalink
    Definition Classes
    Loc
  60. def rewritePF: Box[RewritePF]

    Permalink
    Definition Classes
    Loc
  61. def siteMap: SiteMap

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

    Permalink

    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
  63. def snippets: SnippetTest

    Permalink

    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
  64. def stateless_?: Boolean

    Permalink

    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
  65. def supplementalKidMenuItems: List[MenuItem]

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

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

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

    Permalink
    Definition Classes
    Loc
  69. val text: LinkText[T]

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

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

    Definition Classes
    Loc
  72. def toString(): String

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

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

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

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Loc[T]

Inherited from AnyRef

Inherited from Any

Ungrouped