[Lift] Re: A round of thanks to Marius for better GC

2009-02-20 Thread Paul O'Rorke
Has this fix been committed? Dunno for sure if it is really GC related But I did an mvn -U clean install and my app worked fine on my desktop But when I accessed it from my iPhone I got logged out in 10 or 15 seconds. I had cookies disabled in Safari on my iPhone. Enabling cookies fixed the

[Lift] Re: A round of thanks to Marius for better GC

2009-02-20 Thread Derek Chen-Becker
Great work! I ran into the issue yesterday and today with an update it seems to be working fine. Derek On Thu, Feb 19, 2009 at 7:29 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Marius made some patches to Lift's GC support today. He removed the lift:gc tag so we don't trip

[Lift] Re: A round of thanks to Marius for better GC

2009-02-20 Thread Viktor Klang
I unfortunately have been working alot lately and havent had a chance to check the new GC code out. Some kind soul who can explain the new solution? On Fri, Feb 20, 2009 at 4:18 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Great work! I ran into the issue yesterday and today with an

[Lift] populate DB table upon creation

2009-02-20 Thread DavidV
I wondering how to populate rows of a DB table upon it's creation. First, where in the lift code are tables created? Is it in trait BaseMapper's dbAddTable method? I have an Array[String] I would like to add to the table when it is being created. Which method can I override to achieve this and

[Lift] Re: A round of thanks to Marius for better GC

2009-02-20 Thread David Pollak
On Fri, Feb 20, 2009 at 9:49 AM, Jorge Ortiz jorge.or...@gmail.com wrote: I still see some lift:when attributes in Lift output. Is this expected? (I seem to remember them being around long before the gc code went in.) This is expected. It has not been the case that an ajax component inserts

[Lift] Re: A round of thanks to Marius for better GC

2009-02-20 Thread marius d.
On Feb 20, 5:30 pm, Viktor Klang viktor.kl...@gmail.com wrote: I unfortunately have been working alot lately and havent had a chance to check the new GC code out. Some kind soul who can explain the new solution? Well instead of using lift:gc all around the gc polling send up only the page

[Lift] Re: A round of thanks to Marius for better GC

2009-02-20 Thread David Pollak
On Fri, Feb 20, 2009 at 10:43 AM, marius d. marius.dan...@gmail.com wrote: On Feb 20, 5:30 pm, Viktor Klang viktor.kl...@gmail.com wrote: I unfortunately have been working alot lately and havent had a chance to check the new GC code out. Some kind soul who can explain the new

[Lift] Re: populate DB table upon creation

2009-02-20 Thread DavidV
Those are both helpful pointers. I'm working out the details right now, I'll post my code as soon as I get it all worked out so that others can use it. Thanks again, David On Feb 20, 2:41 pm, David Pollak feeder.of.the.be...@gmail.com wrote: In your meta mapper, if you override dbAddTable to

[Lift] Re: populate DB table upon creation

2009-02-20 Thread Derek Chen-Becker
I'm working on some Mapper stuff right now and one thing I miss is true foreign key mapping with constraints and cascades. My gut is that we should be able to add this for DBs that support it, but do you see any issues with the concept? Derek On Fri, Feb 20, 2009 at 12:41 PM, David Pollak