[Lift] Re: Widgets

2009-04-02 Thread Charles F. Munat
Yeah, I found that (had to download the latest... I'm a bit behind). It gives the gist. Had fun with the TableSorter... The book is looking very good! I think I'm going to try to read it from cover to cover. If I do, I'll send you errata as I go. Chas. Derek Chen-Becker wrote: We have a bit

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Charles F. Munat
Hmmm. This brings up something I've been meaning to ask about. I have a public JPA app which has a log-in only maintenance area. I'm thinking about moving the maintenance part to a subdomain and serving it via SSL. I think it would be easier to pull out a separate sub-project, so I might

[Lift] Wiki example with specs and Mockito

2009-04-02 Thread etorreborre
Hi, The Wiki example specification, which was previously specified using JMock broke when we migrated to Scala 2.7.2 (compiler issue, couldn't solve it). However, the latest version of specs (1.4.4-SNAPSHOT) provides an integration with Mockito which is even nicer when just doing stubbing. So

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Derek Chen-Becker
I don't know if this is typical, but I typically deploy my apps in an EAR, in which case you just add another EAR Build module that packages up the Persistence module as an EJB module (v3) and then adds the WAR(s). It requires that you make some slight changes to the POM for the Persistence module

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Derek Chen-Becker
Works for me :) On Wed, Apr 1, 2009 at 11:51 PM, Timothy Perrett timo...@getintheloop.euwrote: I 100% see why you want a seperate module for persistance, but workflow wise I've found JPA a lot more productive if it's in the lift app as it means you don't have to keep deploying the JAR into

[Lift] Re: Widget CSS

2009-04-02 Thread marius d.
Can you scope your stylesheet props? ... such as adding prefixes to classes etc. ... or use styles per ID-s. Looks to me that even if we change the order the application specific styles could potentially conflict with TableSorter's. The TableSorter's CSS are coming from JQuery plugin and not

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread Bill Venners
Hi David, On Thu, Apr 2, 2009 at 12:11 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Improved testing framework and better testing support when running in test mode. Can you elaborate on what your plans are for this? Thanks. Bill

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread David Pollak
On Thu, Apr 2, 2009 at 2:30 AM, Bill Venners b...@artima.com wrote: Hi David, On Thu, Apr 2, 2009 at 12:11 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Improved testing framework and better testing support when running in test mode. Can you elaborate on what your

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread Josh Suereth
My resources are pretty limited, but I'd love to at least contribute what I can to the OSGi support. I'd love to see a plugin system for lift apps that's sensible! Speaking of which, perhaps a plugin system that's sensible should be part of the list? I know grails does some neat stuff there

[Lift] Re: Widget CSS

2009-04-02 Thread Charles F. Munat
Well, maybe I'm missing something, but when I turn on the TableSorter, the header cells of my table change color to the colors specified in the TableSorter CSS. That's because the colors I set in my default CSS file came earlier in the cascade. It's not a big deal for me, but I thought I'd

[Lift] Re: Menu widget bugginess

2009-04-02 Thread Charles F. Munat
Hmmm. Your google-fu is very powerful! The fix is so simpel! I think this will probably work in this instance, but I'm pretty sure it doesn't work in every case, e.g. form inputs... else why the bother of using iframes via bgiframe.js? But for the Widgets examples, it looks like plain old

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Charles F. Munat
Where is the code for these archetypes and how tricky is it to create them? Chas. Timothy Perrett wrote: I guess if your deploying into an enterprise container, then EAR is fine, however if your deploying into Jetty then you don't have the possibility of deploying to EAR. I just think that

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Charles F. Munat
Hmm. I forgot about EARs. Thanks for this information. I'll play around with it over the weekend. Chas. Derek Chen-Becker wrote: I don't know if this is typical, but I typically deploy my apps in an EAR, in which case you just add another EAR Build module that packages up the Persistence

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread Timothy Perrett
Just my two pence, but right now I understand these things are possible with ViewDispatchPF and SnippetDispatchPF etc etc and all the other tools we have in lift for creating modular view and logic code. However, the one thing I would say is that a lot of people appear to struggle with the

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Timothy Perrett
Are you eyeing up for your first commit Chas? ;-) The src of the JPA archetype is here: http://github.com/dpp/liftweb/tree/4a5d4530b407782a2f0e0e99b277432dbb41b640/lift-archetype-jpa-basic Cheers, Tim On Apr 2, 6:02 pm, Charles F. Munat c...@munat.com wrote: Where is the code for these

[Lift] Re: Forms validation formatter

