You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")
}
The text was updated successfully, but these errors were encountered:
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:The text was updated successfully, but these errors were encountered: