Hello, I don't quite understand what a more REST orientated approach. Do you mean purely client-side comet actor interface? I personally would love to write javascript like this:
lift.comet.MyActor.listeners.add(myListener); lift.comet.MyActor.send(myJSObj); I've been emulating this type of interface by wrapping this.jsonCall (where this refers to a comet actor instance) with javascript function. Unfortunately, I had to jump through a number of hoops to get this method to work correctly. Thanks, Xavi On Sun, Jul 26, 2009 at 12:05 PM, Timothy Perrett<timo...@getintheloop.eu> wrote: > > Hey folks, > > As you may or may not know, i'm currently working on integrating lift > with objective-j... One of the things i'm keen to integrate is lifts > comet support. The current implementation of CometActor is pretty much > based around javascript and manipulating the DOM. This is great for > the vast majority of use cases however its not so great when you want > a a more REST orientated approach. > > Id like to have a comet option that could mean i could push data back > down the wire, but with dispatchPF, not with <lift:comet....>. > > What are peoples thoughts? I took a look at this but its so deep > inside the lift internals its a bit deep for me to delve without more > information on how i could go about implementing this. > > Thoughts? > > Cheers, Tim > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---