Class

net.liftweb.http.js.JsCmds

SetHtml

Related Doc: package JsCmds

Permalink

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
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SetHtml
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JsCmd
  7. ToJsCmd
  8. HtmlFixer
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    content

    - the new content

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &(other: JsCmd): JsCmd

    Permalink
    Definition Classes
    JsCmd
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink

    - the new content

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

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

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

    Permalink

    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
  11. def fixHtmlCmdFunc(uid: String, content: NodeSeq)(f: (String) ⇒ String): String

    Permalink

    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
  12. def fixHtmlFunc(uid: String, content: NodeSeq)(f: (String) ⇒ String): String

    Permalink

    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
  13. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. val toJsCmd: String

    Permalink
    Definition Classes
    SetHtmlJsCmdToJsCmd
  20. def toString(): String

    Permalink
    Definition Classes
    JsCmd → AnyRef → Any
  21. val uid: String

    Permalink
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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

Ungrouped