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

Annotations
@serializable()
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. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def ++ (cmd: JsCmd): RenderOut

  5. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  6. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    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. def eq (arg0: AnyRef): Boolean

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

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

  • def isInstanceOf [T0] : Boolean

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  • def toString (): String

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

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

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

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

      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