[Lift] Re: Standardizing widget APIs

2009-07-12 Thread marius d.
Well widgets don't have a whole lot of commonalities besides the init () method. Regarding destroy() that would probably be helpful for widgets that are communicating remotely with other services. The rest of the widget functions are mostly very specific helper functions that renders markup, JS

[Lift] Re: On GAE and Lift

2009-07-12 Thread marius d.
On Jul 12, 9:16 am, TakeTheStage forthepo...@gmail.com wrote: Hello, new to both Scala and Lift. After weighing several options, I've decided to create a new app using Lift, with GAE for hosting. As such, I chose Lift due to its support for concurrency, inherited from its Scala base. Ok,

[Lift] Re: On GAE and Lift

2009-07-12 Thread TakeTheStage
Thanks for the data! Yeah, not a fan of needless uphill battles, seems I'll avoid GAE for now. Took a look at Stax. Seems it's still in beta, and uses Amazon Web Services; I'll probably just go with Amazon as well. Anyone have any experience with EC2 and Lift? On Jul 12, 4:05 pm, marius d.

[Lift] Sense check please!

2009-07-12 Thread Timothy Perrett
Hey guys, Implementing this upload progress widget with comet, I just wanted a quick sense check about how to organize things. As the CometActor for a particular session will be instantiated adhoc, and the LiftRules.progessListener is global, my current thinking is to register a given comet

[Lift] Re: Sense check please!

2009-07-12 Thread marius d.
Why not use the progessListener from the LiftSession ? Br's, Marius On Jul 12, 9:57 pm, Timothy Perrett timo...@getintheloop.eu wrote: Hey guys, Implementing this upload progress widget with comet, I just wanted a quick sense check about how to organize things. As the CometActor for a

[Lift] Re: Sense check please!

2009-07-12 Thread Timothy Perrett
Right... I haven't tried / tested anything yet... This was just for illustration and nothing more. Cheers, Tim Sent from my iPhone On 12 Jul 2009, at 21:58, Naftoli Gugenhem naftoli...@gmail.com wrote: Why are you mapping it, and why are you opening it, and why are you using a default

[Lift] external link to URL known at runtime

2009-07-12 Thread chrislewis
Hello list, I need to generate a link from a field in a database. SHtml.link. I'm using bind like so: Track.findAll.flatMap(track = bind(track, xhtml, name - Text(track.name), viewUrl - link(track.viewUrl, () = { println (clicked!?) }, Text(track.name)) ) )

[Lift] Re: ANN: Akka Actor Kernel: RESTful Distributed Persistent Transactional Actors

2009-07-12 Thread TylerWeir
Jonas, How do you see Akka integrating with Lift and/or GoatRodeo? On first impression there seem to be a few overlaps that could fit together nicely. Or maybe a bit of code sharing. Tyler On Jul 12, 6:58 pm, Jonas Bonér jbo...@gmail.com wrote: Hi guys. I just released the first