[Lift] Redirecting a user from Comet Actor

2009-03-19 Thread Timothy Perrett
Is their any way to avoid a response shortcut exception when trying to redirect from Comet Actor? Cheers, Tim On Mar 18, 11:37 am, Tim Perrett timo...@getintheloop.eu wrote: Guys, I have a situation where by im using comet actors to watch something on a 3rd party system. Now, when the

[Lift] Re: Redirecting a user from Comet Actor

2009-03-19 Thread Derek Chen-Becker
This is off the top of my head (no code test), but could you return a net.liftweb.http.js.JsCmds.RedirectTo To the client via the partialRender or render methods on the CometActor? That would fire a client-side window.location=... IIRC. Derek On Thu, Mar 19, 2009 at 3:20 AM, Timothy Perrett

[Lift] Re: Redirecting a user from Comet Actor

2009-03-19 Thread Timothy Perrett
Just the ticket - thanks Derek. On Mar 19, 10:37 am, Derek Chen-Becker dchenbec...@gmail.com wrote: This is off the top of my head (no code test), but could you return a net.liftweb.http.js.JsCmds.RedirectTo To the client via the partialRender or render methods on the CometActor? That would

[Lift] Re: IDE

2009-03-19 Thread Alexander Kellett
is it possible for lift to block until such compiles are redone? the compiler is simply too slow at this point to be used with such an interactive cycle for me alas. i reload and get either the old, or 500s. simply too error prone. Alex On Thu, Mar 5, 2009 at 6:02 AM, David Pollak

[Lift] horizontal navbar drop-downs

2009-03-19 Thread DavidV
I'm wondering if there is a built-in way to create drop-down menus from a horizontal navbar using the Menu.builder method. These are the relevant sections of my current template: titleMy Titlelift:Menu.title / /title lift:StyleSheet.entryForm / lift:StyleSheet.fancyType / script

[Lift] Re: IDE

2009-03-19 Thread Timothy Perrett
Alex, you could always use JavaRebel... This will replace the classes dynamically for you instantly (no more Jetty reboots required, just browser refresh). They do a scala only version of JavaRebel that you can download for free. Thanks Tim On 19/03/2009 15:12, Alexander Kellett

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
This is something that has been asked before, but I don't think there was anything out there. I think that this would be a really nice feature, particularly if it could leverage the existing jQuery stuff. IIRC, the built-in Menu snippet doesn't render children at all unless the parent is the

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread David Pollak
On Thu, Mar 19, 2009 at 9:30 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: This is something that has been asked before, but I don't think there was anything out there. I think that this would be a really nice feature, particularly if it could leverage the existing jQuery stuff. IIRC, the

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread marius d.
I'm wondering if we shouldn't provide this by the means of a Lift widget. Looks like a needed feature ... WDYT ? Br's, Marius On Mar 19, 6:43 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Mar 19, 2009 at 9:30 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: This is

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread David Pollak
On Thu, Mar 19, 2009 at 9:50 AM, marius d. marius.dan...@gmail.com wrote: I'm wondering if we shouldn't provide this by the means of a Lift widget. Looks like a needed feature ... WDYT ? Sounds good to me. Br's, Marius On Mar 19, 6:43 pm, David Pollak feeder.of.the.be...@gmail.com

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
Cool! If Dan can share some code that would help, but in any case I don't think this is going to be a huge chunk of code. Derek On Thu, Mar 19, 2009 at 11:52 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Mar 19, 2009 at 9:50 AM, marius d. marius.dan...@gmail.comwrote: I'm

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
Added a ticket for the enhancement: http://liftweb.lighthouseapp.com/projects/26102/tickets/24-create-lift-widget-for-drop-down-menus Derek On Thu, Mar 19, 2009 at 11:59 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Cool! If Dan can share some code that would help, but in any case I don't

[Lift] Re: Forms validation formatter

2009-03-19 Thread marius d.
On Mar 18, 11:24 pm, Clemens clemens.oer...@gmail.com wrote: Thank you for your patience, Marius. Well you can use different RecordMeta implementations if you need to different representation of a record without sequential template change. So no state dependency. , b I'm really not

[Lift] Re: Forms validation formatter

2009-03-19 Thread marius d.
On Mar 19, 7:08 pm, marius d. marius.dan...@gmail.com wrote: On Mar 18, 11:24 pm, Clemens clemens.oer...@gmail.com wrote: Thank you for your patience, Marius. Well you can use different RecordMeta implementations if you need to different representation of a record without sequential

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread DavidV
That would definitely be very useful! The more widgets the better! In the meantime, I'll use the navbar that I have right now, which is perfectly functional but not aesthetically what I'm going for. Thanks again for the help. -David On Mar 19, 12:04 pm, Derek Chen-Becker dchenbec...@gmail.com

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread marius d.
Derek let me know if you want to own this ... otherwise I'll take it if no one else claims it ... after I'm added to the magic owner list on lighthouse :D On Mar 19, 7:04 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Added a ticket for the enhancement:

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
Feel free to take it when we let you ;). On Thu, Mar 19, 2009 at 1:16 PM, marius d. marius.dan...@gmail.com wrote: Derek let me know if you want to own this ... otherwise I'll take it if no one else claims it ... after I'm added to the magic owner list on lighthouse :D On Mar 19, 7:04 pm,

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Timothy Perrett
@marius: You might want to ping Debby, as I belive she setup the lighthouse account for Lift... Perhaps she is the gate keeper? Cheers, Tim On 19/03/2009 19:30, Derek Chen-Becker dchenbec...@gmail.com wrote: Feel free to take it when we let you ;). On Thu, Mar 19, 2009 at 1:16 PM, marius

