[Lift] Re: ajax-loader not showing?

2009-10-31 Thread Jeppe Nejsum Madsen
Timothy Perrett timo...@getintheloop.eu writes: Jeppe, did you get any further with this? Nope. Don't really know how it's supposed to work, so haven't filed a ticket (yet :-) I took a cursory look at the javascript generated by Lift for ajax handling and to me it looks like the functionality

[Lift] Re: LiftTicket and AJAX

2009-10-31 Thread Heiko Seeberger
Looks good! 2009/10/31 Derek Chen-Becker dchenbec...@gmail.com I just committed some code for AJAX-editable fields that I think might be useful as a part of LiftWeb. Basically, if you've seen how ReviewBoard handles field editing, this is the same thing. It's a trait that can be mixed into

[Lift] Problem with BlazeDS and LiftFilter 1.0+

2009-10-31 Thread oshyshko
Looks like net.liftweb.http.LiftFilter after version 1.0.+ breaks BlazeDS servlet. Version 0.9. of net.liftweb.http.LiftFilter works fine. I want to switch to a newer version of Liftweb, but I can't. Any ideas how to make LiftFilter 1.0.+ to work with BlazeDS servlet? More info: I used Scala

[Lift] Add getOrElseUpdate to SoftReferenceCache

2009-10-31 Thread Timothy Perrett
Guys, What do people think about adding a getOrElseUpdate method to SoftReferenceCache? Marius, you wrote this code initially, what do you think? I could do with this method in some production code im writing :-) Cheers, Tim --~--~-~--~~~---~--~~ You received

[Lift] Re: Problem with BlazeDS and LiftFilter 1.0+

2009-10-31 Thread Timothy Perrett
Have you set this in Boot.scala: LiftRules.passNotFoundToChain = true Without this Lift wont pass requests that it cant handle to other servlets. I would recommend upgrading to 1.1-M6 and Scala 2.7.5 - the API has changed *a lot* since 0.9 Cheers, Tim On Oct 31, 9:24 am, oshyshko

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-31 Thread Troy Noble
After the fix, I'm having a different problem now with latest 1.1-SNAPSHOT (10/30 1:54:48PM build) with tables in the DB that have uppercase anywhere in either the dbTableName or dbColumnName name... the Mapper is creating SQL that throws exceptions due to unknown column in MySQL (which is case

[Lift] Re: Error with the SHtml.select method ?

2009-10-31 Thread David Pollak
A function that returns Unit should be legal to pass as a parameter that's a function that returns Any. I'm going to be very blunt here: you've asked the group for a lot of support. This is cool. This is what we're here for. However, the support is not costless. Usually, folks pay back the

[Lift] JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-10-31 Thread Troy Noble
I'm not even sure this is a Lift issue, could be Hibernate or Scala... but here goes... I get one test failure in TestJPAWeb.scala when I use JPA with MySQL (also confirmed with H2) with auto-increment id column. @Entity class Author { @Id @GeneratedValue(){val strategy =

[Lift] Re: Add getOrElseUpdate to SoftReferenceCache

2009-10-31 Thread David Pollak
Sounds good to me On Sat, Oct 31, 2009 at 3:54 AM, Timothy Perrett timo...@getintheloop.euwrote: Guys, What do people think about adding a getOrElseUpdate method to SoftReferenceCache? Marius, you wrote this code initially, what do you think? I could do with this method in some

[Lift] Re: LiftTicket and AJAX

2009-10-31 Thread David Pollak
Very cool! On Fri, Oct 30, 2009 at 4:44 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I just committed some code for AJAX-editable fields that I think might be useful as a part of LiftWeb. Basically, if you've seen how ReviewBoard handles field editing, this is the same thing. It's a

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-31 Thread David Pollak
I'm going to revert the fix. I'm going to add tests for mixed-case column and table names. If you care to donate some of these tests, that'd be great. Please open a ticket. On Sat, Oct 31, 2009 at 5:35 AM, Troy Noble econop...@gmail.com wrote: After the fix, I'm having a different problem

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-31 Thread Troy Noble
Thanks for your support... and I'm very sorry to be the instigator of the breakage. I feel really bad that everything broke for all the MySQL and SQL server users (I gotta believe I'm not the only freak still using MySQL or SQL Server ;-) The only way to INTEGRATION test right now would be to

[Lift] Re: ajax-loader not showing?

2009-10-31 Thread David Pollak
It's a bug. Please file a ticket. On Sat, Oct 31, 2009 at 1:56 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Timothy Perrett timo...@getintheloop.eu writes: Jeppe, did you get any further with this? Nope. Don't really know how it's supposed to work, so haven't filed a ticket (yet :-)

[Lift] Re: ajax-loader not showing?

2009-10-31 Thread Jeppe Nejsum Madsen
David Pollak feeder.of.the.be...@gmail.com writes: It's a bug. Please file a ticket. Done. http://github.com/dpp/liftweb/issues/#issue/152 /Jeppe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-31 Thread Troy Noble
David, I opened ticket # 151. And I have some test cases written for uppercase dbTableName and dbColumnName. They are very simple-minded re-use of the Dog mapped class, but they do demostrate the same sort of failure behavior I was seeing in 1.1-SNAPSHOT, this time against the pre-145-fix

[Lift] Re: Add getOrElseUpdate to SoftReferenceCache

2009-10-31 Thread Marius
I second Dave. Go for it. On Oct 31, 4:06 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Sounds good to me On Sat, Oct 31, 2009 at 3:54 AM, Timothy Perrett timo...@getintheloop.euwrote: Guys, What do people think about adding a getOrElseUpdate method to SoftReferenceCache?

[Lift] Re: LiftTicket and AJAX

2009-10-31 Thread Derek Chen-Becker
I have at least two different pieces of functionality here. The main workhorse is the AjaxUtils.editable method that actually generates the dynamic div. I was thinking that this might be good to put in SHtml (albeit with a different name). I also have the AjaxEditableField trait which mixes into a

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-10-31 Thread Naftoli Gugenheim
How does this look? (Note: output from git diff -b, so applying it won't indent properly) On Fri, Oct 30, 2009 at 4:20 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Probably not until next week, unfortunately. If you don't mind looking at it, the main thing to change is in Mailer.scala,

[Lift] Error mvn install on lift-actor

2009-10-31 Thread Naftoli Gugenheim
What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... WAGON_VERSION: 1.0-beta-2 [INFO] [INFO] Building Lift Actor [INFO]