package js
- Alphabetic
- Public
- All
Type Members
-
case class
AjaxInfo
(data: JsExp, action: String, timeout: Long, cache: Boolean, dataType: String, successFunc: Box[String], failFunc: Box[String]) extends Product with Serializable
Represents the meta data of an Ajax request.
- trait HtmlFixer extends AnyRef
-
trait
JSArtifacts
extends AnyRef
Abstracted JavaScript artifacts used by lift core.
- trait JsCmd extends HtmlFixer with ToJsCmd
-
class
JsCommands
extends AnyRef
A container for accumulating
JsCmd
s that need to be sent to the client.A container for accumulating
JsCmd
s that need to be sent to the client. WhentoResponse
is called to finalize the response, in addition to the JS passed directly to this instance, the commands inS.jsToAppend
are also read and included in the response. Also in this process, all of theJsCmd
instances have theirtoJsCmd
methods called to convert them to a string.- Note
The contents of
jsToAppend
are cleared in this process!
-
trait
JsExp
extends HtmlFixer with ToJsCmd
The basic JavaScript expression
- trait JsMember extends AnyRef
- trait JsObj extends JsExp
- case class JsonCall (funcId: String) extends Product with Serializable
- case class Jx (child: NodeSeq) extends Node with JxBase with JxYieldFunc with Product with Serializable
- case class JxAttr (in: JsCmd) extends Node with JxBase with Product with Serializable
- trait JxBase extends AnyRef
- case class JxCase (toMatch: JsExp, toDo: NodeSeq) extends Product with Serializable
- case class JxCmd (in: JsCmd) extends Node with JxBase with Product with Serializable
- case class JxFuncAttr (in: JsCmd) extends Node with JxBase with Product with Serializable
- case class JxIf (toTest: JsExp, ifTrue: NodeSeq) extends Node with JxBase with Product with Serializable
- case class JxIfElse (toTest: JsExp, ifTrue: NodeSeq, ifFalse: NodeSeq) extends Node with JxBase with Product with Serializable
- case class JxMap (in: JsExp, what: JxYieldFunc) extends Node with JxBase with Product with Serializable
- case class JxMatch (exp: JsExp, cases: JxCase*) extends Node with JxBase with Product with Serializable
- abstract class JxNodeBase extends Node with JxBase
- trait JxYieldFunc extends AnyRef
Value Members
-
object
AjaxInfo
extends Serializable
The companion module for AjaxInfo that provides different construction schemes
-
object
JE
JavaScript Expressions.
JavaScript Expressions. To see these in action, check out sites/example/src/webapp/json.html
- object JsCmd
- object JsCmds
- object JsCommands
-
object
JsExp
The companion object to JsExp that has some helpful conversions to/from Lift's JSON library
-
object
JsRules
A collection of defaults for JavaScript related stuff
-
object
LiftJavaScript
Create a javascript command that will initialize lift.js using LiftRules.