2009-04-02 Thread Clemens Oertel
One follow up question, relating to the contexts I mentioned earlier: Following my approach mentioned below, let's assume I have a template for embedding. This template contains the HTML code for a tabular list of data entities. Depending on where the template is embedded, some of the

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread David Pollak
Tim, It's on my backlog. Right now I'm working on a preso for a class I'm teaching today at Cal Berkeley. Tomorrow is tax day and next week is a family vacation. I'll try to get something to you. Thanks, David On Apr 2, 2009 9:07 AM, Timothy Perrett timo...@getintheloop.eu wrote: Just my

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread Bill Venners
Hi David, On Thu, Apr 2, 2009 at 9:28 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Apr 2, 2009 at 2:30 AM, Bill Venners b...@artima.com wrote: Hi David, On Thu, Apr 2, 2009 at 12:11 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Improved testing

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Charles F. Munat
Yup. But there seem to be a few candidates... Timothy Perrett wrote: Are you eyeing up for your first commit Chas? ;-) The src of the JPA archetype is here: http://github.com/dpp/liftweb/tree/4a5d4530b407782a2f0e0e99b277432dbb41b640/lift-archetype-jpa-basic Cheers, Tim On Apr 2,

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Timothy Perrett
Probally between yourself and Derek in all honesty - I simply dont have the time right now and my lift time and what I do with it has other investments right now... Derek might well be swamped with the book at the moment... so perhaps there are not so many candidates as you think :-) Crack on

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread Timothy Perrett
Ok no worries - personally, I dont have any burning need for it right this moment but I could certainly make serious use of it within the next month. Cheers, Tim On Apr 2, 7:10 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Tim, It's on my backlog. Right now I'm working on a preso for

[Lift] Proposed URL Shortening widget

2009-04-02 Thread Tim Perrett
Guys, I've been contemplating doing this for a while and am now finding myself with a bunch of free time tomorrow and a need to write some code. So, I want to make a widget that shortens URL's in an extendable way... Im thinking of having something like: trait URLReductionProvider { ... }

[Lift] Re: Proposed URL Shortening widget

2009-04-02 Thread Jorge Ortiz
What about easily turning any lift app into a url shortener service? Wouldn't be too hard... Granted, some services (bit.ly) add statistics, visualization, conversation tracking, etc. which aren't just url shortening. --j On Thu, Apr 2, 2009 at 12:13 PM, Tim Perrett

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread Xavi Ramirez
+10 for documentation effort. Speaking from the noob perspective, the documentation is the biggest barrier to entry for Lift. Currently there are 3 places to get lift documentation: -Get Started Tutorial -Lift Book -Lift Wiki The first two sources are excellent, but the last one is bit

[Lift] Re: Menu widget

2009-04-02 Thread DavidV
I posted this yesterday but I haven't seen it appear yet...sorry if it is here twice. I downloaded the scripts separately because I didn't know how to update my repository/library to include the MenuWidget class and the appropriate .js and .css files. I tried running mvn install on my webapp,

[Lift] Re: Proposed URL Shortening widget

2009-04-02 Thread Timothy Perrett
Hey Jorge, Im not sure I 100% follow what your saying - are you proposing creating a widget that actually has a shortening algorithm? IMO, isnt it better to not re-invent the wheel and use an existing service? (take advantage of their short domain names etc) What are your thoughts on the

[Lift] Re: Menu widget bugginess

2009-04-02 Thread Derek Chen-Becker
Have I mentioned my extreme dislike for IE? I wonder if there's anything we can do from the widget side to, say, explicitly add z-order... Derek On Thu, Apr 2, 2009 at 9:59 AM, Charles F. Munat c...@munat.com wrote: Hmmm. Your google-fu is very powerful! The fix is so simpel! I think this

[Lift] [Bug] liftAjax.js generation bug in case of LiftRules.enableLiftGC = false

2009-04-02 Thread nau
Hi there, There is a bug in ScriptRenderer.scala I've described here: http://liftweb.lighthouseapp.com/projects/26102/tickets/31-bug-liftajaxjs-generation-bug-in-case-of-liftrulesenableliftgc-false#ticket-31-1. I've got a quick fix for it but I don't think it's the best one (sorry, can't

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Derek Chen-Becker
I agree. The cost of creating the archetypes is relatively low, so having variations on a theme would be nice. Derek. On Thu, Apr 2, 2009 at 9:27 AM, Timothy Perrett timo...@getintheloop.euwrote: I guess if your deploying into an enterprise container, then EAR is fine, however if your

[Lift] Re: Menu widget

2009-04-02 Thread Derek Chen-Becker
Do you have lift-widgets module as a dependency in your pom.xml? dependency groupIdnet.liftweb/groupId artifactIdlift-widgets/artifactId version1.1-SNAPSHOT/version /dependency That's needed to get the dropdown widget code. Derek On Thu, Apr 2, 2009 at 3:13 PM, DavidV