[Lift] How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread ngocdaothanh
Hi, I have experience with Rails and Java. I'm new to Scala and Lift. I want to ask how much Scala knowledge is needed to start coding a simple blog with Lift? Rails is easy to learn because it require little Ruby knowledge to get started. Having read the Lift book, I feel one must have some

[Lift] Re: edit: What happened to JsonCmd?

2009-10-15 Thread Chris
I get error: Misc is not a member of net.liftweb.util when I try that. I don't see the Misc class/object in the API docs either. Is there anything else I should try? Thanks On Oct 14, 7:26 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Oct 14, 2009 at 7:09 PM, Chris

[Lift] Re: What is going to be in Lift 1.1

2009-10-15 Thread monty chen
That is great for lift 1.1. but I suggest to improve doc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group,

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

2009-10-15 Thread Timothy Perrett
Hey Ross, Just to close up this thread - you were exactly right. As it turns out, the dependency tree was pulling in a special jetty servlet implementation that I didn't know about. After some dependency management everything worked perfectly! Cheers, Tim On 13 Oct 2009, at 15:25, Ross

[Lift] Re: edit: What happened to JsonCmd?

2009-10-15 Thread YING-KWANG TU
Giving a shot here. I had browsed lift-util-1.1-M6.jar and has located JsonCmd. import net.liftweb.util.{JsonCmd} Cheers On Thu, Oct 15, 2009 at 12:15 PM, Chris coldfusio...@gmail.com wrote: I get error: Misc is not a member of net.liftweb.util when I try that. I don't see the Misc

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Timothy Perrett
Hi there, Personally, when I came to Lift over 2 years ago I knew no scala what- so-ever. Knowing scala is a real bonus, but everyone has to start somewhere right? I would suggest just wading in, and see how you get on - there will be a learning curve but this is a very friendly group

[Lift] Re: Extracting FieldIdentifer names from a list of FieldErrors

2009-10-15 Thread Jeppe Nejsum Madsen
sunanda sunanda.pa...@gmail.com writes: Hi David, Thanks for your reply. I need to find out the fieldnames that causes the error from the list of FieldErrors resulted from the validation. But I find all the FieldIdentifier names as Empty. Looking at the code for e.g. MappedInt, it seems

[Lift] Re: Sending a XML message to a Lift server

2009-10-15 Thread GA
Hello Jon, your code is giving me two errors in the last two lines. (fragment of Main.scala):52: error: ambiguous reference to overloaded definition, both method fromInputStream in object Source of type (java.io.InputStream)scala.io.Source and method fromInputStream in object Source of

[Lift] Re: What is going to be in Lift 1.1

2009-10-15 Thread Peter Robinett
Hi David, That sounds like a great list, especially (in my case) the Record, lift-json, OAuth, and REST support. Peter Robinett On Oct 14, 11:27 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'd like to get everyone's input on what Lift 1.1 will contain.  Here's my list:    

[Lift] Re: The quality of the Lift list [was: Don't shoot the non-XML messenger ...]

2009-10-15 Thread Oleg G.
I've been recently really surprised (in positive way) by the Lift community. I also have some experience in maintaining a community and its spirit and i absolutely agree with and support David and his ideas and decisions. Would be really nice to keep the spirit! On Oct 14, 10:49 pm, David Pollak

[Lift] error: not found: type IdPK in Lift 1.1

2009-10-15 Thread GA
Hello guys, I have a Lift project working perfectly in version 1.0, but when I moved it to Lift 1.1 I am having errors with the Modeler with the type IdPK. Any ideas? Thanks, GA --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread opyate
Hello, I bought the Scala book in PDF format (Odersky/Spoon/Venners) and pretty much jumped around it (benefit of PDF is the hyperlinks) for about a week. I am probably proficient with everything in chapters 1-18 which is still pretty much beginner/novice level, but I need the web/book before I

[Lift] Re: What is going to be in Lift 1.1

2009-10-15 Thread Jonathan Ferguson
Being able to unit test record/mapper classes and the code that depends on them would be wonderful. Cheers Jono 2009/10/15 David Pollak feeder.of.the.be...@gmail.com On Wed, Oct 14, 2009 at 4:51 PM, Timothy Perrett timo...@getintheloop.euwrote: Agreed on all fronts. Points 1 - 4 are

[Lift] Re: Sending a XML message to a Lift server

2009-10-15 Thread Timothy Perrett
Guys, Dont use scala.io.Source its very broken under the hood in current versions of Scala (according to paulp). Its already fixed in the trunk of 2.8 however (again, according to paulp). Cheers, Tim On 15 Oct 2009, at 11:09, GA wrote: Hello Jon, your code is giving me two errors

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Viktor Klang
I started Scala 2 years ago by reading the Lift code. so DPPs basically responsible for my Scala code... ;) On Thu, Oct 15, 2009 at 10:58 AM, opyate opy...@gmail.com wrote: Hello, I bought the Scala book in PDF format (Odersky/Spoon/Venners) and pretty much jumped around it (benefit of PDF

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Timothy Perrett
+1 Although i've also learnt a lot from n8han's dispatch library - that thing is freaking immense. Cheers, Tim On 15 Oct 2009, at 12:18, Viktor Klang wrote: I started Scala 2 years ago by reading the Lift code. so DPPs basically responsible for my Scala code... ;)

