[Lift] Re: Forms & validation formatter

2009-03-18 Thread marius d.
FWIW please also take a look on Record and form&validation support. Br's, Marius On Mar 17, 11:07 pm, Clemens Oertel wrote: > Hello everybody, > > Still trying to learn how to use lift efficiently and effectively, I   > got a little bit confused about the toForm function in the model/ > mappers

[Lift] Re: Welcome Lee Mighdoll to the Lift committers

2009-03-18 Thread Viktor Klang
Yay for Lee! On Wed, Mar 18, 2009 at 6:57 AM, Derek Chen-Becker wrote: > Great to have you along, Lee :) > > Derek > > > On Tue, Mar 17, 2009 at 9:11 PM, David Pollak < > feeder.of.the.be...@gmail.com> wrote: > >> Folks, >> I'm pleased to welcome Lee Mighdoll to the Lift committers. Lee wrote th

[Lift] Re: Welcome Lee Mighdoll to the Lift committers

2009-03-18 Thread marius d.
Lee, you're most welcomed ! On Mar 18, 5:11 am, David Pollak wrote: > Folks, > I'm pleased to welcome Lee Mighdoll to the Lift committers.  Lee wrote the > brilliant line: > > Lift is an expressive and elegant framework for writing web applications. > > Almost 18 months ago... but he's not a mar

[Lift] Re: Welcome Lee Mighdoll to the Lift committers

2009-03-18 Thread Timothy Perrett
Welcome Lee - good to have you on board. Send me a picture and bio of yourself and i'll add you to the liftweb.net team list :-) Cheers, Tim On Mar 18, 9:12 am, "marius d." wrote: > Lee, you're most welcomed ! > > On Mar 18, 5:11 am, David Pollak > wrote: > > > Folks, > > I'm pleased to welco

[Lift] Re: SQL Server Errors

2009-03-18 Thread Timothy Perrett
Hey Derek, I know ­ this confused me too. The current MappedText for SQL Server is being implemented as Varchar(MAX) in the database. I always to m.description.toString and this way I get the clob reference. Excuse my ignorance, but shouldn¹t MappedText actually be using ³text² column type? Ch

[Lift] Explicitly shutting down comet actor in a single session

2009-03-18 Thread Tim Perrett
Guys, I have a situation where by im using comet actors to watch something on a 3rd party system. Now, when the monitoring needs to stop, I want to explicitly shutdown that comet actor and redirect some to place else. However, when I pass the comet actor the ShutDown message, the page redirects t

[Lift] Re: SQL Server Errors

2009-03-18 Thread Derek Chen-Becker
Yeah, I saw the varchar(max) definition. I searched around and it looks like TEXT is deprecated in favor of VARCHAR(MAX) in Sql Server 2005. http://stackoverflow.com/questions/564755/sql-server-text-type-v-s-varchar-data-type Maybe we need to make a new SqlServer2005 Driver that uses VARCHAR(MAX)

[Lift] Re: SQL Server Errors

2009-03-18 Thread Timothy Perrett
Ok thats interesting about Text/Varchar(max)... I didnt know that. Whats the JTDS support for that? Is it ok? This is where things get freaky! Doing m.description.is.getClass gives me "class java.lang.String". I mean, wtf, which are you? Clob or String! HAHA Thoughts? Tim On Mar 18, 2:05 pm, D

[Lift] Re: Forms & validation formatter

2009-03-18 Thread Clemens Oertel
I admit to only having worked with mapper. I will look closer into record, (quick glance: it comes with next-to-the-field messages, nice). Marius, are you referring to the toForm functions? I'm probably just not seeing how to use them in a flexible manner. With respect to validation, I was w

[Lift] Re: Welcome Lee Mighdoll to the Lift committers

2009-03-18 Thread David Bernard
Bienvenue ! On Wed, Mar 18, 2009 at 10:33, Timothy Perrett wrote: > > Welcome Lee - good to have you on board. > > Send me a picture and bio of yourself and i'll add you to the > liftweb.net team list :-) > > Cheers, Tim > > On Mar 18, 9:12 am, "marius d." wrote: >> Lee, you're most welcomed !

[Lift] Re: SQL Server Errors

2009-03-18 Thread Derek Chen-Becker
Just to confirm, you're using the latest jTDS driver, right? Derek On Wed, Mar 18, 2009 at 8:39 AM, Timothy Perrett wrote: > > Ok thats interesting about Text/Varchar(max)... I didnt know that. > Whats the JTDS support for that? Is it ok? > > This is where things get freaky! Doing m.description.

[Lift] Re: Welcome Lee Mighdoll to the Lift committers

2009-03-18 Thread Lee Mighdoll
Happy to be able to help. Lee On Wed, Mar 18, 2009 at 7:54 AM, David Bernard wrote: > > Bienvenue ! > > On Wed, Mar 18, 2009 at 10:33, Timothy Perrett > wrote: > > > > Welcome Lee - good to have you on board. > > > > Send me a picture and bio of yourself and i'll add you to the > > liftweb.net

