Re: [Lift] Re: what provides classpath/jquery.js?

2010-01-10 Thread Alex Boisvert
One reason is to bundle html/js/... along with their corresponding snippet in a jar file. Alex On Jan 10, 2010 3:34 PM, Alex Black a...@alexblack.ca wrote: Hi Marius, I haven't heard of ResourceServer before, sounds interesting. Right now, our CSS and JS files are just in subfolders of webapp,

Re: [Lift] Re: what provides classpath/jquery.js?

2010-01-10 Thread Alex Boisvert
. On Jan 10, 5:16 pm, Alex Boisvert alex.boisv...@gmail.com wrote: One reason is to bundle html/j... On Jan 10, 2010 3:34 PM, Alex Black a...@alexblack.ca wrote: Hi Marius, I haven't heard of... liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com liftweb%2bunsubscr

Re: [Lift] How many memory are assigned by default when starting the Jetty ?

2010-01-11 Thread Alex Boisvert
The standard jetty.sh doesn't explicitly set JVM memory settings. It relies on default JVM ergonomics ( http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html). You can explicitly set your memory requirements in ~/.jettyrc, e.g., #!/bin/sh JAVA_OPTIONS=-noverify

Re: [Lift] Backbutton for Ajax

2010-01-11 Thread Alex Boisvert
I've been playing with sammy.js http://code.quirkey.com/sammy/ recently and I like the way they update the URL fragment identifier (hash) when doing AJAX which makes apps more back-button friendly, in a manner that's similar to GMail. It would be nice to have something similar in Lift. alex On

Re: [Lift] Lift on Stack Overflow

2010-01-12 Thread Alex Boisvert
As someone who answers questions, I prefer email because of the unified inbox. I can organize many things in a single location and refer to them easily. (I know I can use RSS with SO but I have yet to find a satisfying way to organize question feeds into my existing stream of emails) As

Re: [Lift] User Presence Heartbeat

2010-01-12 Thread Alex Boisvert
The current GC liveliness entrypoint is in LiftServlet.handleAjax() which calls liftSession.updateFuncByOwner(). There's no extension point for what you want at the moment although it would be fairly easy to add something to LiftSession. The closest thing right now is

Re: [Lift] Ajax forms and (multiple) submit buttons

2010-01-12 Thread Alex Boisvert
I like it a lot. Eliminates recent confusion about submit() in ajaxForm, prettier and semantically more correct than hidden fields and supports multiple actions. What's not to like? alex On Tue, Jan 12, 2010 at 2:39 PM, Marius marius.dan...@gmail.com wrote: Dear all, Recently (and not

Re: [Lift] Re: Binding a snippet in a comet actor?

2010-01-12 Thread Alex Boisvert
Yes. The issue is here: http://github.com/dpp/liftweb/issues/closed/#issue/93 It was fixed in 1.1M7 and later. alex On Tue, Jan 12, 2010 at 1:47 PM, Felipe Rodrigues felipero.maill...@gmail.com wrote: I have a similar problem here. I didn't find this issue on github. Is this issue

Re: [Lift] Nginx question

2010-01-12 Thread Alex Boisvert
follow this thread for a few suggestions: http://nginx.org/pipermail/nginx/2009-February/009791.html On Tue, Jan 12, 2010 at 4:33 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: I have nginx set up as a frontend. How can I have it display Down for maintenance instead of pointing to jetty?

Re: [Lift] Re: NGinx and sticky sessions

2010-01-13 Thread Alex Boisvert
I'm not sure if you discussed this but based on my experience, the JSESSIONID cookie is used most often in Jetty/Tomcat/J2EE environments for load balancing (over using client IP). I haven't used nginx for load balancing yet but I've used both HAProxy and Varnish in the past.

Re: [Lift] Re: Backbutton for Ajax

2010-01-13 Thread Alex Boisvert
. with best regards On 11 Jan., 23:05, Alex Boisvert alex.boisv...@gmail.com wrote: I've been playing with sammy.js http://code.quirkey.com/sammy/ recently and I like the way they update the URL fragment identifier (hash) when doing AJAX which makes apps more back-button

Re: [Lift] Re: Backbutton for Ajax

2010-01-14 Thread Alex Boisvert
On Wed, Jan 13, 2010 at 6:10 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: I haven't really used Ajax much but it seems to me there are two kinds of changes. 1. Modifying the view, e.g., clicking an emal in Gmail, or Expand All. One can make an analogy to a GET request, in that there's no

Re: [Lift] Re: Backbutton for Ajax

2010-01-14 Thread Alex Boisvert
Depends on your application. What would it do if it wasn't implemented with AJAX? This isn't a magical feature. It's a feature that allows you to support the back button 1) if it makes sense to you and 2) if you can figure out a way to make it safe for the user. For example, you click the

Re: [Lift] Re: Replace HTML element after AJAX call

2010-01-18 Thread Alex Boisvert
Yes, using a div or span is recommended so you can replace multiple times. Alex On Jan 18, 2010 9:21 AM, greekscala hellectro...@gmail.com wrote: Hello, I looked at the source and there is JsCmds.Replace which replaces a Node with another. I am always using div as containers for

Re: [Lift] buildr?

2010-01-21 Thread Alex Boisvert
On Thu, Jan 21, 2010 at 5:17 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Jan 21, 2010 at 5:03 PM, Raoul Duke rao...@gmail.com wrote: hi, whatever came of buildr for lift? i haven't stumbled across the answer googling yet, but i'm still checking... We're not going

Re: [Lift] buildr?

2010-01-26 Thread Alex Boisvert
at 9:38 AM, Timothy Perrett timo...@getintheloop.euwrote: Alex, Can I suggest you distill your own learning onto the wiki? Cheers, Tim On 22 Jan 2010, at 01:51, Alex Boisvert wrote: On Thu, Jan 21, 2010 at 5:17 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Jan 21

Re: [Lift] Lift logging improvements

2010-01-27 Thread Alex Boisvert
I think that's a great idea. alex On Wed, Jan 27, 2010 at 2:03 PM, David Pollak feeder.of.the.be...@gmail.com wrote: It all sounds good to me as long as API breakage is minimal (or non-existent) On Wed, Jan 27, 2010 at 1:59 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Hi, I was

Re: [Lift] Is there any open source web apps based on lift ?

2010-01-28 Thread Alex Boisvert
And there's a simpler example mentioned here, http://www.mail-archive.com/liftweb@googlegroups.com/msg15536.html alex On Thu, Jan 28, 2010 at 7:55 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Boern cayso...@gmail.com writes: Hi,all: I am newbie for lift web framework and I hope * there

Re: [Lift] Usage patterns for Scala traits

2010-02-24 Thread Alex Boisvert
On Wed, Feb 24, 2010 at 11:53 AM, Malte Schwerhoff mun123456...@googlemail.com wrote: I am currently working on a research project in the context of my Master's at the ETH Zürich. The project's (long-term) goal is to develop a contract language (pre-, postconditions, invariants, the usual

<    1   2