Pregunta

We have an event monitor in our project which uses Lift Comet to show real-time events. And there is some query-based filtering for it, but the problem is that many monitor's pages opened in browser share same session, so i can't set up event filtering individually - all pages are using same query. Is there any ability to create actors per page, not per session?

¿Fue útil?

Solución

You need to use the 'name' attribute when you instantiate the comet actor on the page. This should result in new actors being instantiated for each name. You can get at the name assigned to an actor through it's 'name' value.

Usually you'll get quicker & better answers on the Lift mailing list. No accuracy guarantees here ;-)

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top