net.liftweb.http.LiftRules

object LiftRules

object LiftRules

 extends Factory with FormVendor with LazyLoggable




Source: LiftRules.scala(40)

Nested Classes

SnippetFailure,

 Constructors

def this

 Fields

SnippetFailures.. object SnippetFailures

 extends Enumeration
afterSend.. val afterSend
Holds user functions that are executed after the response was sent to client [details]
The functions' result will be ignored.
RulesSeq[(BasicResponse, HTTPResponse, List[(String, String)], Box[Req]) => Any]
ajaxDefaultFailure.. var ajaxDefaultFailure
The default action to take when the JavaScript action fails
Box[() => JsCmd]
ajaxEnd.. var ajaxEnd
The JavaScript to execute at the end of an Ajax request (for example, removing the spinning working thingy)
Box[() => JsCmd]
ajaxPath.. var ajaxPath
Contains the Ajax URI path used by Lift to process Ajax requests
String
ajaxPostTimeout.. var ajaxPostTimeout Int
ajaxRetryCount.. var ajaxRetryCount
How many times do we retry an Ajax command before calling it a failure?
Box[Int]
ajaxScriptName.. var ajaxScriptName
The name of the Ajax script that manages Ajax rewuests
() => String
ajaxScriptUpdateTime.. var ajaxScriptUpdateTime
Holds the last update time of the Ajax request [details]
Based on this server mayreturn HTTP 304 status indicating the client to used the cached information.
(LiftSession) => Long
ajaxStart.. var ajaxStart
The JavaScript to execute at the begining of an Ajax request (for example, showing the spinning working thingy)
Box[() => JsCmd]
allowParallelSnippets.. val allowParallelSnippets
Does the current context support parallel snippet execution
FactoryMaker[Boolean]
attachResourceId.. var attachResourceId
Attached an ID entity for resource URI specified in link or script tags [details]
This allows controlling browser resource caching. By default this just adds a query string parameter unique per application lifetime. More complex implementation could user per resource MD5 sequences thus "forcing" browsers to refresh the resource only when the resource file changes. Users can define other rules as well. Inside user's function it is safe to use S context as attachResourceId is called from inside the <lift:with-resource-id> snippet
(String) => String
authentication.. var authentication
The HTTP authentication mechanism that ift will perform [details]
See LiftRules.protectedResource
HttpAuthentication
autoIncludeAjax.. var autoIncludeAjax
Tells Lift if the Ajax JavaScript shoukd be included [details]
By default it is set to true.
(LiftSession) => Boolean
autoIncludeComet.. var autoIncludeComet
Tells Lift if the Comet JavaScript shoukd be included [details]
By default it is set to true.
(LiftSession) => Boolean
beforeSend.. val beforeSend
Holds user functions that are executed before sending the response to client [details]
The functions' result will be ignored.
RulesSeq[(BasicResponse, HTTPResponse, List[(String, String)], Box[Req]) => Any]
calcCometPath.. var calcCometPath
Computes the Comet path by adding additional tokens on top of cometPath
(String) => JsExp
calcIE6ForResponse.. var calcIE6ForResponse () => Boolean
calcIEMode.. var calcIEMode
The function that calculates if the response should be rendered in IE6/7 compatibility mode
() => Boolean
calcRequestTimeout.. var calcRequestTimeout
Put a function that will calculate the request timeout based on the incoming request
Box[(Req) => Int]
calculateContextPath.. var calculateContextPath
If there is an alternative way of calculating the context path (by default returning Empty) If this function returns an Empty, the contextPath provided by the container will be used
() => Box[String]
calculateXmlHeader.. var calculateXmlHeader
An XML header is inserted at the very beginning of returned XHTML pages [details]
This function defines the cases in which such a header is inserted. The function takes a NodeResponse (the LiftResponse that is converting the XML to a stream of bytes), the Node (root node of the XML), and a Box containing the content type.
(NodeResponse, Node, Box[String]) => String
cometCreation.. val cometCreation
Partial function to allow you to build a CometActor from code rather than via reflection
RulesSeq[PartialFunction]
cometCreationFactory.. val cometCreationFactory
A factory that will vend comet creators
FactoryMaker[(CometCreationInfo) => Box[LiftCometActor]]
cometFailureRetryTimeout.. var cometFailureRetryTimeout
If a Comet request fails timeout for this period of time [details]
Default value is 10 seconds
Long
cometGetTimeout.. var cometGetTimeout Int
cometLogger.. def cometLogger
Holds the CometLogger that will be used to log comet activity
Logger
cometPath.. var cometPath
Contains the Comet URI path used by Lift to process Comet requests
String
cometRequestTimeout.. var cometRequestTimeout
If you want the AJAX request timeout to be something other than 120 seconds, put the value here
Box[Int]
cometScriptName.. var cometScriptName
The name of the Comet script that manages Comet rewuests
() => String
cometScriptUpdateTime.. var cometScriptUpdateTime
Holds the last update time of the Comet request [details]
Based on this server mayreturn HTTP 304 status indicating the client to used the cached information.
(LiftSession) => Long
cometServer.. var cometServer
Calculate the Comet Server (by default, the server that the request was made on, but can do the multi-server thing as well)
() => String
context.. def context
Returns the HTTPContext
HTTPContext
convertResponse.. var convertResponse
convertResponse is a PartialFunction that reduces a given Tuple4 into a LiftResponse that can then be sent to the browser
PartialFunction[(Any, List[(String, String)], List[HTTPCookie], Req), LiftResponse]
convertToEntity.. val convertToEntity
Should codes that represent entities be converted to XML entities when rendered?
FactoryMaker[Boolean]
dateTimeConverter.. val dateTimeConverter FactoryMaker[DateTimeConverter]
defaultHeaders.. var defaultHeaders PartialFunction[(NodeSeq, Req), List[(String, String)]]
deferredSnippetFailure.. val deferredSnippetFailure
If a deferred snippet has a failure during render, what should we display?
FactoryMaker[(Failure) => NodeSeq]
deferredSnippetTimeout.. val deferredSnippetTimeout
If a deferred snippet has a failure during render, what should we display?
FactoryMaker[NodeSeq]
determineContentType.. var determineContentType
A partial function that determines content type based on an incoming Req and Accept header
PartialFunction[(Box[Req], Box[String]), String]
dispatch.. val dispatch
Holds the user's DispatchPF functions that will be executed in stateful context
RulesSeq[PartialFunction]
displayHelpfulSiteMapMessages_?.. var displayHelpfulSiteMapMessages_?
Set to false if you want to have 404's handled the same way in dev and production mode
Boolean
docType.. val docType
Set the doc type used
FactoryMaker[(Req) => Box[String]]
early.. val early
Holds user functions that willbe executed very early in the request processing [details]
The functions' result will be ignored.
RulesSeq[(HTTPRequest) => Any]
earlyResponse.. val earlyResponse RulesSeq[(Req) => Box[LiftResponse]] with FirstBox[Req, LiftResponse]
enableContainerSessions.. var enableContainerSessions Boolean
enableLiftGC.. var enableLiftGC
By default lift uses a garbage-collection mechanism of removing unused bound functions from LiftSesssion [details]
Setting this to false will disable this mechanims and there will be no Ajax polling requests attempted.
Boolean
exceptionHandler.. var exceptionHandler
The sequence of partial functions (pattern matching) for handling converting an exception to something to be sent to the browser depending on the current RunMode (development, etc [details]
) By default it returns an XhtmlResponse containing a predefined markup. You can overwrite this by calling LiftRules.exceptionHandler.prepend(...). If you are calling append then your code will not be calle since a default implementation is already appended.
RulesSeq[PartialFunction]
excludePathFromContextPathRewriting.. val excludePathFromContextPathRewriting
Update the function here that calculates particular paths to exclused from context path rewriting
FactoryMaker[(String) => Boolean]
explicitlyParsedSuffixes.. var explicitlyParsedSuffixes
When a request is parsed into a Req object, certain suffixes are explicitly split from the last part of the request URI [details]
If the suffix is contained in this list, it is explicitly split. The default list is: "html", "htm", "jpg", "png", "gif", "xml", "rss", "json" ...
Set[String]
flipDocTypeForIE6.. var flipDocTypeForIE6 Boolean
formAttrs.. val formAttrs
If you use the form attribute in a snippet invocation, what attributes should be copied from the snippet invocation tag to the form tag [details]
The default list is "class", "id", "target", "style", "onsubmit"
FactoryMaker[List[String]]
formatDate.. var formatDate
A function to format a Date [details]
.. can be replaced by a function that is user-specific Replaced by dateTimeConverter
(Date) => String
getLiftSession.. var getLiftSession (Req) => LiftSession
getResource.. var getResource
Obtain the resource URL by name
(String) => Box[URL]
handleMimeFile.. var handleMimeFile
The function that converts a fieldName, contentType, fileName and an InputStream into a FileParamHolder [details]
By default, create an in-memory instance. Use OnDiskFileParamHolder to create an on-disk version
(String, String, String, InputStream) => FileParamHolder
httpAuthProtectedResource.. val httpAuthProtectedResource
Defines the resources that are protected by authentication and authorization [details]
If this function is not defined for the input data, the resource is considered unprotected ergo no authentication is performed. If this function is defined and returns a Full box, it means that this resource is protected by authentication,and authenticated subjed must be assigned to the role returned by this function or to a role that is child-of this role. If this function returns Empty it means that this resource is protected by authentication but no authorization is performed meaning that roles are not verified.
RulesSeq[PartialFunction]
jsArtifacts.. var jsArtifacts
Holds the JS library specific UI artifacts [details]
By efault it uses JQuery's artifacts
JSArtifacts
lazySnippetTimeout.. val lazySnippetTimeout
How long should we wait for all the lazy snippets to render
FactoryMaker[TimeSpan]
liftBuildDate.. lazy val liftBuildDate Date
liftCoreResourceName.. var liftCoreResourceName
The base name of the resource bundle of the lift core code
String
liftGCFailureRetryTimeout.. var liftGCFailureRetryTimeout
The polling interval for background Ajax requests to keep functions to not be garbage collected [details]
This will be applied if the Ajax request will fail. Default value is set to 15 seconds.
Long
liftGCPollingInterval.. var liftGCPollingInterval
The polling interval for background Ajax requests to prevent functions of being garbage collected [details]
Default value is set to 75 seconds.
Long
liftRequest.. val liftRequest
Get the partial function that defines if a request should be handled by the application (rather than the default container handler)
RulesSeq[PartialFunction]
liftTagProcessing.. val liftTagProcessing
Allows user adding additional Lift tags (the tags must be prefixed by lift namespace such as ) [details]
Each LiftTagPF function will be called with the folowing parameters:
    - Element label,
    - The Element itselft,
    - The attrbutes
    - The child nodes
    - The page name
   
