Class

net.liftweb.http

RenderOut

Related Doc: package http

Permalink

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
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RenderOut
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

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

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

    Permalink
  3. new RenderOut(xhtml: NodeSeq)

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

    Permalink

    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: Any): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(cmd: JsCmd): RenderOut

    Permalink
  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 destroyScript: Box[JsCmd]

    Permalink

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

  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. val fixedXhtml: Box[NodeSeq]

    Permalink

    is the "fixed" part of the body.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val ignoreHtmlOnJs: Boolean

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  • final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  • final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  • val script: Box[JsCmd]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  • final def wait(): Unit

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

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

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

    Permalink

    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