[Lift] Re: Future of the Lift wiki

2009-06-02 Thread Kevin Wright
Mark me down :) On Tue, Jun 2, 2009 at 9:36 AM, marius d. marius.dan...@gmail.com wrote: I believe Debbie was asking the community for a few folks willing to garden the wiki. Anyone interested? Br's, Marius On Jun 2, 11:07 am, Timothy Perrett timo...@getintheloop.eu wrote: Guys, I

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

2009-06-08 Thread Kevin Wright
+1 As an evolving framework, it definitely makes more sense to favour consistency over backward compatibility at this stage On Mon, Jun 8, 2009 at 9:00 AM, marius d. marius.dan...@gmail.com wrote: Other folks, please speak up ! :) ... I will soon migrate this into a Lift widget. Br's,

[Lift] Re: Great pictures from the Scala Lift Off

2009-06-09 Thread Kevin Wright
I wish I could actually discover LSUG meets! I signed up on (the extremely minimalist) http://lsug.org/ but the only other hits I get are fleeting references to old meets on nabble and flickr Where's the google group? The mailing list? On Mon, Jun 8, 2009 at 11:10 PM, Timothy Perrett

[Lift] Re: How to prevent OutOfMemory while compiling Lift project?

2009-06-09 Thread Kevin Wright
It might be permgen space, I'm currently using: MAVEN_OPTS=-Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC *-Xms1024m -Xmx1024m* set the min and max the same, so no dynamic reallocation will happen, should be faster :) *-XX:MaxPermSize=256m* sets the size

[Lift] Re: Great pictures from the Scala Lift Off

