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. 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 clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. 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.)

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

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val fixedXhtml: Box[NodeSeq]

    is the "fixed" part of the body.

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

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. 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
  • 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
  • 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

  • Inherited from Serializable

    Inherited from Serializable

    Inherited from Product

    Inherited from Equals

    Inherited from AnyRef

    Inherited from Any

    Ungrouped

    ... just doing innerHtml on