[Lift] Re: Include build # in LiftVersion?

2009-08-21 Thread David Bernard
I don't know how to grab git fingerprint, but I can modify the pom.xml to add a timestamp in the Manifest Implementation-Version${project.version}-${buildNumber}/Implementation-Version Are you ok ? On Wed, Aug 19, 2009 at 18:26, David Pollakfeeder.of.the.be...@gmail.com wrote: On Wed,

[Lift] Re: error while SHtml.ajaxInvoke call

2009-08-21 Thread pravin
Hi, Thanks for u r quick reply. Now I am explain my problem in details : I have normal form with one text box and one submit button. Also i have 2 table components(these are dynamic tables )..but these table are out of the from tag.These table only displays information. Flow of the

[Lift] Lift Wizard

2009-08-21 Thread Timothy Perrett
Hey all, I guess im mainly asking this to DPP, as the wizard is his baby, but have you (or do you) intend to make more progress on this soon? Its something that interests me a great deal and i'd like to discuss / help out if possible. Cheers, Tim

[Lift] Re: managing foreign key object relationships with mapper

2009-08-21 Thread george
in case it helps anyone else, here is the solution to the above problem the dirty_? function should (obviously) use || not override def dirty_?(toCheck: User): Boolean = Address.dirty_?(toCheck.getAddress) || super.dirty_?(toCheck) it appears i have been suffering from a severe bout of

[Lift] Re: Include build # in LiftVersion?

