The RenderOut case class contains the rendering for the CometActor.
Because of the implicit conversions, RenderOut can come from
is the "normal" render body
is the "fixed" part of the body. This is ignored unless reRender(true)
is the script to be executed on render. This is where you want to put your script
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.)
-- 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