[Lift] ajaxForm and onSubmit

2009-10-15 Thread Tobias Hauth
Hi, I want to use 'def ajaxForm(onSubmit: JsCmd, body: NodeSeq)' and update a hidden fields value on submit with some value. The problem is that the generated javascript for the onsubmit event first executes the serialize on the form and then uses my code for onSubmit. E.g.

[Lift] Re: What is going to be in Lift 1.1

2009-10-15 Thread Jacek Furmankiewicz
Will REST support include integrated JAX-RS and JAXB? Or are you planning to not use those existing stacks and replace them with something Scala/Lift-specific? I personally like both of them as they take care of a lot of plumbing transparently (.e.g. switching output from JSON to XML depending

[Lift] Re: DB logging logs statements twice?

2009-10-15 Thread Derek Chen-Becker
OK, I found what's happening. Logging is getting called in the private DB.runPreparedStatement, and also in the DB.exec method. Mapper uses exec within the runPreparedStatement call. It seems like exec is the more appropriate place to be running the logging, since you could have multiple execs on

[Lift] Re: DB logging logs statements twice?

2009-10-15 Thread Derek Chen-Becker
Another option that I just thought of would be to add a logged flag on the PreparedStatement wrapper so that it knows not to print a dup. Derek On Thu, Oct 15, 2009 at 8:09 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK, I found what's happening. Logging is getting called in the private

[Lift] Re: DB logging logs statements twice?

2009-10-15 Thread Viktor Klang
I vote for DB.exec On Thu, Oct 15, 2009 at 4:09 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK, I found what's happening. Logging is getting called in the private DB.runPreparedStatement, and also in the DB.exec method. Mapper uses exec within the runPreparedStatement call. It seems

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-10-15 Thread David Pollak
In the deep dark recesses of my memory, I think we originally did text-only messages and there was some complaint about that... sigh. On Wed, Oct 14, 2009 at 10:36 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: The way that Lift uses the API we don't support sending non-multipart messages.

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

2009-10-15 Thread Ross Mellgren
Hooray! Three cheers for working code! -Ross On Oct 15, 2009, at 4:45 AM, Timothy Perrett wrote: Hey Ross, Just to close up this thread - you were exactly right. As it turns out, the dependency tree was pulling in a special jetty servlet implementation that I didn't know about. After

[Lift] Re: edit: What happened to JsonCmd?

2009-10-15 Thread Ross Mellgren
You might want to double check that you have 1.1-M6 for all lift-* dependencies in your POM, assuming you use Maven. -Ross On Oct 15, 2009, at 12:15 AM, Chris wrote: I get error: Misc is not a member of net.liftweb.util when I try that. I don't see the Misc class/object in the API

[Lift] Re: edit: What happened to JsonCmd?

2009-10-15 Thread David Pollak
Ying-Kwang's got it right. On Wed, Oct 14, 2009 at 9:15 PM, Chris coldfusio...@gmail.com wrote: I get error: Misc is not a member of net.liftweb.util when I try that. I don't see the Misc class/object in the API docs either. Is there anything else I should try? Thanks On Oct 14,

[Lift] Re: Extracting FieldIdentifer names from a list of FieldErrors

2009-10-15 Thread David Pollak
On Thu, Oct 15, 2009 at 2:48 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: sunanda sunanda.pa...@gmail.com writes: Hi David, Thanks for your reply. I need to find out the fieldnames that causes the error from the list of FieldErrors resulted from the validation. But I find all the

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-15 Thread GA
Here you have the complete model file. It is just a test class. The error I have is Not found: Type IdPK. I get it when I try to compile the file. Also NetBeans is showing the error. The same file was working fine in Lift 1.0. I have created a new project based on the Lift snapshot 1.1

[Lift] Re: What is going to be in Lift 1.1

2009-10-15 Thread David Pollak
On Thu, Oct 15, 2009 at 7:08 AM, Jacek Furmankiewicz jace...@gmail.comwrote: Will REST support include integrated JAX-RS and JAXB? Or are you planning to not use those existing stacks and replace them with something Scala/Lift-specific? This thread is the discussion of the what is going to

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-15 Thread David Pollak
I'm not sure what's going on. This code worked for me in a brand new archetype-basic 1.1-SNAPSHOT project. Please make sure the following entry is in your pom.xml file: dependency groupIdnet.liftweb/groupId artifactIdlift-mapper/artifactId version1.1-SNAPSHOT/version

[Lift] Re: MappedString holding null

2009-10-15 Thread David Pollak
On Wed, Oct 14, 2009 at 8:40 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: On Wed, Oct 14, 2009 at 11:08 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Oct 14, 2009 at 7:45 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: 1. Why does MappedString have members such

[Lift] Re: ajaxForm and onSubmit

2009-10-15 Thread David Pollak
Sounds like a defect to me. Please open a ticket. On Thu, Oct 15, 2009 at 6:41 AM, Tobias Hauth tobias.ha...@gmail.comwrote: Hi, I want to use 'def ajaxForm(onSubmit: JsCmd, body: NodeSeq)' and update a hidden fields value on submit with some value. The problem is that the generated

[Lift] Welcome Dirk Louwers to the Lift committers

2009-10-15 Thread David Pollak
Folks, Please join me in welcoming Dirk to the Lift committers. Dirk is going to integrate Ext.Js (the MIT licensed part of it) into Lift. Welcome Dirk and we look forward to your contributions! Thanks, David -- Lift, the simply functional web framework http://liftweb.net Beginning Scala

[Lift] Using CalendarMonthView for an Appointment System

2009-10-15 Thread Dave
Hi all- I am currently attempting to build an appointment calendar in Lift. I'm having a lot of trouble getting everything working correctly (partially i think because of my ignorance of what functionality is available through the js and widgets packages. Currently, on cell click, I open a new

[Lift] binding bug inside of select elements

2009-10-15 Thread harryh
This seems very strange to me, and I don't have a minimal test case yet, but I'm seeing a problem where elements are not being properly bound when they appear inside of a select in my view. So, for example: select stats:options /select stats:options isn't being bound. But div

[Lift] Re: binding bug inside of select elements

2009-10-15 Thread harryh
Not seeing how to mark it high priority, but here is the ticket: http://github.com/dpp/liftweb/issues/#issue/102 will attach additional information as I figure it out. -harryh On Oct 15, 12:37 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Weird. When you have a repro case, please

[Lift] Re: Welcome Dirk Louwers to the Lift committers

2009-10-15 Thread Timothy Perrett
Welcome to the team dude - care to give some information about yourself and background? Cheers, Tim On Oct 15, 4:46 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Please join me in welcoming Dirk to the Lift committers.  Dirk is going to integrate Ext.Js (the MIT licensed part

[Lift] Re: Welcome Dirk Louwers to the Lift committers

2009-10-15 Thread Heiko Seeberger
Hi Dirk! Heiko On Thursday, October 15, 2009, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Please join me in welcoming Dirk to the Lift committers.  Dirk is going to integrate Ext.Js (the MIT licensed part of it) into Lift. Welcome Dirk and we look forward to your

[Lift] Re: Using CalendarMonthView for an Appointment System

2009-10-15 Thread Dave
Marius, I have looked at the docs, and the method I described seemed the best way to do it. I was just curious if there were any other ideas out there. Thanks for the reply. Dave On Oct 15, 12:22 pm, Marius marius.dan...@gmail.com wrote: Calendar Widgets work with JQuery. You can see the

[Lift] Another Newbie Question (Last one for a while, Promise!)

2009-10-15 Thread Dave
After checking the table editor example, I was keen to try it out, and it works GREAT. So thanks for all of your hard work. Here is my problem though. I want to filter the table so that only entries linked to a certain user are displayed. So for instance say I have class foo: class Foo

[Lift] Re: Using CalendarMonthView for an Appointment System

2009-10-15 Thread Marius
If you open that ticket the fix will allow you to submit the Ajax request and populate the Calendar without having to reload the page. Page reload for such cases is not very good experience. I opened issue http://github.com/dpp/liftweb/issues#issue/104 to address this. Br's, Marius On Oct 15,

[Lift] Re: Attributes question

2009-10-15 Thread Timothy Perrett
Im using -% in production code and personally i think it looks fine! Cheers, Tim On 15 Oct 2009, at 19:12, Derek Chen-Becker wrote: Did this discussion ever lead to anything concrete? I just had to update part of the book that talks about this and I added a note to follow-up in case we

[Lift] Re: DB logging logs statements twice?

2009-10-15 Thread Derek Chen-Becker
That's +2 to removing the logging from runPreparedStatement? Any other feelings one way or the other? Derek On Thu, Oct 15, 2009 at 8:13 AM, Viktor Klang viktor.kl...@gmail.comwrote: I vote for DB.exec On Thu, Oct 15, 2009 at 4:09 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK, I

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Peter Robinett
David's Beginning Scala book is fantastic: it's perfectly paced, gets straight to the point, and is written in a nice voice. Peter Robinett On Oct 15, 4:41 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 15, 2009 at 4:18 AM, Viktor Klang viktor.kl...@gmail.comwrote: I

[Lift] Re: Attributes question

2009-10-15 Thread Derek Chen-Becker
Is that now part of the Lift library, or is that hand-coded? On Thu, Oct 15, 2009 at 12:59 PM, Timothy Perrett timo...@getintheloop.euwrote: Im using -% in production code and personally i think it looks fine! Cheers, Tim On 15 Oct 2009, at 19:12, Derek Chen-Becker wrote: Did this

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread David Pollak
On Thu, Oct 15, 2009 at 12:02 PM, Peter Robinett pe...@bubblefoundry.comwrote: David's Beginning Scala book is fantastic: it's perfectly paced, gets straight to the point, and is written in a nice voice. Guess I owe you a beer for that promo :-) Peter Robinett On Oct 15, 4:41 pm, David

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Ross Mellgren
David, do you secretly work for a brewery somewhere? It seems like you either grant or receive beers on a regular basis ;-) -Ross On Oct 15, 2009, at 3:04 PM, David Pollak wrote: On Thu, Oct 15, 2009 at 12:02 PM, Peter Robinett pe...@bubblefoundry.com wrote: David's Beginning Scala

