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. Hide All
  2. Show all
  1. DataLoc
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Loc
  7. AnyRef
  8. Any
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]

    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
  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[net.liftweb.sitemap.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

    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 canEqual(arg0: Any): Boolean

    Definition Classes
    DataLoc → Equals
  25. def childValues: List[T]

    Definition Classes
    Loc
  26. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    DataLoc → Equals → AnyRef → Any
  37. def finalize(): Unit

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

    Find the stateless calculation Loc params

    Find the stateless calculation Loc params

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

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

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

    Definition Classes
    DataLoc → AnyRef → Any
  42. def hidden: Boolean

    Definition Classes
    Loc
  43. def hideIfNoKids_?: Boolean

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

    Definition Classes
    Loc
  45. def init(): Unit

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

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

    Definition Classes
    DataLocLoc
  48. 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
  49. 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
  50. def menu: Menu

    Definition Classes
    Loc
  51. val name: String

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

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

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

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

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

    The first Loc.

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

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

    The first Loc.

    The first Loc.Title in the param list.

    Definition Classes
    Loc
  58. 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
  59. val params: List[LocParam[T]]

    Definition Classes
    DataLocLoc
  60. def placeHolder_?: Boolean

    Definition Classes
    Loc
  61. def productArity: Int

    Definition Classes
    DataLoc → Product
  62. def productElement(arg0: Int): Any

    Definition Classes
    DataLoc → Product
  63. def productIterator: Iterator[Any]

    Definition Classes
    Product
  64. def productPrefix: String

    Definition Classes
    DataLoc → Product
  65. def queryParameters(what: Box[T]): List[(String, String)]

    Calculate the Query parameters

    Calculate the Query parameters

    Definition Classes
    Loc
  66. def reqCalcStateless(): Boolean

    run the stateless calculation

    run the stateless calculation

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

  68. def rewrite: LocRewrite

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

    Definition Classes
    Loc
  70. def siteMap: SiteMap

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

    Definition Classes
    Loc
  72. def snippets: SnippetTest

    Definition Classes
    Loc
  73. 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
  74. def supplimentalKidMenuItems: List[MenuItem]

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

    Definition Classes
    AnyRef
  76. 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
  77. def testAccess: Either[Boolean, Box[() ⇒ LiftResponse]]

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

    Definition Classes
    DataLocLoc
  79. 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
  80. 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
  81. def toString(): String

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

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

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

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

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Loc[T]

Inherited from AnyRef

Inherited from Any