Adds a cleanup function that will be executed when session is terminated
There may be cases when you are allowed container state (e.
During the HTTP request/response cycle or in a CometActor, Lift populates "S" with information about the current session, the current request, etc.
Define the context path for this session.
Destroy this session and the underlying container session.
Destroy the current session, then create a new session and continue the execution of the code.
Within the scope of the call, this session is forced into statelessness.
Finds a template named name and then runs it throught the Lift processing engine
Find the comet actor by type and name
Finds all Comet actors by type
Find a function in the function lookup table.
Apply HTML specific corrections such as adding the context path etc.
Finds a Comet actor by ID
The partial function that defines how lift tags are processed for this session.
Manages the merge phase of the rendering pipeline
Merge all the head elements into the main head element and move tail stuff to the end of the page.
Processes the surround tag and other lift tags
the name of the page currently being processed
the DOM to process
Convert a template into a Lift Response.
-- the NodeSeq that makes up the page... or the template will be located via findVisibleTemplate
-- the Req the led to this rendering
-- the ParsePath that led to this page
-- the HTTP response code (usually 200)
a Box of LiftResponse with all the proper page rewriting
Set your session-specific progress listener for mime uploads pBytesRead - The total number of bytes, which have been read so far.
Executes the user's functions based on the query parameters
A nicely named proxy for processSurroundAndInclude.
-- the name of the page being processed (for error reporting)
-- the template to process using Lift's templating engine
This method will send a message to a CometActor, whether or not the CometActor is instantiated.
the type of the CometActor
the optional name of the CometActor
the message to send to the CometActor
Allows you to send messages to a CometActor that may or may not be set up yet
Test the statefulness of this session.
Run the code, but if the session is not stateful, then throw a StateInStatelessException
Updates the internal functions mapping
(Since version 2.6) Use legacyIeCompatibilityMode for legacy IE detection instead. This will be removed in Lift 3.0.