2009-06-09 Thread Kevin Wright
BTW, are you in need of someone to actually add a bit of content to that site? On Tue, Jun 9, 2009 at 4:58 PM, Richard Dallaway dalla...@gmail.com wrote: On 9 Jun 2009, at 15:57, Kevin Wright wrote: I wish I could actually discover LSUG meets! I signed up on (the extremely minimalist

Re: [scala] Re: [Lift] Programming in Scala #5, Lift Book #8, Beginning Scala #9

2009-06-10 Thread Kevin Wright
Note sure I'd agree make is all that simple... Unless you're doing something VERY basic then it's loaded with potential for accidental complexity. The whole philosophy of maven is to do the Right Thing(tm) by default, although I must admit that boilerplate for configuring plugins is frequently a

[Lift] Re: David and Lift @ QCon

2009-06-17 Thread Kevin Wright
I do wish they'd make their videos downloadable... On Wed, Jun 17, 2009 at 5:22 PM, marius d. marius.dan...@gmail.com wrote: Really enjoined ! ... Thank David and congrats ! Br's, Marius On Jun 17, 5:41 pm, Viktor Klang viktor.kl...@gmail.com wrote: For those of us who weren't there:

[Lift] Re: Thoughts on separation of display from logic

2009-06-17 Thread Kevin Wright
One possibility I already considered is something like: bind(nodeseq, prefix, suffix - Text(matched an element), @suffix - Text(matched an attribute), @suffix=value - Text(matched an attribute with specified value)); the bindings here would respectively match the elements:

[Lift] Re: Thoughts on separation of display from logic

2009-06-18 Thread Kevin Wright
, David Pollak feeder.of.the.be...@gmail.com wrote: Crud... adding xpathisms to bind... where will it end? :-) On Wed, Jun 17, 2009 at 3:41 PM, Kevin Wright kev.lee.wri...@googlemail.com wrote: One possibility I already considered is something like: bind(nodeseq, prefix, suffix

[Lift] Re: Thoughts on separation of display from logic

2009-06-18 Thread Kevin Wright
Ignore that first one, it makes no sense, really not sure what I was thinking there... On Thu, Jun 18, 2009 at 10:25 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: How about this one then: bind(nodeseq, prefix, (suffix, node) - Text(this text replaced a prefix:suffix element

[Lift] Re: Downloading...

2009-06-20 Thread Kevin Wright
Nothing to do with gitThis is just maven attempting to download the distinct modules smack and smackx Maven behaviour is to attempt all known repositories until a given artifact was found, in this case you had two known repos: scala-tools.org and repo1.maven.org On Sat, Jun 20, 2009 at 10:14

[Lift] Re: Is there any eclipse setup that actually works for lift?

2009-06-22 Thread Kevin Wright
Using eclipse with the IAM plugin is a *big* help (still hosted at http://code.google.com/p/q4e/)make sure you start as a native maven project then import the pom after that you can add the scala nature, you'll need the scala plugin for that, of course Personally, I use IntelliJ for the moment,

[Lift] Re: [scala] preso on monadic design patterns for the web

2009-06-29 Thread Kevin Wright
Is this going to be made available as a download somewhere? I have an IPod touch and a long daily commute... On Mon, Jun 29, 2009 at 2:10 PM, Viktor Klang viktor.kl...@gmail.comwrote: On Mon, Jun 29, 2009 at 2:48 PM, Christos KK Loverdos lover...@gmail.comwrote: This is one of the

[Lift] No Navigation Defined in menu snippet

2009-07-06 Thread Kevin Wright
I have two webapps, hosted on the same server: http://lsug.org/main/ http://lsug.org/stage/ Problem is, the menu works just fine on the stage site, but not on the main site. Which is odd, as these sites should be identical. I just renamed stage.war to main.war and let tomcat auto-deploy it The

[Lift] Re: No Navigation Defined in menu snippet

2009-07-06 Thread Kevin Wright
at 8:58 AM, Timothy Perrett timo...@getintheloop.euwrote: Wow, that really is strange! Can you please post your sitemap? What version of Lift are you using? Cheers, Tim On Jul 6, 8:17 am, Kevin Wright kev.lee.wri...@googlemail.com wrote: I have two webapps, hosted on the same server: http

[Lift] Re: No Navigation Defined in menu snippet

2009-07-06 Thread Kevin Wright
FWIW, I've had this error for a while now. It looked like the virtual host config was guilty at one point, and I also went through a phase of thinking that it only occurred if I accessed the page via jk2 before hitting tomcat directly (still not ruled that one out) Various restarts and other

[Lift] Re: No Navigation Defined in menu snippet

2009-07-06 Thread Kevin Wright
Interesting... yes it does On Mon, Jul 6, 2009 at 9:51 AM, marius d. marius.dan...@gmail.com wrote: And if you deploy only http://lsug.org/main/ does it work correctly? Br's, Marius On Jul 6, 10:17 am, Kevin Wright kev.lee.wri...@googlemail.com wrote: I have two webapps, hosted

[Lift] Re: Anyone out there using SBT?

2009-07-06 Thread Kevin Wright
Single Bullet Theory, or Swedish Bikini Team ? On Mon, Jul 6, 2009 at 10:07 AM, Timothy Perrett timo...@getintheloop.euwrote: Hey Guys, Is anyone out there using SBT for their lift projects? if so, how are you finding it? Cheers, Tim

[Lift] Re: No Navigation Defined in menu snippet

2009-07-06 Thread Kevin Wright
Marius, should I be thinking that you have a theory on this one? On Mon, Jul 6, 2009 at 9:55 AM, Kevin Wright kev.lee.wri...@googlemail.comwrote: Interesting... yes it does On Mon, Jul 6, 2009 at 9:51 AM, marius d. marius.dan...@gmail.com wrote: And if you deploy only http://lsug.org

[Lift] Re: No Navigation Defined in menu snippet

2009-07-06 Thread Kevin Wright
you try changing the package names. I know it shouldn't matter but this is an awkward case still. Br's, Marius On Jul 6, 2:32 pm, Kevin Wright kev.lee.wri...@googlemail.com wrote: I agree with your thinking that this looks like a classloading issue, but haven't (yet) tried any clever

[Lift] Scala resources

2009-07-07 Thread Kevin Wright
I'm trying to compile a catalogue of online resources: websites, blogs, wikis, open source projects, articles, etc. relating to scala If anyone has any links for suitable content, especially material that may not be well known, then please share!

[Lift] Re: Scala resources

2009-07-08 Thread Kevin Wright
It's still a work in progress, but I've made the list publicly available http://spreadsheets.google.com/ccc?key=tLa2g0FWC454u2pC8O5FoJwhl=en# Do let me know anything that I've missed! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Lift] Re: Problem with jQuery/JavaScript and Liftweb because of Doctype

2009-07-08 Thread Kevin Wright
Puts us in the rather interesting position of being a Java-based framework that only works on internet explorer... On Wed, Jul 8, 2009 at 1:27 PM, marius d. marius.dan...@gmail.com wrote: Actually I had the same problem with with Javeline on FF. Once I changed the content-type in the HTTP

[Lift] Re: Problem with jQuery/JavaScript and Liftweb because of Doctype

2009-07-08 Thread Kevin Wright
8, 3:32 pm, Kevin Wright kev.lee.wri...@googlemail.com wrote: Puts us in the rather interesting position of being a Java-based framework that only works on internet explorer... On Wed, Jul 8, 2009 at 1:27 PM, marius d. marius.dan...@gmail.com wrote: Actually I had the same problem

[Lift] Re: Problem with jQuery/JavaScript and Liftweb because of Doctype

2009-07-08 Thread Kevin Wright
// applicable on IE6 only *height: 100px // applicable on IE7+ } But I'm not sure if many people users are actually using this. Br's, Marius On Jul 8, 4:12 pm, Kevin Wright kev.lee.wri...@googlemail.com wrote: Uh-oh, looks like I'm going to be flagged as a troll, I should have remembered

[Lift] Re: Problem with jQuery/JavaScript and Liftweb because of Doctype

2009-07-08 Thread Kevin Wright
I've already used it :) On Wed, Jul 8, 2009 at 3:11 PM, marius d. marius.dan...@gmail.com wrote: Actually I added a while ago a fixCss feature that deals with root relative paths where context path is pre-pended. Please see LiftRules.fixCss. Br's, Marius On Jul 8, 4:34 pm, Kevin Wright

[Lift] Re: Scala as an alternative for complex length xml/xslt transformation?

2009-07-20 Thread Kevin Wright
more info here:http://www.scala-lang.org/node/199 On Mon, Jul 20, 2009 at 9:58 PM, Timothy Perrett timo...@getintheloop.euwrote: Robin, Whilst your questions are valid and there are a lot of very very good Scala folk on the lift mailing list, you'll probably get broader Scala audience

[Lift] Re: Scala project in eclipse - showing Java build errors?

2009-07-21 Thread Kevin Wright
Probably best to just forego all support and leave it to the mailing lists, much less stressful that way :p Out of curiousity, do you think that the time may be ripe to set up a scala-ide mailing list with epfl, we seem to be getting more and more questions raised about it... On Tue, Jul 21,

[Lift] Re: Stamped Trait question

2009-07-29 Thread Kevin Wright
On Thursday, July 30, 2009, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Jul 29, 2009 at 4:21 PM, fbettag fr...@bett.ag wrote: Btw. the docs for KeyedMapper don't work.. http://scala-tools.org/scaladocs/liftweb/1.0/net/liftweb/mapper/KeyedMapper.html when i click on KeyType

[Lift] Re: Offline building and documentation

2009-07-31 Thread Kevin Wright
Maven is a bit tricky when trying to go offline if you have snapshot dependencies. Having said that... I've definitely not been bitten by the issue since upgrading to 2.2 - so you really want to check you're on the latest version, as it looks like they've recently done a lot of releases in quick

[Lift] Re: *** BREAKING CHANGES COMMITTED ***

2009-08-07 Thread Kevin Wright
Impressive stuff :) On Fri, Aug 7, 2009 at 6:54 PM, marius d. marius.dan...@gmail.com wrote: Dear all, I'f committed today in the master the support for abstracting HTTP stack in lift so that Lift itself does not depend on javax.servlet._ classes. This allows us to add support for Netty,

[Lift] Re: Looking for an additional team member for ESME

2009-08-11 Thread Kevin Wright
Someone has to ask the obvious question here... Where is it? On Mon, Aug 10, 2009 at 10:37 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'm heavily involved with ESME http://incubator.apache.org/esme/, the Enterprise Social Messaging Experiment, an Apache Incubator project.

[Lift] Re: TableEditor article

2009-08-20 Thread Kevin Wright
Absolutely spot-on article here about multiple selection on webpages: http://www.ryancramer.com/journal/entries/select_multiple/ I'm a big fan of asmselect, and the real beauty is that we already have jquery support in lift out-of-the-box :)

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread Kevin Wright
I'm wondering if we can't leverage JavaSpaces to handle a lot of this stuff. From my experience with the technology it seems to be a pretty good fit for the problem. On Sun, Aug 23, 2009 at 11:06 AM, marius d. marius.dan...@gmail.com wrote: Changed the thread subject ... Marius On Aug

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread Kevin Wright
, Kevin Wright kev.lee.wri...@googlemail.com wrote: I'm wondering if we can't leverage JavaSpaces to handle a lot of this stuff. From my experience with the technology it seems to be a pretty good fit for the problem. On Sun, Aug 23, 2009 at 11:06 AM, marius d. marius.dan...@gmail.com

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread Kevin Wright
such as Lift. :) On Sun, Aug 23, 2009 at 6:16 PM, Arthur avand...@gmail.com wrote: On Sun, Aug 23, 2009 at 7:04 PM, David Pollakfeeder.of.the.be...@gmail.com wrote: On Sun, Aug 23, 2009 at 4:50 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: I'm wondering if we can't leverage

[Lift] Re: Lift deal breakers

2009-09-12 Thread Kevin Wright
Moving the script import shouldn't be too difficult, we have the lift:tail element and tail merge (which acts exactly the same as head merge) for just this sort of problem. On Sat, Sep 12, 2009 at 8:07 PM, Dustin Whitney dustin.whit...@gmail.comwrote: One nice thing about jquery's events, if

[Lift] Re: Getting Maven Offline Mode Working

2009-09-13 Thread Kevin Wright
Try updating to the latest maven, older versions have known issues with offline behaviour for snapshots. On Sun, Sep 13, 2009 at 8:55 PM, Peter Robinett pe...@bubblefoundry.comwrote: Hi all, I'm having problems running mvn -o jetty:run with my version of Lift (1.1-SNAPSHOT) because Maven

[Lift] Re: Getting Maven Offline Mode Working

2009-09-13 Thread Kevin Wright
dependencies. On Sun, Sep 13, 2009 at 10:51 PM, Peter Robinett pe...@bubblefoundry.comwrote: Thanks. I have version 2.0.9, which was installed by the Lift OS X installer. What is the best way to upgrade to 2.2.1? Peter On Sep 13, 12:57 pm, Kevin Wright kev.lee.wri...@googlemail.com wrote: Try

[Lift] Re: Getting Maven Offline Mode Working

2009-09-14 Thread Kevin Wright
pm, Kevin Wright kev.lee.wri...@googlemail.com wrote: Maven is essentially a java application, so you *should* just be able to download and run. I'm afraid I can't really give better advice for OS-X though. One other idea is to work with 1.1-M5, which should let you go offline

[Lift] Re: MappedDate.setFromAny only works with strings?

2009-09-14 Thread Kevin Wright
IIRC, scala-time is a wrapper over joda-time anyway I vote +100 for moving away from Java's dates and all the associated problems. 0-indexed month numbers and thread-unsafe parsing are just the tip of that particular iceberg... On Mon, Sep 14, 2009 at 5:23 PM, Derek Chen-Becker

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Kevin Wright
Is there any reason not to go with something like the Akka framework? I believe it has a lift-friendly license. On Wed, Sep 16, 2009 at 2:14 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Guys, The Scala Actor issue has raised its head again. From November 2008 - June 2009, I did an

[Lift] Re: Alternate Lift builds?

2009-09-18 Thread Kevin Wright
Your best bet is probably: Modifiy the pom in the branch, e.g. by adding a qualifier to the version infoManually configure a second build in hudson that points to the branch I'm pretty sure you can't automate on this one :( On Sat, Sep 19, 2009 at 12:38 AM, David Pollak

[Lift] Re: Alternate Lift builds?

2009-09-19 Thread Kevin Wright
Quite right, it's classifier and not qualifier. It was a typo, honest! :-p Nice thinking about using profiles, lets you keep the pom in sync between trunk and the branch, should help nicely with those merges One change I would make though is to activate the profile by way of a property:

[Lift] Re: Alternate Lift builds?

2009-09-21 Thread Kevin Wright
properties and profiles aren't mutually exclusive. In a typical workflow, the property will just be another level of indirection: developer sets property which sets profile instead of: developer sets profile So profiles are still the underlying mechanism for configuring units of behaviour.

[Lift] Re: How to mixin both MegaProtoUser CRUDify?

2009-09-22 Thread Kevin Wright
You really need some way to delegate to the trait here, instead of inheriting from it. I'll add this as a use case for my dynamic-mixin compiler plugin, see if I can't find a way out :) On Tue, Sep 22, 2009 at 8:08 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: David Pollak

[Lift] Re: [Lift committers] Re: Welcome Indrajit Raychaudhuri to the Lift Committers

2009-09-24 Thread Kevin Wright
On Thu, Sep 24, 2009 at 11:44 AM, David Bernard david.bernard...@gmail.comwrote: Hi, removing scala from the direct dependency of project using lift will ease maintenance for user, I agree. But, IMHO : * It's not a good practice because it's like saying that you don't use scala-library

[Lift] Re: How to share request scope data among snippets in Lift

2009-09-26 Thread Kevin Wright
...@getintheloop.eu wrote: Take a look at RequestVar... If he were to just use a object singleton he might end up being not thread safe. Cheers Tim Sent from my iPhone On 26 Sep 2009, at 14:05, Kevin Wright kev.lee.wri...@googlemail.com wrote: You could always try putting your lazy val

[Lift] Re: How to share request scope data among snippets in Lift

2009-09-26 Thread Kevin Wright
You could always try putting your lazy val inside a singleton object On Sat, Sep 26, 2009 at 8:14 AM, ishiijp yoshinori.is...@gmail.com wrote: Hi. If my lift application have some data that cost to create, and I want to share it among snippets, how to do in Lift? if such data are shared

[Lift] Re: How to share request scope data among snippets in Lift

2009-09-26 Thread Kevin Wright
On Sat, Sep 26, 2009 at 2:54 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Sat, Sep 26, 2009 at 6:40 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: If the information is created just once and then used across multiple requests, it'll be a lazy val in a singleton A lazy

[Lift] Re: lift-json's extract and Mapper

2009-10-03 Thread Kevin Wright
Sounds to me like you want to create yourself a small helper function that can map that structure into your own case class, something like: case class TempReading(node:String, dt:Int, temp:Double) It should be possible to do this as a layer on top of the json parser. So you can go from:

[Lift] Re: lift-json's extract and Mapper

2009-10-03 Thread Kevin Wright
, JInt(dt)), JField(temp, JDouble(temp)) )) = Some(TempReading(node, dt, temp)) case _ = None } } } val obj : JObject = ... get json data... val reading = JsonTempReading.unapply(obj) On Sat, Oct 3, 2009 at 10:13 AM, Kevin Wright kev.lee.wri

