Mailing List thread
Example page in a wider project - you know how to find the Scala code.
I have a Comet Actor which uses LazyLoad.render programmatically to lazy load part of its display. When the lazy loading is complete the rendered NodeSeq contains further Comet Actors. These display initially, however no further updates occur - rerendering of the nested Comet Actors are not passed to the page.
Workaround
Create your own MyLazyLoad Actor and, if required programmatically, initialise it as so:
S.findOrCreateComet("MyLazyLoad", Full(Helpers.nextFuncName), ns, S.attrsFlattenToMap, true).map { foundComet =>
foundComet ! MyLazyLoad.Init(initData)
Comet.containerForCometActor(foundComet, Full(ns))
} match {
case Full(cometContainer) => cometContainer
case failedResult => throw new IllegalArgumentException(s"$failedResult")
}
Mailing List thread
Example page in a wider project - you know how to find the Scala code.
I have a Comet Actor which uses
LazyLoad.renderprogrammatically to lazy load part of its display. When the lazy loading is complete the rendered NodeSeq contains further Comet Actors. These display initially, however no further updates occur - rerendering of the nested Comet Actors are not passed to the page.Workaround
Create your own
MyLazyLoadActor and, if required programmatically, initialise it as so: