[Lift] Re: Hiring Lift Developers

2009-06-16 Thread Viktor Klang
Dang! No Boston, Sweden :( On Tue, Jun 16, 2009 at 3:02 AM, David LaPalomento dlapalome...@novell.comwrote: As much as I'd love an excuse to fly out to London (or Sydney), you're right, it probably is a bit too much of a stretch :) On Jun 15, 6:51 pm, KWright kev.lee.wri...@googlemail.com

[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***

2009-06-16 Thread marius d.
yes yes yes ... entirely my bad as I missed that out ... I'll correct it very soon. Marius On Jun 16, 3:07 am, Bryan. germ...@gmail.com wrote: Hi Marius, I just updated to the tip and got a build failure: [WARNING] /home/bryan/public-repos/git/liftweb/sites/example/src/main/

[Lift] Re: Develop / Production System

2009-06-16 Thread Tobias Daub
Ok, thanks. Well, with the pom.xml file it was a little bit strange. I had to change the Lift version to do the mvn clean install and then change it back. I've no idea why, but it was the only things that helped. Maven stores project dependencies in a repository (by default, its

[Lift] Re: a href... optional query params

2009-06-16 Thread Ewan
Thanks thats how I have done it now but was just checking that there was not some magic that I had missed. -- Ewan On Jun 16, 1:00 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 15, 2009 at 3:59 PM, Ewan ehar...@gmail.com wrote: Hi all I have bind that renders a link

[Lift] Re: scala-forum.org is open!

2009-06-16 Thread David Bernard
Don't worry about duplication, I removed other post. On Tue, Jun 16, 2009 at 12:45, Christian Helmbold c.helmb...@gmx.de wrote: Hi, the new forum for Scala developers is open: http://scala-forum.org Come in and talk about Scala programming and Scala frameworks! Regards, Christian PS:

[Lift] Re: Mapper or Record?

2009-06-16 Thread Jeppe Nejsum Madsen
On 16 Jun 2009, marius d. wrote: Lift Record currently is not implemented for DB interaction but it's targeted for 1.1 release. That probably explains why I couldn't find much when looking through the source :-) I'd say to start development using the Mapper and when Record is ready

[Lift] Re: Mapper or Record?

2009-06-16 Thread marius d.
On Jun 16, 3:17 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On 16 Jun 2009, marius d. wrote: Lift Record currently is not implemented for DB interaction but it's targeted for 1.1 release. That probably explains why I couldn't find much when looking through the source :-) I'd

[Lift] Re: Develop / Production System

2009-06-16 Thread Oliver Lambert
Sometimes (is this, folk-tale or truth?) the maven repository around the application you'reworking on may get slightly out of sync. Then you might need to delete the part of the repository that your application is installed into. On Tue, Jun 16, 2009 at 7:25 PM, Tobias Daub hannes.flo...@gmx.li

[Lift] Re: Mapper record deletion

2009-06-16 Thread Magnus Alvestad
As I move deeper into learning Lift, I now want to start deleting Mapper records in the ToDo example. Here's how I did it (based on suggestions in this group, I think): bind ( question, html, text - .., delete - ajaxButton(Text(Remove), Call(dialog, Str(Do you want to delete the

[Lift] Re: security

2009-06-16 Thread James Matlik
This looks to be a very significant selling point for Lift. I realize there are some high level comments about Lift being designed for security, but I haven't seen any details explaining what measures have been put in place to qualify those statements. This is a prime example of what should be

[Lift] Re: file upload

2009-06-16 Thread DavidV
I'm still stuck on this problem. Just bringing it to the top of the list again so it's not forgotten... On Jun 15, 4:04 pm, DavidV david.v.villa...@gmail.com wrote: I was able to find the code and have a program ready to parse the files as soon as I can upload them.  I tried writing my own

[Lift] sample code for using JDO on GAE/J

2009-06-16 Thread Atsuhiko Yamanaka
Hi there, I have pushed a sample code for using JDO on GAE/J to github. It has been named as lift-gae-jdo and located at http://github.com/ymnk/lift-gae-jdo/tree/master The latest version of Its README is available at

[Lift] Re: file upload

2009-06-16 Thread TylerWeir
Take a look at: http://github.com/dpp/liftweb/blob/dcc7b064a42832b06e4523d1a35351967d7a46b2/sites/example/src/main/scala/net/liftweb/example/snippet/Misc.scala#L119 It should cast some light on your issue. On Jun 16, 9:54 am, DavidV david.v.villa...@gmail.com wrote: I'm still stuck on this

[Lift] Re: file upload

2009-06-16 Thread DavidV
yes, that's what I was looking for. thanks! On Jun 16, 11:11 am, TylerWeir tyler.w...@gmail.com wrote: Take a look at:http://github.com/dpp/liftweb/blob/dcc7b064a42832b06e4523d1a35351967d... It should cast some light on your issue. On Jun 16, 9:54 am, DavidV david.v.villa...@gmail.com

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Jean-Luc
For your information, here is an extract of source code of RequestVarEM : Trait RequestVarEM extends ScalaEntityManager with ScalaEMFactory { object emVar extends RequestVar[EntityManager](openEM()) { ... } } EntityManager is stored in the singleton emVar; so, all db access of Model objects

[Lift] Re: links, menu items and mega user

2009-06-16 Thread Derek Chen-Becker
There are two ways to handle simple links: 1. If you want some function to be executed when the link is clicked, use SHtml.link from a snippet or view: SHtml.link(page2, () = ..., Text(Some Link)) 2. If you just want a link, just use plain XHTML: a href=page2 Some Link/a. Note

[Lift] Re: Redirect after login

2009-06-16 Thread Alexander Azarov
David, Glenn, Many thanks to the thread, I realized how to redirect a user the page he/she was going to load after his/her logon. In this case, I believe it's better to re-implement usual IfLoggedIn (instead of overriding User.login): lazy val IfLoggedIn = If(User.loggedIn_? _, loginAndComeBack

[Lift] Re: sample code for using JDO on GAE/J

2009-06-16 Thread David Pollak
Excellent! On Tue, Jun 16, 2009 at 7:42 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi there, I have pushed a sample code for using JDO on GAE/J to github. It has been named as lift-gae-jdo and located at http://github.com/ymnk/lift-gae-jdo/tree/master The latest version

[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***

2009-06-16 Thread Derek Chen-Becker
Whenever I see msys I hear emesis in my head. Emesis is the medical term for vomiting. On 6/16/09, marius d. marius.dan...@gmail.com wrote: two things: 1. Hate msysgit 2. Thanks to Jorge for his help in committing the file Marius On Jun 16, 9:41 am, marius d. marius.dan...@gmail.com

[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***

2009-06-16 Thread David Pollak
How about vmware and Linux as your dev platform? Just askin' On Tue, Jun 16, 2009 at 12:16 AM, marius d. marius.dan...@gmail.com wrote: two things: 1. Hate msysgit 2. Thanks to Jorge for his help in committing the file Marius On Jun 16, 9:41 am, marius d. marius.dan...@gmail.com

[Lift] Difference between running from command line and from Eclipse

2009-06-16 Thread ph
I've created a test hello-world lift project and it runs fine. http://wiki.liftweb.net/index.php/HowTo_start_a_new_liftwebapp also I've imported this project to Eclipse (mvn eclipse:eclipse) and import from Eclipse. I'm currently using m2eclipse (http:// m2eclipse.codehaus.org/), but before I

[Lift] article proposal : How to code a multi-criteria search form using Hibernate Criteria API

2009-06-16 Thread Jean-Luc
Hello, I propose to write an article about How to code a multi-criteria search form using Hibernate Criteria API. Before starting, I'd like to check : - if no such article is being written ... - if someone is interested by the subject Jean-Luc -- Jean-Luc Canela jlcane...@gmail.com

[Lift] Re: Develop / Production System

2009-06-16 Thread David Pollak
On Tue, Jun 16, 2009 at 6:43 AM, Oliver Lambert olambo...@gmail.com wrote: Sometimes (is this, folk-tale or truth?) the maven repository around the application you'reworking on may get slightly out of sync. Then you might need to delete the part of the repository that your application is

[Lift] Re: Getting Started Issue

2009-06-16 Thread David Pollak
Thanks for answering your own question. :-) On Mon, Jun 15, 2009 at 3:13 PM, Chris Lamey cla...@gmail.com wrote: FYI - I had to specify the full name to get it to work: ./apache-maven-2.0.10/bin/mvn -e org.apache.maven.plugins:maven- archetype-plugin:2.0-alpha-4:generate -U -

[Lift] Re: Difference between running from command line and from Eclipse

2009-06-16 Thread Jeppe Nejsum Madsen
On 16 Jun 2009, ph wrote: I've created a test hello-world lift project and it runs fine. http://wiki.liftweb.net/index.php/HowTo_start_a_new_liftwebapp also I've imported this project to Eclipse (mvn eclipse:eclipse) and import from Eclipse. I'm currently using m2eclipse (http://

[Lift] Re: Difference between running from command line and from Eclipse

2009-06-16 Thread Philippe Kirsanov
Thank you for the reply, however I don't think this is the issue (I tried and that didn't work).Seems like issue in which version of Jetty is used. Maven generates pom file with jetty version [6.1.16,) and this works from command line, in Eclipse however it tries to use version 7.0.0.pre5 (I see

[Lift] Re: Difference between running from command line and from Eclipse

2009-06-16 Thread David Bernard
oups (old version) set the version to 6.1.17 or any 6.1.x and remove range version indicator [ and ,) On Tue, Jun 16, 2009 at 22:14, Philippe Kirsanov pkirsa...@gmail.comwrote: Thank you for the reply, however I don't think this is the issue (I tried and that didn't work).Seems like issue in