[Lift] run jetty

2009-10-15 Thread john
Hi all, I'm really excited with my recent finding of the wonderful, powerful lift. May be my question is too naive, but I did get: error executing database operation clean_insert, when I run jetty on my todo directory on Window XP machine. your help is highly appreciated! John

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread David Pollak
On Thu, Oct 15, 2009 at 12:05 PM, Ross Mellgren dri...@gmail.com wrote: David, do you secretly work for a brewery somewhere? It seems like you either grant or receive beers on a regular basis ;-) Nah... but it's a great currency, and always very liquid. ;-) -Ross On Oct 15, 2009, at

[Lift] Re: Creating calculated fields in mapper

2009-10-15 Thread Naftoli Gugenheim
Have you made any progress? - Jeppe Nejsum Madsenje...@ingolfs.dk wrote: Naftoli Gugenheim naftoli...@gmail.com writes: What are you trying to do? Store a computed value in a database column? No Or have a fake MappedInt in your model whose value is

[Lift] [Sorta Not Related] Ummm.. at the risk of crashing my browser........

2009-10-15 Thread Jim Barrows
Who wants a wave invite? Not sure how long Google will take to process them.. but I have some! I just added the lifehack list to my wave account, and I think firefox nearly died. Quite amusing.. in many ways -- James A Barrows --~--~-~--~~~---~--~~ You

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Naftoli Gugenheim
Can you outline the feature set it should have? And what is your time frame? - ngocdaothanhngocdaoth...@gmail.com wrote: Hi, I have experience with Rails and Java. I'm new to Scala and Lift. I want to ask how much Scala knowledge is needed to start coding a

