[Lift] Re: Forms validation formatter

2009-04-04 Thread marius d.
On Apr 2, 6:57 pm, Clemens Oertel clemens.oer...@gmail.com wrote: 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

[Lift] PhET Website

2009-04-04 Thread samreid
Lift community, My name is Sam Reid, I'm a Java + Scala developer for PhET Interactive Simulations at http://phet.colorado.edu/. We produce free, open source educational science simulations for college and high school- level students. We are considering porting our website to Lift and adding

[Lift] Who did the hungarian translation?

2009-04-04 Thread Tim Perrett
Hey guys, Who did the hungarian translations of lift core? I want to make an addition that needs adding to lift core properties files but I don't speak hungarian! Cheers, Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Lift] newbie question: using ajaxText() to get integer from form

2009-04-04 Thread Tobias Daub
Hi There, From the ToDo tutorial I got this code: private def desc(td: ToDo, reDraw: () = JsCmd) = swappable(span{td.desc}/span, span{ajaxText(td.desc, v = {td.desc(v).save; reDraw()})} /span) What if I've a numeric field, e.g. td.num and I want to

[Lift] Re: Lift using JQuery and JCarousel

2009-04-04 Thread wapgui
The problem is how the carousel looks like. It shows all the picture one below the other. I know this effect, then normaly JQuery is missing. But I can try it as snippet or lift:embed. Cheers Torsten On Apr 3, 10:03 pm, marius d. marius.dan...@gmail.com wrote: Hmm ... I'd be very surprised if

[Lift] Re: Need for lightweight JPA archetype

2009-04-04 Thread bradford
Hi, I think I would like to use JPA for my project. This archetype would be nice. Just a second ago I ran mvn archtype:generate on lift- archetype-jpa-basic. NetBeans is complaining on 'import javax.persistence._' not being found in jpatest-spa's Author.scala. It also complains on 'import

[Lift] Updates to the book and JPA demo site

2009-04-04 Thread Derek Chen-Becker
I've updated the JPA chapter of the book with brief coverage of the Hibernate Validator framework for entity validation. A new PDF is up on the group site. Also, as part of testing the new section, I added hibernate validator functionality to the current JPA demo site on my own branch. Does anyone

[Lift] Re: Who did the hungarian translation?

2009-04-04 Thread Timothy Perrett
Hey Marius Sounds good. I just want to add an Undefined item to the Genders object in Mapper, however it needs updating in our core locale strings so just need a HU translation for Undefined Cheers, Tim On 04/04/2009 15:16, marius d. marius.dan...@gmail.com wrote: A co-worker of mine. I

[Lift] Re: Lift using JQuery and JCarousel

2009-04-04 Thread marius d.
might be that blueprint's css ul/li styles are conflicting with list styles that JCarousel is using? Try to not use: lift:CSS.blueprint/ lift:CSS.fancyType/ ... and see if things get improved. Br's, Marius On Apr 4, 6:18 pm, wapgui torsten.schm...@wapgui.com

[Lift] Re: Advice on Ramping Up

2009-04-04 Thread Charles F. Munat
Thus suggesting our motto: Scala/Lift: Our heads are in the stars, but our feet are firmly planted in the, er, soil. Chas. David Pollak wrote: And of course Beginning Scala is BS :-) On Fri, Apr 3, 2009 at 8:29 PM, Meredith Gregory lgreg.mered...@gmail.com

[Lift] Re: Compile error in TD.scala whith example in Starting with Lift HTML guide

2009-04-04 Thread Derek Chen-Becker
This is something I'm aware of and working on, but feel free to report a bug here: http://liftweb.lighthouseapp.com/projects/26102-lift/tickets Derek On Fri, Apr 3, 2009 at 5:50 PM, Dano! daniel.mcka...@gmail.com wrote: I thought I replied to this, apologies if it comes up twice. I found

[Lift] Re: Menu widget

2009-04-04 Thread Derek Chen-Becker
That's probably it. Please let us know if adding the snapshots repo doesn't fix it. Derek On Fri, Apr 3, 2009 at 10:05 PM, Josh Suereth joshua.suer...@gmail.comwrote: Don't know if anyone responded, but you may need to add the maven snapshot repository to your pom as well. Sent from my

[Lift] Re: Need for lightweight JPA archetype

