net.liftweb.http

GUIDJsExp

class GUIDJsExp extends JsExp

A long time ago, Lift was going to track every function/GUID combination vended to a web page with extreme granularity. This meant that for every function/GUID vended, Lift would put that GUID in an attribute associated with the element on the page. In order to capture the GUIDs, some methods like SHtml.ajaxCall() returned a Tuple containing the GUID and the JsExp. This caused confusion and ugly code. So, the GUIDJsExp came into being. Basically, it's backward compatible with the Tuple (String, JsExp), but it functions like a JsExp (although you don't even have to call .toJsCmd because the toString method returns the expresion itself). It should make the ajaxCall()._2.toJsCmd thing into ajaxCall().

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GUIDJsExp
  2. JsExp
  3. ToJsCmd
  4. HtmlFixer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GUIDJsExp(guid: String, exp: JsExp)

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. def +(right: JsExp): JsExp

    Definition Classes
    JsExp
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def ===(right: JsExp): JsExp

    Definition Classes
    JsExp
  8. def _1: String

  9. def _2: JsExp

  10. def appendToParent(parentName: String): JsCmd

    Definition Classes
    JsExp
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def cmd: JsCmd

    Definition Classes
    JsExp
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(other: Any): Boolean

    Definition Classes
    JsExp → AnyRef → Any
  16. val exp: JsExp

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def fixHtmlAndJs(uid: String, content: NodeSeq): (String, List[JsCmd])

    Super important.

    Super important... call fixHtml at instance creation time and only once This method must be run in the context of the thing creating the XHTML to capture the bound functions

    Attributes
    protected
    Definition Classes
    HtmlFixer
  19. def fixHtmlCmdFunc(uid: String, content: NodeSeq)(f: (String) ⇒ String): String

    Calls fixHtmlAndJs and if there's embedded script tags, append the JsCmds to the String returned from applying the function to the enclosed HTML.

    Calls fixHtmlAndJs and if there's embedded script tags, append the JsCmds to the String returned from applying the function to the enclosed HTML. For use when converting a JsCmd that contains HTML.

    Definition Classes
    HtmlFixer
  20. def fixHtmlFunc(uid: String, content: NodeSeq)(f: (String) ⇒ String): String

    Calls fixHtmlAndJs and if there's embedded script tags, construct a function that executes the contents of the scripts then evaluations to Expression.

    Calls fixHtmlAndJs and if there's embedded script tags, construct a function that executes the contents of the scripts then evaluations to Expression. For use when converting a JsExp that contains HTML.

    Definition Classes
    HtmlFixer
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. val guid: String

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  28. def product: (String, JsExp)

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toJsCmd: String

    Definition Classes
    GUIDJsExpJsExpToJsCmd
  31. def toString(): String

    Definition Classes
    GUIDJsExpJsExp → AnyRef → Any
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def ~>(right: Box[JsMember]): JsExp

    Definition Classes
    JsExp
  36. def ~>(right: JsMember): JsExp

    ~> accesses a property in the current JsExp

    ~> accesses a property in the current JsExp

    Definition Classes
    JsExp

Deprecated Value Members

  1. def >>(right: JsMember): JsExp

    This exists for backward compatibility reasons for JQueryLeft and JQueryRight which are now deprecated.

    This exists for backward compatibility reasons for JQueryLeft and JQueryRight which are now deprecated. Use ~> whenever possible as this will be removed soon.

    Definition Classes
    JsExp
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3) Use ~> instead

  2. def fixHtml(uid: String, content: NodeSeq): String

    Super important.

    Super important... call fixHtml at instance creation time and only once This method must be run in the context of the thing creating the XHTML to capture the bound functions

    Attributes
    protected
    Definition Classes
    HtmlFixer
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4) Use fixHtmlAndJs or fixHtmlFunc

Inherited from JsExp

Inherited from ToJsCmd

Inherited from HtmlFixer

Inherited from AnyRef

Inherited from Any

Ungrouped