[Lift] Re: run jetty

2009-10-15 Thread Wilson MacGyver
Some quick questions: Are you trying to follow the todo example in http://liftweb.net/docs/getting_started/mod_master.html ? Are you using an external database like mysql or are you using the built-in one? On Thu, Oct 15, 2009 at 3:03 PM, john banc...@gmail.com wrote: Hi all, I'm really

[Lift] Re: Sending a XML message to a Lift server

2009-10-15 Thread Naftoli Gugenheim
Both errors are because you broke up the line before the parenthesis. - GAmy_li...@me.com wrote: Hello Jon, your code is giving me two errors in the last two lines. (fragment of Main.scala):52: error: ambiguous reference to overloaded definition, both

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-10-15 Thread Ross Mellgren
Do you have evidence that it ever will auto-highlight URLs in plain text emails? E.g. some email from your client? -Ross On Oct 15, 2009, at 3:18 PM, Naftoli Gugenheim wrote: It isn't not handling the message, it's just not automatically hyperlinking the URL. Any other ideas? Thanks.

[Lift] Re: Another Newbie Question (Last one for a while, Promise!)

2009-10-15 Thread Naftoli Gugenheim
I had a similar requirement, so I factored out ItemsListEditor. Subclass it and override its items with an ItemsList subclass. You can also override title, onInsert/Remove/Submit, sortFn, and fieldFilter. Actually you have to override items and title because they're abstract. Then use the

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Wilson MacGyver
Generally for people new to scala but with primary intention to explore lift, I suggest the following Get David Pollak's Beginning Scala book, read ch 1-5. (I still think it's a good idea to read ch 6 to know how actors work, but for using lift, you can put it in the back burner.) Then start on

