[Lift] How to correctly use MappedDateTime

2009-03-21 Thread tclendenen
As an exercise I've added a deadline object to the ToDo class. It works as expected except that the time is always set to midnight (ex. 2009-07-16 00:00:00.0) in the database. Is this the expected behavior? Any help is appreciated. --~--~-~--~~~---~--~~ You rece

[Lift] Re: Where are the lift jars?

2009-03-21 Thread Alex
Click on Edit User: XML Parsing Error: prefix not bound to a namespace Location: http://localhost:8080/user_mgt/edit Line Number 5, Column 38: I think I got another error before there were any transactions in the system, but don't remember what it was. I figured it's an alpha demo so I can't ex

[Lift] Re: Welcome Charles Munat to the Lift committers

2009-03-21 Thread Charles F. Munat
Thanks, everyone. I will try to do only smart things. (I'll begin by not spamming the list with thank yous. This one is generic, but heartfelt.) Chas. Lee Mighdoll wrote: > Welcome! Soon, Lift will be unstoppable. > > On Sat, Mar 21, 2009 at 3:48 AM, Timothy Perrett > wrote: > > > We

[Lift] Re: Welcome Charles Munat to the Lift committers

2009-03-21 Thread Lee Mighdoll
Welcome! Soon, Lift will be unstoppable. On Sat, Mar 21, 2009 at 3:48 AM, Timothy Perrett wrote: > > Welcome to the team Chas :-) > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to thi

[Lift] Re: Menu widget

2009-03-21 Thread Charles F. Munat
+1 I am understanding exactly what you have in mind and think it's a great idea. I wrote some kludgy code months ago (I knew zero about Scala back then -- now I know *infinity* times more! :-) to do pretty much the same thing, and I ended up completely rewriting the Menu snippet to my own nee

[Lift] Re: IDE

2009-03-21 Thread Alexander Kellett
On Sat, Mar 21, 2009 at 5:12 PM, David Pollak wrote: > It's not a high priority for us to spend a lot of time with classloader > magic to try to figure out what source files relate to which class files > which may or may not be loaded or changed.  So, it's unlikely to happen any > time soon. goo

[Lift] Re: Scala pt_BR

2009-03-21 Thread David Pollak
Paulo, Good stuff. Spreading the lift and scala words in different languages is very helpful. Thanks, David On Mar 21, 2009 10:31 AM, "Paulo Cheque" wrote: Brazilian site about Scala. I pretend to post some tutorials or messages about Lift in portuguese there. When I post I can send another

[Lift] Scala pt_BR

2009-03-21 Thread Paulo Cheque
Brazilian site about Scala. I pretend to post some tutorials or messages about Lift in portuguese there. When I post I can send another message here if there is interest. http://scala.org.br []s Paulo --~--~-~--~~~---~--~~ You received this message because you ar

[Lift] Re: Menu widget

2009-03-21 Thread marius d.
Good point ... perhaps put it on the Lift online demo application? Br's, Marius On Mar 21, 6:29 pm, James Matlik wrote: > Is there a running version of the widgets site online, or is this only > available in source format?  It would be nice to have something like this > linked to the liftweb ho

[Lift] Re: Menu widget

2009-03-21 Thread marius d.
Not sure what to say about having the MenuWidget depending on the builtin Menu snippet. But go ahead ... On Mar 21, 6:22 pm, Derek Chen-Becker wrote: > I think I'm not being very clear. I'm going to modify the builtin Menu > snippet, not SiteMap. In my view, SiteMap should not be concerned with

[Lift] Re: Menu widget

2009-03-21 Thread James Matlik
Is there a running version of the widgets site online, or is this only available in source format? It would be nice to have something like this linked to the liftweb home page or wiki for people to test drive these features at zero cost. I did a quick look there and didn't find anything of the ki

[Lift] Re: Menu widget

2009-03-21 Thread Derek Chen-Becker
I think I'm not being very clear. I'm going to modify the builtin Menu snippet, not SiteMap. In my view, SiteMap should not be concerned with how it's rendered, but the builtin snippet surely should be able to handle this. Once I have the Menu snippet modified, the MenuWidget class would just embed

[Lift] Re: IDE

2009-03-21 Thread David Pollak
On Sat, Mar 21, 2009 at 8:59 AM, Alexander Kellett wrote: > > On Sat, Mar 21, 2009 at 4:49 PM, David Pollak > wrote: > > On Sat, Mar 21, 2009 at 7:24 AM, Alexander Kellett > >> unfortunately, as scala:cc is polling rather than using a filesystem > >> notifier, the latency between file modificati

[Lift] Re: IDE