RulesSeq[PartialFunction]
liftVersion.. lazy val liftVersion String
localeCalculator.. var localeCalculator
A function that takes the current HTTP request and returns the current
(Box[HTTPRequest]) => Locale
localizationLookupFailureNotice.. var localizationLookupFailureNotice
The function referenced here is called if there's a localization lookup failure
Box[(String, Locale) => Unit]
localizeStringToXml.. var localizeStringToXml
A function that defines how a String should be converted to XML for the localization stuff [details]
By default, Text(s) is returned, but you can change this to attempt to parse the XML in the String and return the NodeSeq.
(String) => NodeSeq
logServiceRequestTiming.. var logServiceRequestTiming
Controls whether or not the service handling timing messages (Service request (GET) [details]
.. took ... Milliseconds) are logged. Defaults to true.
Boolean
logUnreadRequestVars.. var logUnreadRequestVars
This variable controls whether RequestVars that have been set but not subsequently read will be logged in Dev mode [details]
Logging can be disabled at the per-RequestVar level via RequestVar.logUnreadVal
see
- RequestVar#logUnreadVal
Boolean
loggedInTest.. var loggedInTest
Put a test for being logged in into this function
Box[() => Boolean]
logger.. protected lazy val logger Logger LazyLoggable
makeCometBreakoutDecision.. var makeCometBreakoutDecision
A function that takes appropriate action in breaking out of any existing comet requests based on the request, browser type, etc
(LiftSession, Req) => Unit
maxConcurrentRequests.. val maxConcurrentRequests
The maximum concurrent requests [details]
If this number of requests are being serviced for a given session, messages will be sent to all Comet requests to terminate
FactoryMaker[(Req) => Int]
maxMimeFileSize.. var maxMimeFileSize
The maximum allowed size of a single file in a mime multi-part POST [details]
Default 7MB
Long
maxMimeSize.. var maxMimeSize
The maximum allowed size of a complete mime multi-part POST [details]
Default 8MB
Long
noCometSessionPage.. var noCometSessionPage
Where to send the user if there's no comet session
String
noticesAutoFadeOut.. var noticesAutoFadeOut
Set the default fadeout mechanism for Lift notices [details]
Thus you provide a function that take a NoticeType.Value and decide the duration after which the fade out will start and the actual fadeout time. This is applicable for general notices (not associated with id-s) regardless if they are set for the page rendering, ajax response or Comet response.
FactoryMaker[(Value) => Box[(TimeSpan, TimeSpan)]]
noticesContainerId.. val noticesContainerId String
noticesEffects.. var noticesEffects
Use this to apply various effects to the notices [details]
The user function receives the NoticeType and the id of the element containing the specific notice. Thus it is the function's responsability to form the javascript code for the visual effects. This is applicable for both ajax and non ajax contexts. For notices associated with ID's the user type will receive an Empty notice type. That's because the effect is applied on the real estate holding the notices for this ID. Typically this contains a single message.
FactoryMaker[(Box[Value], String) => Box[JsCmd]]
noticesToJsCmd.. var noticesToJsCmd () => JsCmd
onBeginServicing.. val onBeginServicing
Holds user function hooks when the request is about to be processed
RulesSeq[(Req) => Unit]
onEndServicing.. val onEndServicing
Holds user function hooks when the request was processed
RulesSeq[(Req, Box[LiftResponse]) => Unit]
overwrittenReponseHeaders.. val overwrittenReponseHeaders
By default, Http response headers are appended [details]
However, there are some headers that should only appear once (for example "expires"). This Vendor vends the list of header responses that can only appear once.
FactoryMaker[List[String]]
parseDate.. var parseDate
A function that parses a String into a Date [details]
.. can be replaced by something that's user-specific Replaced by dateTimeConverter
(String) => Box[Date]
passNotFoundToChain.. var passNotFoundToChain
Should pages that are not found be passed along the request processing chain to the next handler outside Lift?
Boolean
preAccessControlResponse_!!.. val preAccessControlResponse_!! RulesSeq[(Req) => Box[LiftResponse]] with FirstBox[Req, LiftResponse]
progressListener.. var progressListener
The global multipart progress listener: pBytesRead - The total number of bytes, which have been read so far [details]
pContentLength - The total number of bytes, which are being read. May be -1, if this number is unknown. pItems - The number of the field, which is currently being read. (0 = no item so far, 1 = first item is being read, ...)
(Long, Long, Int) => Unit
redirectAjaxOnSessionLoss.. var redirectAjaxOnSessionLoss
Set to false if you do not want Ajax/Comet requests that are not associated with a session to cause a page reload
Boolean
renderAjaxScript.. var renderAjaxScript
Returns the JavaScript that manages Ajax requests
(LiftSession) => JsCmd
renderCometPageContents.. var renderCometPageContents
Renders that JavaScript that holds Comet identification information
(LiftSession, Seq[CometVersionPair]) => JsCmd
renderCometScript.. var renderCometScript
Returns the JavaScript that manages Comet requests
(LiftSession) => JsCmd
requestTimedOut.. var requestTimedOut
If the request times out (or returns a non-Response) you can intercept the response here and create your own response
Box[(Req, Any) => Box[LiftResponse]]
resourceBundleFactories.. val resourceBundleFactories RulesSeq[PartialFunction]
resourceNames.. var resourceNames
The base name of the resource bundle
List[String]
resourceServerPath.. var resourceServerPath
The path to handle served resources
String
responseTransformers.. val responseTransformers
Holds the user's transformer functions allowing the user to modify a LiftResponse before sending it to client
RulesSeq[(LiftResponse) => LiftResponse]
rewrite.. val rewrite
Use statelessRewrite or statefuleRewrite
RulesSeq[PartialFunction]
serveAjaxScript.. var serveAjaxScript
Returns the Ajax script as a JavaScript response
(LiftSession, Req) => Box[LiftResponse]
serveCometScript.. var serveCometScript
Returns the Comet script as a JavaScript response
(LiftSession, Req) => Box[LiftResponse]
servletAsyncProvider.. var servletAsyncProvider
Provides the async provider instance responsible for suspending/resuming requests
(HTTPRequest) => ServletAsyncProvider
sessionCreator.. var sessionCreator
A function that takes the HTTPSession and the contextPath as parameters and returns a LiftSession reference [details]
This can be used in cases subclassing LiftSession is necessary.
(HTTPSession, String) => LiftSession
siteMap.. def siteMap Box[SiteMap]
siteMapFailRedirectLocation.. var siteMapFailRedirectLocation
The default location to send people if SiteMap access control fails [details]
The path is expressed a a List[String]
List[String]
snippetDispatch.. val snippetDispatch
The dispatcher that takes a Snippet and converts it to a DispatchSnippet instance
RulesSeq[PartialFunction]
snippetFailedFunc.. val snippetFailedFunc
Set a snippet failure handler here [details]
The class and method for the snippet are passed in
RulesSeq[(SnippetFailure) => Unit]
snippetNamesToSearch.. var snippetNamesToSearch
Function that generates variants on snippet names to search for, given the name from the template [details]
The default implementation just returns name :: Nil (e.g. no change). The names are searched in order. See also searchSnippetsWithRequestPath for an implementation.
FactoryMaker[(String) => List[String]]
snippets.. val snippets
Holds the user's snippet functions that will be executed by lift given a certain path
RulesSeq[PartialFunction]
statefulRewrite.. val statefulRewrite
Holds the user's rewrite functions that can alter the URI parts and query parameters [details]
This rewrite takes place within the scope of the S state so SessionVars and other session-related information is available.
RulesSeq[PartialFunction]
statelessDispatchTable.. val statelessDispatchTable
Holds user's DispatchPF functions that will be executed in a stateless context [details]
This means that S object is not availble yet.
RulesSeq[PartialFunction]
statelessRewrite.. val statelessRewrite
Holds the user's rewrite functions that can alter the URI parts and query parameters [details]
This rewrite is performed very early in the HTTP request cycle and may not include any state. This rewrite is meant to rewrite requests for statelessDispatch
RulesSeq[PartialFunction]
stdRequestTimeout.. var stdRequestTimeout
If you want the standard (non-AJAX) request timeout to be something other than 10 seconds, put the value here
Box[Int]
stripComments.. val stripComments
Should comments be stripped from the served XHTML
FactoryMaker[Boolean]
suffixSplitters.. val suffixSplitters
Determins the path parts and suffix from given path parts
RulesSeq[PartialFunction]
supplimentalHeaders.. var supplimentalHeaders (HTTPResponse) => Unit
templateCache.. var templateCache Box[TemplateCache[(Locale, List[String]), NodeSeq]]
timeZoneCalculator.. var timeZoneCalculator
A function that takes the current HTTP request and returns the current
(Box[HTTPRequest]) => TimeZone
unloadHooks.. val unloadHooks
Hooks to be run when LiftServlet [details]
destroy is called.
RulesSeq[() => Unit]
unusedFunctionsLifeTime.. var unusedFunctionsLifeTime
If Lift garbage collection is enabled, functions that are not seen in the page for this period of time (given in milliseonds) will be discarded, hence eligibe for garbage collection [details]
The default value is 10 minutes.
Long
uriNotFound.. val uriNotFound
The list of partial function for defining the behavior of what happens when URI is invalid and you're not using a site map
RulesSeq[PartialFunction]
urlDecorate.. val urlDecorate
Use this PartialFunction to to automatically add static URL parameters to any URL reference from the markup of Ajax request
RulesSeq[PartialFunction]
useXhtmlMimeType.. var useXhtmlMimeType
If you don't want lift to send the application/xhtml+xml mime type to those browsers that understand it, then set this to { @code false }
Boolean
viewDispatch.. val viewDispatch
Change this variable to set view dispatching
RulesSeq[PartialFunction]
xhtmlValidator.. var xhtmlValidator
Define the XHTML validator
Box[XHtmlValidator]

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
addToPackages.. def addToPackages(what : String)
Tells Lift where to find Snippets,Views, Comet Actors and Lift ORM Model object
Unit
addToPackages.. def addToPackages(what : Package)
Tells Lift where to find Snippets,Views, Comet Actors and Lift ORM Model object
Unit
appendGlobalFormBuilder.. def appendGlobalFormBuilder[T](builder : FormBuilderLocator[T]) Unit FormVendor
appendRequestFormBuilder.. def appendRequestFormBuilder[T](builder : FormBuilderLocator[T]) Unit FormVendor
appendSessionFormBuilder.. def appendSessionFormBuilder[T](builder : FormBuilderLocator[T]) Unit FormVendor
asInstanceOf.. final def asInstanceOf[T0] T0 Any
buildPackage.. def buildPackage(end : String)
Used by Lift to construct full pacakge names fromthe packages provided to addToPackages function
List[String]
clone.. protected def clone Object AnyRef
cometLogger_=.. def cometLogger_=(newLogger : Logger)
Holds the CometLogger that will be used to log comet activity
Unit
configureLogging.. def configureLogging
Holds the function that configures logging [details]
Must be set before any loggers are created
() => Unit
configureLogging_=.. def configureLogging_=(newConfigurer : () => Unit)
Holds the function that configures logging [details]
Must be set before any loggers are created
Unit
defaultGetResource.. def defaultGetResource(name : String)
Obtain the resource URL by name
Box[URL]
defaultLocaleCalculator.. def defaultLocaleCalculator(request : Box[HTTPRequest]) Locale
defaultTimeZoneCalculator.. def defaultTimeZoneCalculator(request : Box[HTTPRequest]) TimeZone
doWith.. def doWith[F, T](builder : FormBuilderLocator[T])(f : => F) F FormVendor
doWithResource.. def doWithResource[T](name : String)(f : (InputStream) => T)
Open a resource by name and process its contents using the supplied function
Box[T]
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
fixCSS.. def fixCSS(path : List[String], prefix : Box[String])
Modifies the root relative paths from the css url-s [details]
param
path - - the path of the css resource
pre
- fix - the prefix to be added on the root relative paths. If this is Empty the prefix will be the application context path.
Unit
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
inject.. implicit def inject[T](arg0 : Manifest[T]) Box[T] SimpleInjector
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
loadResource.. def loadResource(name : String)
Obtain the resource as an array of bytes by name
Box[Array[Byte]]
loadResourceAsString.. def loadResourceAsString(name : String)
Obtain the resource as a String by name
Box[String]
loadResourceAsXml.. def loadResourceAsXml(name : String)
Obtain the resource as an XML by name [details]
If you're using this to load a template, consider using the TemplateFinder object instead.
see
- TemplateFinder
Box[NodeSeq]
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
performTransform.. def performTransform(in : LiftResponse)
Runs responseTransformers
LiftResponse
prependGlobalFormBuilder.. def prependGlobalFormBuilder[T](builder : FormBuilderLocator[T]) Unit FormVendor
prependRequestFormBuilder.. def prependRequestFormBuilder[T](builder : FormBuilderLocator[T]) Unit FormVendor
prependSessionFormBuilder.. def prependSessionFormBuilder[T](builder : FormBuilderLocator[T]) Unit FormVendor
registerInjection.. def registerInjection[T](arg0 : () => T) Unit SimpleInjector
searchSnippetsWithRequestPath.. def searchSnippetsWithRequestPath(name : String)
Implementation for snippetNamesToSearch that looks first in a package named by taking the current template path [details]
For example, suppose the following is configured in Boot: LiftRules.snippetNamesToSearch.default.set(() => LiftRules.searchSnippetsWithRequestPath) LiftRules.addToPackages("com.mycompany.myapp") LiftRules.addToPackages("com.mycompany.mylib") The tag in template foo/bar/baz.html would search for the snippet in the following locations: - com.mycompany.myapp.snippet.foo.bar.MySnippet - com.mycompany.myapp.snippet.MySnippet - com.mycompany.mylib.snippet.foo.bar.MySnippet - com.mycompany.mylib.snippet.MySnippet - and then the Lift builtin snippet packages
List[String]
setContext.. def setContext(in : HTTPContext)
Sets the HTTPContext
Unit
setSiteMap.. def setSiteMap(sm : => SiteMap)
Define the sitemap
Unit
setSiteMapFunc.. def setSiteMapFunc(smf : () => SiteMap)
Set the sitemap to a function that will be run to generate the sitemap [details]
This allows for changing the SiteMap when in development mode and having the function re-run for each request.
Unit
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
vendForm.. def vendForm[T](implicit man : Manifest[T])
Given a type manifest, vend a form
Box[(T, (T) => Unit) => NodeSeq] FormVendor
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.