net.liftweb.http.js.JsCmds

SetHtml

case class SetHtml(uid: String, content: NodeSeq) extends JsCmd with Product with Serializable

Replaces the content of the node with the provided id with the markup given by content

This is analogous to assigning a new value to a DOM object's innerHtml property in Javascript.

content

- the new content

Linear Supertypes
Serializable, Serializable, Product, Equals, JsCmd, ToJsCmd, HtmlFixer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SetHtml
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JsCmd
  7. ToJsCmd
  8. HtmlFixer
  9. AnyRef
  10. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SetHtml(uid: String, content: NodeSeq)

    content

    - the new content

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 &(other: JsCmd): JsCmd

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

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

    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def canEqual(arg0: Any): Boolean

    Definition Classes
    SetHtml → Equals
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val content: NodeSeq

    - the new content

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    SetHtml → Equals → AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. 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
  15. 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
  16. 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
  17. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  23. def productArity: Int

    Definition Classes
    SetHtml → Product
  24. def productElement(arg0: Int): Any

    Definition Classes
    SetHtml → Product
  25. def productIterator: Iterator[Any]

    Definition Classes
    Product
  26. def productPrefix: String

    Definition Classes
    SetHtml → Product
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. val toJsCmd: String

    Definition Classes
    SetHtmlJsCmdToJsCmd
  29. def toString(): String

    Definition Classes
    JsCmd → AnyRef → Any
  30. val uid: String

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. 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

  2. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JsCmd

Inherited from ToJsCmd

Inherited from HtmlFixer

Inherited from AnyRef

Inherited from Any