2009-03-21 Thread Alexander Kellett
On Sat, Mar 21, 2009 at 4:49 PM, David Pollak wrote: > On Sat, Mar 21, 2009 at 7:24 AM, Alexander Kellett >> unfortunately, as scala:cc is polling rather than using a filesystem >> notifier, the latency between file modification and .class update is >> huge. > > This is almost all compilation ti

[Lift] Re: Menu widget

2009-03-21 Thread marius d.
I think I am aware what you meant ... If you want to make SiteMap to know how to render itself as / hence "centralize" this fine by me. I have nothing against it, I just don't see the need ... the good news is that it may be just me ;) The analogy with chooseTemplate is not very relevant IMHO bec

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

2009-03-21 Thread David Pollak
On Fri, Mar 20, 2009 at 8:35 PM, Chad Skinner wrote: > I may be greatly overcomplicating things... I have been trying to read some > of the source code for the LiftServlet.scala and the class comment is: > I'm working with a couple of the OSGi gurus on this issue. They're in town for EclipseCon

[Lift] Re: IDE

2009-03-21 Thread David Pollak
On Sat, Mar 21, 2009 at 7:24 AM, Alexander Kellett wrote: > > thank you for the suggestion (and realy nice of javarebel to make > this available to scala devels!), much nicer than refreshing and > getting a jetty no-contexts page. > > unfortunately, as scala:cc is polling rather than using a f

[Lift] Re: Menu widget

2009-03-21 Thread Derek Chen-Becker
Sorry, what I mean is that the builtin Menu snippet code is duplicated, not SiteMap. For instance, here's how the builtin snippet generates the ULs: S.request.map(_.buildMenu.lines.toList match { case Nil => List(Text("No Navigation Defined.")) case xs => val liMap =

[Lift] Re: IDE

2009-03-21 Thread Alexander Kellett
seems like java has this: mac via kqueues, jna api but unmerged: http://ochafik.free.fr/blog/?p=119 windows via win32 native, in jna: https://jna.dev.java.net/source/browse/jna/trunk/jnalib/src/com/sun/jna/examples/FileMonitor.java?rev=HEAD&view=markup linux via inotify, sh

[Lift] Re: IDE

2009-03-21 Thread Alexander Kellett
thank you for the suggestion (and realy nice of javarebel to make this available to scala devels!), much nicer than refreshing and getting a jetty no-contexts page. unfortunately, as scala:cc is polling rather than using a filesystem notifier, the latency between file modification and .class

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

2009-03-21 Thread Chad Skinner
I may be greatly overcomplicating things... I have been trying to read some of the source code for the LiftServlet.scala and the class comment is: /** * An implementation of HttpServlet. Just drop this puppy into * your Java web container, do a little magic in web.xml, and * ta-da, you've got

[Lift] Re: Menu widget

2009-03-21 Thread marius d.
Similar approach yes, duplicate not quite. It just utilizes that the API provided by SiteMap, MenuItem etc. and walks through a tree structure and build / constructs. We could make the SiteMap to be self aware of rendering itself to / constructs but personally I don't really see this as being ne

[Lift] Re: Menu widget

2009-03-21 Thread Derek Chen-Becker
Awesome! It looks like you did end up having to essentially duplicate the code in the builtin Menu.builder snippet method to get this working. When I was looking at it I thought that it might be nice to have a general way of making the builtin Menu snippet just render the whole tree in case anyone

[Lift] Re: Where are the lift jars?

2009-03-21 Thread TylerWeir
> PocketChange app, and I can get it to run (although the current > version is quiet broken and I had to create a postgres db user) but Could you expand on "quite broken" please? On Mar 20, 4:46 pm, Alex wrote: > This is a n00b question, but I've spent a bit too much time trying to > find where

[Lift] Re: Menu widget

2009-03-21 Thread TylerWeir
You are unstoppable Marius! Excellent! On Mar 21, 5:44 am, Marius wrote: > Folks, > > I just committed the menu widget. Now the Widgets test site uses this > widget instead of the traditional builtin menu. You can also specify > the style of the menu using MenuStyle.HORIZONTAL,  MenuStyle.VERTI

[Lift] Re: Welcome Charles Munat to the Lift committers

2009-03-21 Thread Timothy Perrett
Welcome to the team Chas :-) --~--~-~--~~~---~--~~ 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

[Lift] Menu widget

2009-03-21 Thread Marius
Folks, I just committed the menu widget. Now the Widgets test site uses this widget instead of the traditional builtin menu. You can also specify the style of the menu using MenuStyle.HORIZONTAL, MenuStyle.VERTICAL and MenuStyle.NAVBAR. All these thanks to superfish jquery plugin http://users