[Lift] Help obtaining SQL Server version numbers

2009-10-15 Thread Derek Chen-Becker
I don't have access to any SQL Server instances, so I was wondering if someone out there who does could help me. In order to do some version-specific behavior in Mapper/Schemifier, I need major and minor version numbers for SQL Server. I've been googling around, and I found this doc:

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-10-15 Thread Derek Chen-Becker
If you really want, you could send me a private message with your email address and I can send you a message that I'm absolutely sure is plain text so that you could verify. Derek On Thu, Oct 15, 2009 at 1:23 PM, Ross Mellgren dri...@gmail.com wrote: Do you have evidence that it ever will

[Lift] Problem with RedirectResponse not honoring excludeFromContextPathRewriting

2009-10-15 Thread Ross Mellgren
Recently dpp addressed an issue I filed to allow excluding certain URLs from context rewriting -- http://github.com/dpp/liftweb/issues/closed/#issue/83 However, I think there might be a place that this change missed, or I'm doing something wrong. Overall, looking at the code I'm not sure

[Lift] Re: run jetty

2009-10-15 Thread j...@bancova.com
yes, that is what I'm trying to do. Thank you for your quick response! On Thu, Oct 15, 2009 at 3:20 PM, Wilson MacGyver wmacgy...@gmail.comwrote: Some quick questions: Are you trying to follow the todo example in http://liftweb.net/docs/getting_started/mod_master.html ? Are you using an

[Lift] Re: Problem with RedirectResponse not honoring excludeFromContextPathRewriting

2009-10-15 Thread Marius
I think this is caused by LiftServlet#sendResponse#fixHeaders code. Can you please open a ticket or re-open the existent one? I'll fix it if Dave doesn't do it faster. Br's, Marius On Oct 15, 10:47 pm, Ross Mellgren dri...@gmail.com wrote: Recently dpp addressed an issue I filed to allow