[Lift] Re: SQL Server Errors

2009-03-18 Thread Derek Chen-Becker
Also, as Tim pointed out we may need to change the varchar defs on the SQL Server Driver to nvarchar. There's also the issue of VARCHAR(MAX) (SQL Server 2005 and up) vs TEXT (older versions). Perhaps we need n additional SqlServerPre2005Driver class? Derek On Wed, Mar 18, 2009 at 8:56 AM, Derek C

[Lift] Re: SQL Server Errors

2009-03-18 Thread Derek Chen-Becker
FYI, the datetime fix is merged to master. Derek On Wed, Mar 18, 2009 at 9:16 AM, Derek Chen-Becker wrote: > Also, as Tim pointed out we may need to change the varchar defs on the SQL > Server Driver to nvarchar. There's also the issue of VARCHAR(MAX) (SQL > Server 2005 and up) vs TEXT (older ve

[Lift] Re: Ticket #19 (mail and character encoding)

2009-03-18 Thread Derek Chen-Becker
OK, I tested locally and it works for me. I just pushed to master and it should show up in Hudson soon. Derek On Tue, Mar 17, 2009 at 1:52 PM, Derek Chen-Becker wrote: > OK, new code is checked in on wip-dcb-mailer-charset branch. Does anyone > have time to test? > > Derek > > > On Tue, Mar 17,

[Lift] Re: SQL Server Errors

2009-03-18 Thread Timothy Perrett
I've just committed the patch for the CLOB issue. Cheers, Tim On Mar 18, 3:42 pm, Derek Chen-Becker wrote: > FYI, the datetime fix is merged to master. > > Derek > > On Wed, Mar 18, 2009 at 9:16 AM, Derek Chen-Becker > wrote: > > > Also, as Tim pointed out we may need to change the varchar def

[Lift] Re: Forms & validation formatter

2009-03-18 Thread marius d.
On Mar 18, 1:30 pm, Clemens Oertel wrote: > I admit to only having worked with mapper. I will look closer into   > record, (quick glance: it comes with next-to-the-field messages, nice). > > Marius, are you referring to the toForm functions? I'm probably just   > not seeing how to use them in a

[Lift] Re: Forms & validation formatter

2009-03-18 Thread Clemens
> Yes I am referring to toForm but note that you can provide your own > template. Please see formTemplate. I did, thanks for the pointer. formTemplate applies to the record as a whole, right? If I want to render a record differently, I could set different templates one after the other - even thou

[Lift] Re: Forms & validation formatter

2009-03-18 Thread marius d.
On Mar 18, 8:54 pm, Clemens wrote: > > Yes I am referring to toForm but note that you can provide your own > > template. Please see formTemplate. > > I did, thanks for the pointer. formTemplate applies to the record as a > whole, right? If I want to render a record differently, I could set > di

[Lift] Re: Forms & validation formatter

2009-03-18 Thread Clemens
Thank you for your patience, Marius. > Well you can use different RecordMeta implementations if you need to > different representation of a record without sequential template > change. So no state dependency. I'm really not trying to be difficult, but having multiple RecordMeta instances, for wh

[Lift] Re: FieldType and ForeignType

2009-03-18 Thread David Pollak
On Tue, Mar 17, 2009 at 9:49 PM, David Pollak wrote: > I'm going to fix the problem tomorrow... but I was wondering why the > compilation issues. Fixed. Please verify. > > > On Tue, Mar 17, 2009 at 9:44 PM, Jorge Ortiz wrote: > >> Argh. Good call. I don't know as I was debugging through IRC,

[Lift] Re: Where to continue after "Getting Started"?

2009-03-18 Thread Derek Chen-Becker
I whipped up a quick page on the wiki: http://wiki.liftweb.net/index.php?title=Lift_Compared_to_Other_Frameworks Let me know if that's OK before adding the link to the site. Derek On Tue, Mar 17, 2009 at 7:26 AM, David Pollak wrote: > > > On Tue, Mar 17, 2009 at 1:34 AM, erik.fris...@googlema

[Lift] List of existing Lift deployments

2009-03-18 Thread Alex
I am very interested in using Scala and Lift for my next project or startup, but it is difficult right now to persuade anyone to take a chance on the platform. Is there a good list somewhere of existing Lift sites and the experiences of developing and deploying them? Or a list of startups or pro

[Lift] Re: List of existing Lift deployments

2009-03-18 Thread David Pollak
Twitter uses Scala as part of their back end infrastructure. Evan Weaver presented on this at QCon in London last week and Al3x Payne will be presenting on it at Web 2.0 on April 1. See http://www.scala-lang.org/node/1225 Siemens is using Lift and Scala as part of their ESME deployment. See http