[Lift] Re: lift-json's extract and Mapper

2009-10-03 Thread Kevin Wright
On Oct 3, 11:13 am, Kevin Wright kev.lee.wri...@googlemail.com wrote: Sounds to me like you want to create yourself a small helper function that can map that structure into your own case class, something like: case class TempReading(node:String, dt:Int, temp:Double) It should be possible

[Lift] Re: lift-json's extract and Mapper

2009-10-03 Thread Kevin Wright
On Sat, Oct 3, 2009 at 11:33 AM, Peter Robinett pe...@bubblefoundry.com wrote: On Oct 3, 12:04 pm, Kevin Wright kev.lee.wri...@googlemail.com wrote: On Sat, Oct 3, 2009 at 10:43 AM, Peter Robinett pe...@bubblefoundry.com wrote: Thanks, Kevin. I'm going to poke around with lift-json

[Lift] Re: Concurrency control of database access in Lift/Comet

2009-10-04 Thread Kevin Wright
In my experience, the database engine itself does a pretty good job of managing concurrent connections like this out of the box, which is much of the reason why connection pooling is so effective. Of course, thinks can be a bit interesting on the database side if you want to get really obsessive

[Lift] Re: Concurrency control of database access in Lift/Comet

2009-10-05 Thread Kevin Wright
with the same problems like with shared memory and mutexes?) Best regards Gregor On 4 Okt., 21:06, Kevin Wright kev.lee.wri...@googlemail.com wrote: In my experience, the database engine itself does a pretty good job of managing concurrent connections like this out of the box, which is much

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Kevin Wright
I was about to offer a smattering of Greek, Swedish and Hungarian (don't ask...) But scala has to take the prize, I wonder if we couldn't implement lojban as a DSL? :) On Mon, Oct 5, 2009 at 8:49 PM, Viktor Klang viktor.kl...@gmail.com wrote: On Mon, Oct 5, 2009 at 6:02 PM, Jack Widman

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Kevin Wright
On Mon, Oct 5, 2009 at 10:54 PM, Jack Widman jack.wid...@gmail.com wrote: I'm not sure English is Turing Complete. Also not sure how prominent it will be in 50 years ... :) Nor I, but I'm certain that Turing was (Queen's) English complete... :) On Mon, Oct 5, 2009 at 5:51 PM, David Pollak

[Lift] Re: Script merge similar to head merge?

2009-10-11 Thread Kevin Wright
If you want to keep your scripts out of head, you can always use the lift:tail element, which supports the same functionality as head merge - just at the other end of your document :) the lift:tail element won't appear in the final output, and only its content will. IIRC, duplicate elements in

[Lift] Google wave for scala / lift

2009-10-17 Thread Kevin Wright
Sorry for cross-posting here, I think I have a valid reason... :) I've spotted that the BASE crowd have a scala wave going, has anyone yet thought to do the same for scala globally? Same question goes to lift users. --~--~-~--~~~---~--~~ You received this

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Kevin Wright
that already, it would help). Thanks -- Martin -- Kevin Wright mail/google talk: kev.lee.wri...@googlemail.com wave: kev.lee.wri...@googlewave.com skype: kev.lee.wright twitter: @thecoda -- You received this message because you are subscribed to the Google Groups Lift group. To post

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Kevin Wright
. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- Kevin Wright mail/google talk: kev.lee.wri...@googlemail.com wave: kev.lee.wri...@googlewave.com skype: kev.lee.wright twitter: @thecoda -- You received this message because you are subscribed to the Google