[Lift] Re: net.liftweb.http.LiftFilter is not a javax.servlet.Filter

2009-10-13 Thread Timothy Perrett
Sorry Ross, I meant Java Service Wrapper! It was late and I must have typed it wrong :-( Any thoughts? Would it help if put together a rough sample? Cheers Tim Sent from my iPhone On 13 Oct 2009, at 02:21, Ross Mellgren dri...@gmail.com wrote: Before I go barking up the wrong tree, by

[Lift] Re: net.liftweb.http.LiftFilter is not a javax.servlet.Filter

2009-10-13 Thread Timothy Perrett
Hey Naftoli, I posted a link to the code that's throwing the error - seems to being caused from isAssignableFrom. I'm wondering if it's got anything to do with the servlet abstraction stuff? Cheers, Tim Sent from my iPhone On 13 Oct 2009, at 02:06, Naftoli Gugenheim naftoli...@gmail.com

[Lift] java.sql.SQLException | ERROR 07000

2009-10-13 Thread Hannes
Hi Lifters, I encountered a problem after I started tried to test my project today. I'm almost sure that this error didn't occured before..I also updated to 1.1-M6 but the error is still there. Do I've to do some other update? I think the problem is related to some actor stuff.???

[Lift] Re: Complex primary key

2009-10-13 Thread Peter Robinett
GA, so you want a composite primary key? I'm not sure that's possible in most SQL databases, though a unique composite key definitely is... Peter Robinett On Oct 12, 4:30 pm, my_li...@me.com wrote: Hello guys, How can I create a mapper with two or more fields as primary key? For instance

[Lift] Re: java.sql.SQLException | ERROR 07000

2009-10-13 Thread Richard Dallaway
On Tue, Oct 13, 2009 at 8:27 AM, Hannes hannes.flo...@gmx.li wrote: I'm almost sure that this error didn't occured before..I also updated to 1.1-M6 but the error is still there. Do I've to do some other update? I think the problem is related to some actor stuff.??? This is a long

[Lift] Re: Question about the TreeViewDemo in the lift widgets section of the Exploring LIft pdf

2009-10-13 Thread Jim Barrows
Tracked this down to a missing import statement: import JE._ You can recreate this by removing this import in the TreeViewDemo.scala (http://github.com/dpp/liftweb/blob/master/lift- widgets/src/test/scala/webapptest/snippet/TreeViewDemo.scala) file, and compile it. On Oct 11, 9:34 pm, Jim

[Lift] Re: java.sql.SQLException | ERROR 07000

2009-10-13 Thread Hannes
OK, thanks. I'll have a look! On Tue, Oct 13, 2009 at 8:27 AM, Hannes hannes.flo...@gmx.li wrote: I'm almost sure that this error didn't occured before..I also updated to 1.1-M6 but the error is still there. Do I've to do some other update? I think the problem is related to some

[Lift] Re: Create the website and all the links are Https ?

2009-10-13 Thread Hannes
You can use Apache to secure your page with HTTPS. Hi all, How can we create the website and all the links are https? Just like: www.xing.com That all of the operations and communications are used https. Thanks very much ! Cheers, Neil

[Lift] Re: Why fields are declared as 'object' with Mapper/Record?

2009-10-13 Thread Oleg G.
to Naftoli: i added implicits as you said and removed all 'onRegister' stuff, i think its useless.. Here's the result: http://github.com/ojow/Random-code/blob/master/RecordRelatedStuff.scala --~--~-~--~~~---~--~~ You received this message because you are

[Lift] Re: Why fields are declared as 'object' with Mapper/Record?

2009-10-13 Thread Oleg G.
edit: not all 'onRegister' stuff but most of it, only left two points of extension for intercepting the prototype creation. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

[Lift] Re: Props file example

2009-10-13 Thread Richard Dallaway
On Mon, Oct 12, 2009 at 2:55 PM, my_li...@me.com wrote: And how do I switch runtimes? within the boot.scala? If I need to, I change the run mode at start up time: $ MAVEN_OPTS=-Drun.mode=pilot mvn jetty:run ...if that helps Richard --~--~-~--~~~---~--~~ You

[Lift] Re: java.sql.SQLException | ERROR 07000

2009-10-13 Thread Richard Dallaway
On Tue, Oct 13, 2009 at 10:37 AM, Hannes hannes.flo...@gmx.li wrote: OK, thanks. I'll have a look! Ah, it won't be that. I've just seen the error I had documented here: http://wiki.github.com/dpp/liftweb/10-11-possible-code-changes ...and it looks nothing like the error you're getting.

[Lift] Re: Why fields are declared as 'object' with Mapper/Record?

2009-10-13 Thread Oleg G.
On 13 окт, 10:40, David Pollak feeder.of.the.be...@gmail.com wrote: I've got a change on review board that will pick up vals and lazy vals that are MappedFields.  Seehttp://reviewboard.liftweb.net/r/40/ However, until certain defects in the Scala compiler

[Lift] Creating calculated fields in mapper

2009-10-13 Thread Jeppe Nejsum Madsen
Hi, I'm trying to create a mapped object that has some calculated values, where the values are based on actual values in the mapped object. I.e class Tender extends LongKeyedMapper[Tender] with IdPK with OwnedEntity { def getSingleton = Tender object start extends MappedDate(this)

[Lift] Re: Debug cookies

2009-10-13 Thread Timothy Perrett
+1 This is very sound advice. Cheers, Tim On 12 Oct 2009, at 21:35, Ross Mellgren wrote: I don't know if it increases compile time but I avoid wildcard imports like the plague because I think they're perhaps the most confusing thing reading scala code. Thinking to yourself that two types

[Lift] Re: DB logging logs statements twice?

2009-10-13 Thread Derek Chen-Becker
I'm not sure how that could be getting logged twice, especially since it's the exact same ResultSet being returned. When I tested this on my local app (against both PG and MySQL) I didn't get this behavior, but I'll try pulling from master and testing again just in case something changed. Derek

[Lift] Re: net.liftweb.http.LiftFilter is not a javax.servlet.Filter

2009-10-13 Thread Timothy Perrett
Hey Ross, Yeah i've used JSW before also and its been pretty good. However, i got annoyed with it and found this: http://yajsw.sourceforge.net/ Its really, really good - a lot more comprehensive that JSW and its still free. yajsw FTW! Cheers, Tim On 13 Oct 2009, at 15:25, Ross Mellgren

[Lift] Re: Why fields are declared as 'object' with Mapper/Record?

2009-10-13 Thread David Pollak
On Mon, Oct 12, 2009 at 10:15 PM, Oleg G. ojo...@gmail.com wrote: After reading Naftoli's post i checked the way inner object laziness is implemented. And it appears to be not thread safe. It is not threadsafe. This is a known defect and is supposed to be addressed in 2.8. But, the cost of

[Lift] Re: Complex primary key

2009-10-13 Thread David Pollak
I don't think that's possible with mapper. Sorry. You might want to see if JPA supports such a beast. On Mon, Oct 12, 2009 at 7:30 AM, my_li...@me.com wrote: Hello guys, How can I create a mapper with two or more fields as primary key? For instance if we have a table of people with a Long

[Lift] Re: Create the website and all the links are Https ?

2009-10-13 Thread David Pollak
On Tue, Oct 13, 2009 at 3:04 AM, Hannes hannes.flo...@gmx.li wrote: You can use Apache to secure your page with HTTPS. This is correct. The web server that sits in front of your application is responsible for dealing with the HTTP(S) traffic. You can use Apache, Nginx (my favorite) or

[Lift] Issues on github

2009-10-13 Thread Ross Mellgren
I just created a new issue (http://github.com/dpp/liftweb/issues#issue/97 ) and I was curious if just creating it was enough, or whether one needs to send a message to list as well? Is there a policy somewhere I should read? -Ross --~--~-~--~~~---~--~~ You

[Lift] Re: DB logging logs statements twice?

2009-10-13 Thread harryh
I'm also seeing this double logging behavior (using PostgreSQL. I was under the impression that it was happening because the SQL statement is first prepared, and then executed (each of which cause a log entry). It's not critical or anything, but it would be nice if this could be fixed at some

[Lift] Re: Issues on github

2009-10-13 Thread David Pollak
Just create the ticket. We committers review them very frequently On Tue, Oct 13, 2009 at 9:00 AM, Ross Mellgren dri...@gmail.com wrote: I just created a new issue (http://github.com/dpp/liftweb/issues#issue/97 ) and I was curious if just creating it was enough, or whether one needs to send

[Lift] Re: Complex primary key

2009-10-13 Thread David Pollak
I'm sorry, are you trying to do a compound primary key or create a many-to-many intermediary table? On Tue, Oct 13, 2009 at 8:06 AM, David Pollak feeder.of.the.be...@gmail.com wrote: I don't think that's possible with mapper. Sorry. You might want to see if JPA supports such a beast. On

[Lift] Re: Extend the tables that like the migration in the Rails ?

2009-10-13 Thread David Pollak
Schemifier only adds, it does not remove. You have to do destructive operations manually. However, you can register for callbacks on column adds (e.g., MappedField.dbAddedColumn). You could use this function to look for an existing column that needs to be removed. On Mon, Oct 12, 2009 at 7:46

[Lift] Re: DB logging logs statements twice?

2009-10-13 Thread Derek Chen-Becker
OK, I'm seeing the same thing here. I'll open an issue and work on it. Derek On Tue, Oct 13, 2009 at 10:07 AM, harryh har...@gmail.com wrote: I'm also seeing this double logging behavior (using PostgreSQL. I was under the impression that it was happening because the SQL statement is first

[Lift] Re: Database Conversion using Lift's Mapper (e.g. MySQL - Postgres)

2009-10-13 Thread David Pollak
Cool! Thanks. And good choice moving to PostgreSQL. On Tue, Oct 13, 2009 at 2:31 PM, jon jonhoff...@gmail.com wrote: Hi All, I recently migrated our production database from MySQL to PostgreSQL and found the existing scripts to be pretty inadequate (and in Perl, blech). Lift itself has

[Lift] Re: Don't shoot the non-XML messenger ...

2009-10-13 Thread Bill Venners
Hi David, On Tue, Oct 13, 2009 at 4:37 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Why does Lift use XHTML rather than Strings or something else for templating?  Because XML is a secure (and fast) representation.  While PHP sites have significant cross site scripting problems, Lift

[Lift] Re: Don't shoot the non-XML messenger ...

2009-10-13 Thread Bryan
Hi Aule, I am still looking to see if I over-looked somewhere on the web where there is a 1.0.2 Boot.scala   1) showing unambiguously how to flip the default Content-Type   2) and having, in fact, the intended effect  as I now know from a few trials over a few hours that this is not as

[Lift] Re: Don't shoot the non-XML messenger ...

2009-10-13 Thread TylerWeir
I feel we should all just step away from this discussion, it's not getting us anywhere. Tyler On Oct 13, 9:24 pm, Aule grshipl...@gmail.com wrote: Bryan Been there, tried that. Oh - the mime type is text/vnd.curl Btw, actually a threat has been conveyed to me at mail.google.com and I

[Lift] Re: Don't shoot the non-XML messenger ...

2009-10-13 Thread Naftoli Gugenheim
Can you please stop making it sound like you expect to speak rudely about Lift and get polite responses? Or are you completely unaware of how you sound? - Aulegrshipl...@gmail.com wrote: Bryan Been there, tried that. Oh - the mime type is text/vnd.curl

[Lift] Re: Don't shoot the non-XML messenger ...

2009-10-13 Thread David Pollak
You are banned from this group. On Tue, Oct 13, 2009 at 6:24 PM, Aule grshipl...@gmail.com wrote: Bryan Been there, tried that. Oh - the mime type is text/vnd.curl Btw, actually a threat has been conveyed to me at mail.google.com and I have protested to Google I can't imagine Dave

[Lift] Re: **IMPORTANT** Do Not change to Scala 2.7.6

2009-10-13 Thread Alex Black
Hi David, can you elaborate a bit more? Being new to Scala and Lift, I've downloaded and been using 2.7.6, with Lift 1.0. Should I instead be using 2.7.5? I'm just wondering if 2.7.6 has issues with perhaps the latest Lift but not 1.0 lift? - Alex On Sep 15, 11:43 pm, David Pollak

[Lift] Extracting FieldIdentifer names from a list of FieldErrors

2009-10-13 Thread sunanda
Hi, I need to extract the FieldIdentifer names from a list of FieldErrors. Can anyone suggest me how to achieve this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email