[Lift] Decoupling Lifts Template System

2009-03-19 Thread Tim Perrett
Guys, What would it take to decouple Lifts template system? Specifically, im interested in reusing a bunch of the localization and view componentry. I know that wa back there was talk of doing this. For instance, lets say that you wanted filesystem view storage, rather than views being held

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread marius d.
Yeah I did ... thanks. On Mar 19, 9:34 pm, Timothy Perrett timo...@getintheloop.eu wrote: @marius: You might want to ping Debby, as I belive she setup the lighthouse account for Lift... Perhaps she is the gate keeper? Cheers, Tim On 19/03/2009 19:30, Derek Chen-Becker

[Lift] Mapper to Record ORM

2009-03-19 Thread Alex
I have been looking through Lift documents trying to figure out what to do about an ORM for my first Lift app. The migration from Mapper to Record also adds uncertainty. I don't really want to commit to an ORM that will be deprecated in 2 months. Is there somewhere I can read about the design

[Lift] Lift as a UI in server side OSGi

2009-03-19 Thread chad skinner
I am trying to redesign our web applications into a more services / component based system that would allow us to add features without having to worry about breaking other components. I have been investigating OSGi as a framework utilizing EJB3 and JPA. So far I have (at least I believe) all of

[Lift] Lift Web, why no download of a zipped archive on the website?

2009-03-19 Thread BerlinBrown
http://liftweb.net/download.html Call me old fashion, but why can't there simply be a download on the download page? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread marius d.
Hi Chad, On Mar 19, 9:45 pm, chad skinner chadwskin...@gmail.com wrote: I am trying to redesign our web applications into a more services / component based system that would allow us to add features without having to worry about breaking other components. I have been investigating OSGi as a

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread Jan Lohre
Not that there is much action (last update was in 2007) but it might be worthwhile to look at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=128068 Maybe votes help to get the enhancement request be resolved. The sugested workaround (FilterServletAdaptor) might also help to get the LiftFilter

[Lift] Re: Lift Web, why no download of a zipped archive on the website?

2009-03-19 Thread marius d.
I guess it would be beneficial for the zip to contain the built artifacts such as http://scala-tools.org/hudson/job/lift/643/ ... and a little script that would push them into the local maven repository ? Br's, Marius On Mar 19, 10:34 pm, BerlinBrown berlin.br...@gmail.com wrote:

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread David Pollak
+1 on making Lift work with OSGi +1 on ripping the logic out of both the Servlet and ServletFilter implementations and moving them elsewhere. This will be necessary to do portlets anyway. On Thu, Mar 19, 2009 at 1:45 PM, marius d. marius.dan...@gmail.com wrote: Hi Chad, On Mar 19, 9:45 pm,

[Lift] Re: Decoupling Lifts Template System

2009-03-19 Thread Jorge Ortiz
I hadn't thought about localization. That makes things a bit trickier. Part of my goal was to make methods that allow you to easily access template functionality programmatically. For example: def lift_surround(template: Box[String], at: Box[String])(child: NodeSeq): NodeSeq def

[Lift] Re: Lift Web, why no download of a zipped archive on the website?

2009-03-19 Thread Jorge Ortiz
If you want the sources, GitHub makes them available here: http://github.com/dpp/liftweb/downloads If you want the binaries... We'll, you'll want to use Maven anyway. Just get that, really. --j On Thu, Mar 19, 2009 at 1:34 PM, BerlinBrown berlin.br...@gmail.com wrote:

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Charles F. Munat
You should take a look at Superfish: http://users.tpg.com.au/j_birch/plugins/superfish/ It's probably the best looking and slickest of the menu bars I've seen, and it can work horizontally or vertically. It's pretty accessible to persons with disabilities as it's basically implemented via

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread Chad Skinner
On Thu, Mar 19, 2009 at 5:44 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Chad, What would be most helpful is if you could mock up and example with servlets (written in Scala or Java). If I have something that I can run and test, then I can figure out how to shim Lift into it.

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
That's awesome. Are there restrictions that would prevent us from just including the superfish script file (and CSS) as part of a widget? It looks like it wants ULs anyways, which is what Lift already outputs. From what DPP said, it should be easy to dump the entire menu as a full UL (with

[Lift] Re: List of existing Lift deployments

2009-03-19 Thread Alex
Hopefully the list will get longer :) Perhaps a wiki page of existing deployments would be in order - there could be more out there. I love Scala and can't stand the idea of using another duck-typed language for an enterprise application so I can't wait for Lift to be more widely used. On Mar