[Lift] Firebug error message for AJAX

2009-06-16 Thread Charles F. Munat
I'm getting the following error in Firebug: YAHOO.lift is undefined url = YAHOO.lift.buildURI(addPageName('/...nSuccess(res);}, failure : onFailure }); I have the following scripts: script src=/scripts/yahoo-dom-event/yahoo-dom-event.js type=text/javascript/script script

[Lift] Re: Difference between running from command line and from Eclipse

2009-06-16 Thread Jeppe Nejsum Madsen
On 16 Jun 2009, Philippe Kirsanov wrote: Thank you for the reply, however I don't think this is the issue (I tried and that didn't work).Seems like issue in which version of Jetty is used. Maven generates pom file with jetty version [6.1.16,) and this works from command line, in Eclipse

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Derek Chen-Becker
OK, I just checked in code that should allow this to work. Could you please test and make sure that it's functioning correctly? Thanks, Derek On 6/16/09, Derek Chen-Becker dchenbec...@gmail.com wrote: Using multiple EMs was not something I had considered when I wrote this. I think that I can

[Lift] Re: Firebug error message for AJAX

2009-06-16 Thread Charles F. Munat
I have the import statment and the LiftRules.jsArtifacts = YUIArtifacts in Boot, but the script tag for the liftYUI.js script is not being inserted. I guess I could add it manually, but isn't Lift supposed to insert it? Thanks! Chas. marius d. wrote: Also please see:

[Lift] Re: Difference between running from command line and from Eclipse

2009-06-16 Thread Philippe Kirsanov
Thank you changing to version 6.1.17 worked, but interesting that jetty version that is running is still 6.1.16 and Eclipse in editor still complains that there is an error (class missed) [INFO] Starting jetty 6.1.16 ... 2009-06-16 16:31:35.173::INFO: jetty-6.1.16 On Tue, Jun 16, 2009 at

[Lift] Re: Difference between running from command line and from Eclipse

2009-06-16 Thread Philippe Kirsanov
yes, that what I did and workedthanks On Tue, Jun 16, 2009 at 16:36, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On 16 Jun 2009, Philippe Kirsanov wrote: Thank you for the reply, however I don't think this is the issue (I tried and that didn't work).Seems like issue in which version of

[Lift] Simple Link

2009-06-16 Thread Makeable
Is there a generator to create a simple non-stateful link, or should I be manually creating the node? Kind Regards, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Meredith Gregory
Derek, soapbox You have just demonstrated a process that i have been talking about for the last 15 years. People have a blind spot when it comes to thinking compositionally. They think -- almost to a person -- about god's eye view solutions where there's only one of some key solution component.

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Oliver Lambert
I think you have just volunteered to help refactor this code to make it more composition friendly :) On Wed, Jun 17, 2009 at 9:38 AM, Meredith Gregory lgreg.mered...@gmail.comwrote: Derek, soapbox You have just demonstrated a process that i have been talking about for the last 15 years.

[Lift] Re: Simple Link

2009-06-16 Thread David Pollak
On Tue, Jun 16, 2009 at 5:09 PM, Matt Williams m...@makeable.co.uk wrote: I thought as much - I think i've gotten used to helper overload from other frameworks and was looking to keep as much markup out of the snippets as possible. Would it be worth me creating helpers for such trivialities,

[Lift] directory structure

2009-06-16 Thread Oliver Lambert
In Boot.scala can I call LiftRules.addToPackages multiple times to add multiple directories with snippets in them? Do I have to have a directory structure ending with snippet, for snippets? Do I need the directories comet, model and view, when they are just empty? cheers Oliver

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Jeremy Day
Greg, On Tue, Jun 16, 2009 at 6:38 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: It takes some serious training to think compositionally. No doubt it is extremely tough to think compositionally, and it's all too easy to fall back on non-compositional ways of thinking. In a similar vein

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Meredith Gregory
Jeremy, Most excellent question award to you, sir! How to bootstrap thinking compositionally... this is what i did - learn some compositional idioms by heart - do you know the shape of the paradoxical combinator by heart - do you know the data making up a monad - do you

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Oliver Lambert
2009/6/17 Meredith Gregory lgreg.mered...@gmail.com Jeremy, Most excellent question award to you, sir! How to bootstrap thinking compositionally... this is what i did - learn some compositional idioms by heart - do you know the shape of the paradoxical combinator by heart