object Comet extends DispatchSnippet with LazyLoggable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Comet
- LazyLoggable
- DispatchSnippet
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
DispatchIt = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]
- Definition Classes
- DispatchSnippet
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
containerForCometActor(cometActor: LiftCometActor, cometHtml: Box[NodeSeq] = Empty): NodeSeq
Given a comet actor and the HTML contents for that actor, renders it into a container and returns the results.
Given a comet actor and the HTML contents for that actor, renders it into a container and returns the results. Waits up to the timeout specified by the comet actor's
cometRenderTimeout
property and then fails if the actor has not yet properly rendered. -
def
dispatch: DispatchIt
- Definition Classes
- Comet → DispatchSnippet
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLoggable
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
render(cometHtml: NodeSeq): NodeSeq
A typical comet tag could look like:
A typical comet tag could look like:
{xhtml}
For the name, you have three options
- You can set a fixed name using
name=MyComet
- You can use a query parameter using
metaname
; e.g., for a url likefoo?id=122
, your comet could take the name "122" if you use:metaname=id
- You could assign a random name by using
randomname=true
- You can set a fixed name using
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- 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
- @native() @throws( ... )