net.liftweb.http.js.JsCmds

Replace

case class Replace(id: String, content: NodeSeq) extends JsCmd with Product with Serializable

Replaces the node having the provided id with the markup given by node

id

- the id of the node that will be replaced

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. Replace
  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 Replace(id: String, content: NodeSeq)

    id

    - the id of the node that will be replaced

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
    Replace → Equals
  9. def clone(): AnyRef

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

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

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

    Definition Classes
    Replace → 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
    Replace → AnyRef → Any
  19. val id: String

    - the id of the node that will be replaced

  20. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  24. def productArity: Int

    Definition Classes
    Replace → Product
  25. def productElement(arg0: Int): Any

    Definition Classes
    Replace → Product
  26. def productIterator: Iterator[Any]

    Definition Classes
    Product
  27. def productPrefix: String

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

    Definition Classes
    AnyRef
  29. val toJsCmd: String

    Definition Classes
    ReplaceJsCmdToJsCmd
  30. def toString(): String

    Definition Classes
    JsCmd → AnyRef → Any
  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