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
- Alphabetic
- By Inheritance
- DataLoc
- Serializable
- Serializable
- Product
- Equals
- Loc
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Type Members
-
type
LocRewrite = Box[PartialFunction[RewriteRequest, (RewriteResponse, Box[T])]]
- Definition Classes
- Loc
-
type
SnippetTest = PartialFunction[(String, Box[T]), (NodeSeq) ⇒ NodeSeq]
A
PartialFunction
that maps a snippet name, and an optionalLoc
value, in aTuple2
, to a snippet function (NodeSeq
=>NodeSeq
).A
PartialFunction
that maps a snippet name, and an optionalLoc
value, in aTuple2
, to a snippet function (NodeSeq
=>NodeSeq
).- Definition Classes
- Loc
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
_foundStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])
The cached Loc params
The cached Loc params
- Attributes
- protected
- Definition Classes
- Loc
-
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
-
def
_testAccess: Either[Boolean, Box[() ⇒ LiftResponse]]
- Attributes
- protected
- Definition Classes
- Loc
-
def
allParams: List[AnyLocParam]
- Definition Classes
- Loc
-
def
appendQueryParameters(in: String, what: Box[T]): String
- Attributes
- protected
- Definition Classes
- Loc
-
def
appendQueryParams(what: T)(nodeSeq: NodeSeq): NodeSeq
- Attributes
- protected
- Definition Classes
- Loc
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
breadCrumbs: List[Loc[_]]
- Definition Classes
- Loc
-
def
buildKidMenuItems(kids: Seq[Menu]): List[MenuItem]
- Definition Classes
- Loc
-
def
buildMenu: CompleteMenu
- Definition Classes
- Loc
-
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
-
def
calcDefaultHref: String
Calculate HREF to this item using currentValue
Calculate HREF to this item using currentValue
- Definition Classes
- Loc
-
def
calcHidden(kids: List[MenuItem]): Boolean
- Attributes
- protected
- Definition Classes
- Loc
-
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
-
lazy val
calcSnippets: SnippetTest
The snippets provided by
LocParam
sThe snippets provided by
LocParam
s- Definition Classes
- Loc
-
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
-
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
-
def
childValues: List[T]
- Definition Classes
- Loc
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createDefaultLink: Option[NodeSeq]
- Definition Classes
- Loc
-
def
createLink(in: T): Option[NodeSeq]
- Definition Classes
- Loc
-
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
-
def
currentValue: Box[T]
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
-
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
- val defaultValue: Box[T]
-
def
doesMatch_?(req: Req): Boolean
- Definition Classes
- Loc
-
def
earlyResponse: Box[LiftResponse]
- Definition Classes
- Loc
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])
Find the stateless calculation Loc params
Find the stateless calculation Loc params
- Attributes
- protected
- Definition Classes
- Loc
-
def
foundStatelessCalc: (Box[CalcStateless], Box[CalcParamStateless[T]])
- Attributes
- protected
- Definition Classes
- Loc
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hidden: Boolean
- Definition Classes
- Loc
-
def
hideIfNoKids_?: Boolean
- Definition Classes
- Loc
-
def
inGroup_?(group: String): Boolean
- Definition Classes
- Loc
-
def
init(): Unit
- Definition Classes
- Loc
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val link: Link[T]
-
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
-
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
-
def
menu: Menu
- Definition Classes
- Loc
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
overrideValue: Box[T]
- Definition Classes
- Loc
-
def
paramTemplate: Box[NodeSeq]
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
-
lazy val
paramTitle: Box[(T) ⇒ NodeSeq]
The first Loc.Title in the param list.
The first Loc.Title in the param list.
- Definition Classes
- Loc
-
def
paramValue: Box[T]
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
- val params: List[LocParam[T]]
-
def
placeHolder_?: Boolean
- Definition Classes
- Loc
-
def
queryParameters(what: Box[T]): List[(String, String)]
Calculate the Query parameters
Calculate the Query parameters
- Definition Classes
- Loc
-
def
reqCalcStateless(): Boolean
run the stateless calculation
run the stateless calculation
- Attributes
- protected
- Definition Classes
- Loc
-
def
rewrite: LocRewrite
- Definition Classes
- Loc
-
def
rewritePF: Box[RewritePF]
- Definition Classes
- Loc
-
def
siteMap: SiteMap
- Definition Classes
- Loc
-
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
-
def
snippets: SnippetTest
The snippets defined by the
Loc
class itself, as opposed to those provided by itsLocParams
.The snippets defined by the
Loc
class itself, as opposed to those provided by itsLocParams
.- Definition Classes
- Loc
-
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
-
def
supplementalKidMenuItems: List[MenuItem]
- Definition Classes
- Loc
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
-
def
testAccess: Either[Boolean, Box[() ⇒ LiftResponse]]
- Definition Classes
- Loc
- val text: LinkText[T]
-
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
-
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
-
def
toString(): String
- Definition Classes
- Loc → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val xparams: LocParam[T]*
-
object
accessTestRes
extends RequestVar[Either[Boolean, Box[() ⇒ LiftResponse]]]
- Attributes
- protected
- Definition Classes
- Loc
-
object
requestValue
extends RequestVar[Box[T]]
- Definition Classes
- Loc