2009-08-21 Thread Indrajit Raychaudhuri
Maven is still quite git unfriendly, unfortunately. We used to have BuildNumber plugin (http://mojo.codehaus.org/ buildnumber-maven-plugin/create-mojo.html) in a Subversion based project. I don't think that works for Maven's Git SCM provider though. Alternately, this plugin allows injecting

[Lift] Re: MappedDateTime losing time?

2009-08-21 Thread David Pollak
On Thu, Aug 20, 2009 at 6:37 PM, Grant Wood smackt...@gmail.com wrote: Hi David, Here is the output you wanted: -- Begin output [INFO] Starting jetty 6.1.19 ... 2009-08-20 20:34:08.780::INFO: jetty-6.1.19 2009-08-20 20:34:08.908::INFO: No

[Lift] Re: error while SHtml.ajaxInvoke call

2009-08-21 Thread David Pollak
I still don't understand. Does the user do anything to get the faster table updated or do you want the faster table pushed from the server when something changes on the server? If it's the former (the user does something to get the faster table updated), you want to use ajaxButton... the user

[Lift] Re: **URGENT** PostgreSQL drivers broken for PG 8.1

2009-08-21 Thread Derek Chen-Becker
It gets even better. I put together some code to determine driver behavior and it seems to work. The problem is that now I'm testing against PG 8.0, which I just found out doesn't support the lastval() function :(. This begs the question, can we document somewhere what versions of the databases

[Lift] Re: **URGENT** PostgreSQL drivers broken for PG 8.1

2009-08-21 Thread Derek Chen-Becker
I hate talking over myself, but it seems like I could kill two birds with one stone by uzing the index names to fire off currval calls instead. That would fix this for all PG server 8.0-8.1 and it would also solve the problem of retrieving values when there is more than one generated key. Derek

[Lift] Re: **URGENT** PostgreSQL drivers broken for PG 8.1

2009-08-21 Thread David Pollak
On Fri, Aug 21, 2009 at 9:02 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: It gets even better. I put together some code to determine driver behavior and it seems to work. The problem is that now I'm testing against PG 8.0, which I just found out doesn't support the lastval() function :(.

[Lift] Re: Include build # in LiftVersion?

2009-08-21 Thread David Pollak
On Fri, Aug 21, 2009 at 6:18 AM, Indrajit Raychaudhuri indraj...@gmail.comwrote: Maven is still quite git unfriendly, unfortunately. We used to have BuildNumber plugin (http://mojo.codehaus.org/

[Lift] Re: TableEditor article

2009-08-21 Thread glenn
Naftoli, I must be doing something wrong. I tried the following, as you suggested, inserting the extra xml after the item:fields tag, but ManagerUsers.list does its own iteration through the table items and I get duplicate columns. ManageUsers.list just does a bind to the myuser:roles tag.

[Lift] Re: Include build # in LiftVersion?

2009-08-21 Thread Timothy Perrett
Perhaps its worth going to market (as it were) to check that there is either no single solution, nor a number of other solutions (mojos) that we could string together to get what we want? Im not sure that the effort involved in making our own is warranted given the output... Perhaps someone in

[Lift] Re: **URGENT** PostgreSQL drivers broken for PG 8.1

2009-08-21 Thread Derek Chen-Becker
OK, this is pushed into 1.1-SNAPSHOT and 1.0.1-SNAPSHOT. On Fri, Aug 21, 2009 at 11:50 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Aug 21, 2009 at 9:02 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: It gets even better. I put together some code to determine driver

[Lift] Re: MappedDateTime losing time?

2009-08-21 Thread Derek Chen-Becker
I don't know that it did. Let me look into it. On Fri, Aug 21, 2009 at 11:34 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Aug 20, 2009 at 6:37 PM, Grant Wood smackt...@gmail.com wrote: Hi David, Here is the output you wanted:

[Lift] Re: MappedDateTime losing time?

2009-08-21 Thread Derek Chen-Becker
It didn't. As soon as I get the PostgreSql patch pushed for 1.1-0SNAPSHOT I'll work on getting the DateTime fix into 1.0.1 Derek On Fri, Aug 21, 2009 at 2:57 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I don't know that it did. Let me look into it. On Fri, Aug 21, 2009 at 11:34 AM,

[Lift] Re: TableEditor article

2009-08-21 Thread glenn
Kevin, The way I implemented asmselect for a MappedManyToMany object was to write a method in my Mapper class to extract the information from the database. object roles extends MappedManyToMany(UserRole, UserRole.user, UserRole.role, Role) def validSelectValues: Box[List[(Long,

[Lift] Re: TableEditor article

2009-08-21 Thread Naftoli Gugenheim
I should have thought of that problem. I could make TableEditor more flexible when I have time, but the truth is that I don't know if it's worth it. The whole thing is less than 80 LOC with scaladocs (not counting the utilities it uses which you can also use). The real logic that provides its

[Lift] Re: TableEditor article

2009-08-21 Thread glenn
Naftoli, I think a configurable TableEditor is a good thing to have. I don't believe it would take much to enhance what you have started. For one thing, if TableEditorImpl were not a protected class, then one could simply override what is needed. Perhaps it should be made a trait that users

[Lift] Re: MappedDateTime losing time?

2009-08-21 Thread Derek Chen-Becker
OK, the patch is in 1.0.1-SNAPSHOT. Grant, can you test against 1.0.1-SNAPSHOT and make sure that it works for you? Thanks, Derek On Fri, Aug 21, 2009 at 2:05 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: It didn't. As soon as I get the PostgreSql patch pushed for 1.1-0SNAPSHOT I'll work

[Lift] Lift Core Missing on mvn install

2009-08-21 Thread Peter Robinett
Hi all, I think I have a problem with my pom.xml file, as when I run 'mvn install' I get an error saying that Lift Core is missing. 'mvn jetty:run' works fine. My pom.xml is here: http://gist.github.com/172540 I'd appreciate any tips. Thanks! Peter Robinett

[Lift] Re: MappedDateTime losing time?

2009-08-21 Thread Grant Wood
Hello Derek, I can confirm that 1.01-SNAPSHOT fixes the problem. Here is output from my test instance from earlier. --- Begin [INFO] Starting jetty 6.1.19 ... 2009-08-21 19:40:16.410::INFO: jetty-6.1.19 2009-08-21 19:40:16.526::INFO: No Transaction manager

[Lift] Re: MappedDateTime losing time?

2009-08-21 Thread Derek Chen-Becker
It should be very safe to use 1.0.1-SNAPSHOT. I'm planning on spinning the release of 1.0.1 GA next Wednesday, so we're in a code freeze starting Sunday. Really, the 1.0 line is strictly bug-fix at this point (1.1-SNAPSHOT is where new features make it in). So far, the things that have made it