[Lift] Re: Menu widget

2009-04-02 Thread Derek Chen-Becker
Do you have lift-widgets module as a dependency in your pom.xml? net.liftweb lift-widgets 1.1-SNAPSHOT That's needed to get the dropdown widget code. Derek On Thu, Apr 2, 2009 at 3:13 PM, DavidV wrote: > > I posted this yesterday but I haven't seen it appear yet...

[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 wrote: > > I guess if your deploying into an "enterprise container", then EAR is > fine, however if your deploying into Jetty then

[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 provide

[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 wrote: > > Hmmm. Your google-fu is very powerful! "The fix is so simpel"! > > I think this will proba

[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 blockin

[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: 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 lacking

[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 wrote: > > Guys, > > I've b

[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 { ... } obje

[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 wrote: > Tim, > > It's on my backlog. Right now I'm working on a preso for a class I'm > teaching tod

[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] Open Source Bridge Conference CFP (& Discount)

2009-04-02 Thread David Pollak
Folks, It'd be great to see some Lift and/or Scala presentations at this conference. Thanks, David -- Forwarded message -- From: Keith Fahlgren Date: Thu, Apr 2, 2009 at 6:06 AM Subject: [bayfp] Open Source Bridge Conference CFP (& Discount) To: ba...@googlegroups.com Seems l

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread David Pollak
On Thu, Apr 2, 2009 at 10:09 AM, Bill Venners wrote: > > Hi David, > > On Thu, Apr 2, 2009 at 9:28 PM, David Pollak > wrote: > > > > > > On Thu, Apr 2, 2009 at 2:30 AM, Bill Venners wrote: > >> > >> Hi David, > >> > >> On Thu, Apr 2, 2009 at 12:11 AM, David Pollak > >> wrote: > >> > Folks, > >

[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 Ap

[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 wrote: > > > On Thu, Apr 2, 2009 at 2:30 AM, Bill Venners wrote: >> >> Hi David, >> >> On Thu, Apr 2, 2009 at 12:11 AM, David Pollak >> wrote: >> > Folks, >> > >> > Improved testing framework and better testing support when running in >> >

[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" wrote: Just my two pence, but right n

[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 enti

[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" wrote: > Where is the code for these archetypes and ho

[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 parti

[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 Persiste

[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 th

[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 di

[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 men

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Timothy Perrett
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 having the possibility of creating either a merged project or a split project is important as JPA brings thing

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread David Pollak
On Thu, Apr 2, 2009 at 7:30 AM, Josh Suereth wrote: > 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! Cool. I'm hoping that Heiko will lead the efforts, but extra hands alway

[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 with

[Lift] Re: Menu widget bugginess

2009-04-02 Thread Viktor Klang
Hello Chas, Can it be related to this: http://webdemar.com/webdesign/superfish-jquery-menu-ie-z-index-bug/ Cheers, Viktor On Thu, Apr 2, 2009 at 3:40 AM, Charles F. Munat wrote: > > I'm running the Lift Menu widget on my Mac via mvn jetty:run, then > looking at it in IE Tester running in Windo

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread David Pollak
On Thu, Apr 2, 2009 at 2:30 AM, Bill Venners wrote: > > Hi David, > > On Thu, Apr 2, 2009 at 12:11 AM, David Pollak > wrote: > > Folks, > > > > Improved testing framework and better testing support when running in > "test" > > mode. > > > Can you elaborate on what your plans are for this? It's

[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 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 --~--~-~--~~~---~--~~ You received

[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 re

[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 wrote: > > 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 your > local repo. >

[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 modul

[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 th