[Lift] Re: Overriding date/time formatting

2009-10-15 Thread Derek Chen-Becker
OK, I'm starting to dig into this and I'm finding that a lot of stuff in TimeHelpers essentially replicates stuff that's already in JodaTime. Does anyone see a problem with doing an overhaul of TimeHelpers in addition to the Mapper stuff? I'll keep the API the same, it should just reduce a lot of

[Lift] Re: Welcome Dirk Louwers to the Lift committers

2009-10-15 Thread Derek Chen-Becker
Welcome Dirk! On Thu, Oct 15, 2009 at 9:46 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Please join me in welcoming Dirk to the Lift committers. Dirk is going to integrate Ext.Js (the MIT licensed part of it) into Lift. Welcome Dirk and we look forward to your

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-10-15 Thread Naftoli Gugenheim
Yes, sure. Most smartphones do, I believe. Now my client informed me as follows. When he receives this message the email view has an option to switch between HTML view and plain text view. When he switches to plain text it does hyperlink the URL. However if I send say an SMS to his email

[Lift] Re: Help obtaining SQL Server version numbers

2009-10-15 Thread Ross Mellgren
Sadly I cannot -- we use XADataSource and so I have no idea what a working JDBC URL is ;-) I replicated what your script does in BeanShell and ran it against my running JBoss instance, so hopefully it's sufficient: conn = com.paytronix.server.api.common.ServiceLocator.get

[Lift] Re: Help obtaining SQL Server version numbers

2009-10-15 Thread Derek Chen-Becker
Awesome, thanks! It looks like the version numbers in the real tables don't match up, but their example does. If anyone else can verify the values for 2000 and 2008, that would be great, otherwise I'll assume that the doc's examples are valid. Thanks, Derek On Thu, Oct 15, 2009 at 2:04 PM, Ross

[Lift] Re: Problem with RedirectResponse not honoring excludeFromContextPathRewriting

