net.liftweb.http

RenderOut

case class RenderOut(xhtml: Box[NodeSeq], fixedXhtml: Box[NodeSeq], script: Box[JsCmd], destroyScript: Box[JsCmd], ignoreHtmlOnJs: Boolean) extends Product with Serializable

The RenderOut case class contains the rendering for the CometActor. Because of the implicit conversions, RenderOut can come from

xhtml

is the "normal" render body

fixedXhtml

is the "fixed" part of the body. This is ignored unless reRender(true)

script

is the script to be executed on render. This is where you want to put your script

destroyScript

is executed when the comet widget is redrawn ( e.g., if you register drag or mouse-over or some events, you unregister them here so the page doesn't leak resources.)

ignoreHtmlOnJs

-- if the reason for sending the render is a Comet update, ignore the xhtml part and just run the JS commands. This is useful in IE when you need to redraw the stuff inside

is broken in IE

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RenderOut
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RenderOut(xhtml: NodeSeq, js: JsCmd, destroy: JsCmd)

  2. new RenderOut(xhtml: NodeSeq, js: JsCmd)

  3. new RenderOut(xhtml: NodeSeq)

  4. new RenderOut(xhtml: Box[NodeSeq], fixedXhtml: Box[NodeSeq], script: Box[JsCmd], destroyScript: Box[JsCmd], ignoreHtmlOnJs: Boolean)

    xhtml

    is the "normal" render body

    fixedXhtml

    is the "fixed" part of the body. This is ignored unless reRender(true)

    script

    is the script to be executed on render. This is where you want to put your script

    destroyScript

    is executed when the comet widget is redrawn ( e.g., if you register drag or mouse-over or some events, you unregister them here so the page doesn't leak resources.)

    ignoreHtmlOnJs

    -- if the reason for sending the render is a Comet update, ignore the xhtml part and just run the JS commands. This is useful in IE when you need to redraw the stuff inside

... just doing innerHtml on
is broken in IE

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 ++(cmd: JsCmd): RenderOut

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val destroyScript: Box[JsCmd]

    is executed when the comet widget is redrawn ( e.

    is executed when the comet widget is redrawn ( e.g., if you register drag or mouse-over or some events, you unregister them here so the page doesn't leak resources.)

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. val fixedXhtml: Box[NodeSeq]

    is the "fixed" part of the body.

    is the "fixed" part of the body. This is ignored unless reRender(true)

  15. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    RenderOut → AnyRef → Any
  17. val ignoreHtmlOnJs: Boolean

    -- if the reason for sending the render is a Comet update, ignore the xhtml part and just run the JS commands.

    -- if the reason for sending the render is a Comet update, ignore the xhtml part and just run the JS commands. This is useful in IE when you need to redraw the stuff inside

... just doing innerHtml on
is broken in IE

  • final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  • final def notify(): Unit

    Definition Classes
    AnyRef
  • final def notifyAll(): Unit

    Definition Classes
    AnyRef
  • def productArity: Int

    Definition Classes
    RenderOut → Product
  • def productElement(arg0: Int): Any

    Definition Classes
    RenderOut → Product
  • def productIterator: Iterator[Any]

    Definition Classes
    Product
  • def productPrefix: String

    Definition Classes
    RenderOut → Product
  • val script: Box[JsCmd]

    is the script to be executed on render.

    is the script to be executed on render. This is where you want to put your script

  • final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  • def toString(): String

    Definition Classes
    RenderOut → AnyRef → Any
  • final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  • val xhtml: Box[NodeSeq]

    is the "normal" render body

  • Deprecated Value Members

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

    Inherited from Any

    ... just doing innerHtml on