2009-04-04 Thread Derek Chen-Becker
Hmmm. Does maven complain if you try to compile, or is it just NetBeans? Derek On Sat, Apr 4, 2009 at 9:31 AM, bradford fingerm...@gmail.com wrote: Hi, I think I would like to use JPA for my project. This archetype would be nice. Just a second ago I ran mvn archtype:generate on lift-

[Lift] Re: newbie question: using ajaxText() to get integer from form

2009-04-04 Thread David Pollak
On Sat, Apr 4, 2009 at 6:02 AM, Tobias Daub hannes.flo...@gmx.li wrote: Hi There, From the ToDo tutorial I got this code: private def desc(td: ToDo, reDraw: () = JsCmd) = swappable(span{td.desc}/span, span{ajaxText(td.desc, v = {td.desc(v).save; reDraw()})}

[Lift] Newbie problem

2009-04-04 Thread mgm
What's wrong with this? AP.scala (extract) def list(xhtml: NodeSeq) = { System.err.println(*** list: + xhtml) Airport.findAll.flatMap(ap = bind(ap, xhtml, code - ap.code, lat - ap.lattitude, lon - ap.longitude)) } airports.html ===

[Lift] Re: Lift using JQuery and JCarousel

2009-04-04 Thread wapgui
Nope, there is no difference. Maybe I can find it out with the good old try and error method. On Apr 4, 8:30 pm, marius d. marius.dan...@gmail.com wrote: might be that blueprint's css ul/li styles are conflicting with list styles that JCarousel is using? Try to not use:                

[Lift] Re: Need for lightweight JPA archetype

2009-04-04 Thread Derek Chen-Becker
If you have a second, could you send the stack trace for the NPE? That's definitely not something that should be happening. Derek On Sat, Apr 4, 2009 at 2:34 PM, bradford fingerm...@gmail.com wrote: Yeah, just NetBeans. It probably makes sense, but everything in NetBeans was fine after I

[Lift] Re: Newbie problem

2009-04-04 Thread mgm
That did the trick! I apologize for the hubris of a newbie, but I think this is a bug in LiftWeb. It was getting executed, but I guess with out the declaration, the result was not getting implicitly converted from List[Node] to NodeSeq. The framework was finding executing the method, but

[Lift] Unit tests for views snippets

2009-04-04 Thread erik.karls...@iki.fi
Hi, First thanks for the great framework. It has been long time when I had this fun with web programming :) I have a pretty newbie question about unit testing. Do anybody know good examples about how to write properly unit tests for views and snippets? I have written some tests with Specs for

[Lift] Good way to implement cancel links?

2009-04-04 Thread Clemens Oertel
Hi, What's the best way to get generic Cancel links into forms, lift- style? Assuming that a form can be called from different pages in the application, and the cancel link should return to the originating page? Would it work to have a RequestVar for the target of the cancel link, and

[Lift] Re: Newbie problem

2009-04-04 Thread David Pollak
On Sat, Apr 4, 2009 at 2:45 PM, mgm mgm7...@gmail.com wrote: That did the trick! I apologize for the hubris of a newbie, but I think this is a bug in LiftWeb. It was getting executed, but I guess with out the declaration, the result was not getting implicitly converted from List[Node] to

[Lift] Re: Good way to implement cancel links?

2009-04-04 Thread David Pollak
S.referer.map(from = SHtml.link(cancel, () = redirectTo(from))) openOr Text() On Sat, Apr 4, 2009 at 3:20 PM, Clemens Oertel clemens.oer...@gmail.comwrote: Hi, What's the best way to get generic Cancel links into forms, lift- style? Assuming that a form can be called from different pages in

[Lift] Re: Need for lightweight JPA archetype

2009-04-04 Thread bradford
I pasted it here: http://pastebin.com/m1da32b3 Thanks, Bradford On Apr 4, 5:25 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: If you have a second, could you send the stack trace for the NPE? That's definitely not something that should be happening. Derek On Sat, Apr 4, 2009 at 2:34

[Lift] Re: Proposed URL Shortening widget

2009-04-04 Thread Chad Skinner
We do it in ESME. It's 1 class (the model) and 1 object. What is ESME? --~--~-~--~~~---~--~~ 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

[Lift] Re: The Lift 1.1 list

2009-04-04 Thread Chad Skinner
Also, it would be great it Lift1.1 included all of the necessary .js, .css and class files for the new MenuWidget I have not had the chance to actually work with lift yet and have been doing a lot of reading, but I have not read how lift currently handles script and css resources? Does it