2009-10-15 Thread Ross Mellgren
Frankly I have no clue how to reopen things in the github issue tracker (me and the github issue tracker don't get along terribly well ;-) ), so I opened a new one: http://github.com/dpp/liftweb/issues/#issue/105 Thanks! -Ross On Oct 15, 2009, at 3:55 PM, Marius wrote: I think this is

[Lift] Re: run jetty

2009-10-15 Thread Wilson MacGyver
on which step does this happen when you are following the tutorial? I just tried it on my laptop. mvn archetype:generate -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ -DarchetypeVersion=1.0 \ -DremoteRepositories=http://scala-tools.org/repo-releases \

[Lift] Re: [Sorta Not Related] Ummm.. at the risk of crashing my browser........

2009-10-15 Thread Derek Chen-Becker
I'd love to try it out. Derek On Thu, Oct 15, 2009 at 1:18 PM, Jim Barrows jim.barr...@gmail.com wrote: Who wants a wave invite? Not sure how long Google will take to process them.. but I have some! I just added the lifehack list to my wave account, and I think firefox nearly died. Quite

[Lift] Re: Extracting FieldIdentifer names from a list of FieldErrors

2009-10-15 Thread Jeppe Nejsum Madsen
On Thu, Oct 15, 2009 at 5:05 PM, David Pollak feeder.of.the.be...@gmail.com wrote: [...] I would think that this could have a better default value, e.g. the same of the mapped field for instance Yep.  Please open a ticket. Done. http://github.com/dpp/liftweb/issues/#issue/106 /Jeppe

[Lift] Re: Attributes question

2009-10-15 Thread Naftoli Gugenheim
Yes, David added it. - Derek Chen-Beckerdchenbec...@gmail.com wrote: Is that now part of the Lift library, or is that hand-coded? On Thu, Oct 15, 2009 at 12:59 PM, Timothy Perrett timo...@getintheloop.euwrote: Im using -% in production code and personally

[Lift] Re: run jetty

2009-10-15 Thread Wilson MacGyver
simple answer, do it as one line like this mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=1.0 -DremoteRepositories=http://scala-tools.org/repo-releases -DgroupId=com.liftworkshop -DartifactId=todo -Dversion=0.1-SNAPSHOT On

[Lift] Re: run jetty

2009-10-15 Thread Naftoli Gugenheim
The backslash works on Linux, not Windows, as a line continuator. - Wilson MacGyverwmacgy...@gmail.com wrote: simple answer, do it as one line like this mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-basic

[Lift] Re: Overriding date/time formatting

2009-10-15 Thread Derek Chen-Becker
OK, more nits to pick. There are two formats in TimeHelpers: hour and time. They seem very related, so I'm not sure why there's a distinction between the two. The default for hour is HH:mm:ss and for time it's HH:mm zzz. Derek On Thu, Oct 15, 2009 at 1:56 PM, Derek Chen-Becker

[Lift] JSON... deserializing lists of parameterized case classes

2009-10-15 Thread David Pollak
Howdy, I've got something like: final case class Foo[T](name: String) final case class ManyFoos(who: List[Foo[_]])) If I do JSON serialization/deserialization using lift-json, of an instance of ManyFoos, the deserialization stuff throws an exception. Is this expected or should I file a ticket?

[Lift] Are we willing to make a breaking change for Joda Time?

2009-10-15 Thread Derek Chen-Becker
Just asking, since I'm looking at bolting a lot of java.util.Date methods onto the innards of TimeHelpers so that the specs pass. Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-15 Thread Derek Chen-Becker
OK, will do. On Thu, Oct 15, 2009 at 5:18 PM, David Pollak feeder.of.the.be...@gmail.com wrote: I'd prefer not the break the apis without deprecating them first On Thu, Oct 15, 2009 at 4:09 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Just asking, since I'm looking at bolting a lot

[Lift] Re: run jetty

2009-10-15 Thread Wilson MacGyver
congrats, welcome to the beginning of lift. On Thu, Oct 15, 2009 at 7:22 PM, j...@bancova.com banc...@gmail.com wrote: i got it running! i followed your suggestion and did some change - put every thing in one line and copy this ONE line to c:\ mvn archetype:generate -U

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread ngocdaothanh
Can you outline the feature set it should have? And what is your time frame? I study Lift in my free time, so basically there's no strict time frame. For a start, I would like to just study enough Scala to be able to use Lift, and just enough Lift to be able to create a simple blog as an

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-15 Thread Derek Chen-Becker
Well, actually, maybe I'll just make a JodaHelpers with the applicable methods on it and we can just deprecate the entire TimeHelpers object. If anyone else has a better idea I'm all ears. Derek On Thu, Oct 15, 2009 at 5:22 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK, will do. On

[Lift] Re: Welcome Dirk Louwers to the Lift committers

2009-10-15 Thread Atsuhiko Yamanaka
Cool! Welcome Dirk! On Fri, Oct 16, 2009 at 12:46 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Please join me in welcoming Dirk to the Lift committers.  Dirk is going to integrate Ext.Js (the MIT licensed part of it) into Lift. Welcome Dirk and we look forward to your

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-15 Thread Derek Chen-Becker
Oh, I plan on incorporating the DSL. My thought was that JodaHelpers would define most of the same methods as TimeHelpers, just operating on DateTime instead of Date and Calendar. Then you could do import ...Helpers._ import ...JodaHelpers._ and the latter import would mask the TimeHelpers

[Lift] Re: edit: What happened to JsonCmd?

2009-10-15 Thread David Pollak
On Thu, Oct 15, 2009 at 7:46 PM, Chris coldfusio...@gmail.com wrote: Well, I pulled all the files from http://scala-tools.org/repo-releases/net/liftweb/lift-util/1.1-M6/ and I do see Misc.scala in lift-util-1.1-M6-sources.jar but not in lift-util-1.1-M6.jar. The SHA1 sum matches what was

[Lift] Re: edit: What happened to JsonCmd?

2009-10-15 Thread Ross Mellgren
The class file names in the jar are determined by the class name / scope / access modifiers and other such nonsense, so unlike java there's not even a vague 1 : 1 correlation between source file names and class file names. So, JsonCmd is in Misc.scala, but it will be emitted as