Re: [Lift] Re: serving images from a directory

2010-02-27 Thread Jack Widman
Thanks Marius. On Sat, Feb 27, 2010 at 4:07 AM, Marius marius.dan...@gmail.com wrote: If you want Lift to serve images you should put them in /resources/ toserve folder and reference them as /classpath/{image file} If you want to put images say in /img folder at the same level with /

Re: [Lift] Re: simple database question

2009-11-26 Thread Jack Widman
...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- Jack Widman co-founder / cto, Authoritude, Inc. 203

Re: [Lift] Re: session variable question

2009-11-23 Thread Jack Widman
options, visit this group at http://groups.google.com/group/liftweb?hl=. -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com

Re: [Lift] InputStream to String

2009-11-21 Thread Jack Widman
/group/liftweb?hl=. -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email

Re: [Lift] Re: InputStream to String

2009-11-21 Thread Jack Widman
confused why readWholeInputStream was somehow not the obvious choice ;-) Cheers, Tim On Nov 21, 4:37 pm, Jack Widman jack.wid...@gmail.com wrote: I kind of like it. Says exactly what it does :) On Sat, Nov 21, 2009 at 9:56 AM, David Pollak feeder.of.the.be...@gmail.com wrote

Re: [Lift] Re: Menu generated from database?

2009-11-19 Thread Jack Widman
...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=. -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 -- You received this message because you are subscribed to the Google Groups Lift

Re: [Lift] Re: Call it Lift 2.0

2009-11-17 Thread Jack Widman
to liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=. -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 -- You received this message because you are subscribed

Re: [Lift] Re: How do I properly read a value from a cookie?

2009-11-16 Thread Jack Widman
at http://groups.google.com/group/liftweb?hl=. -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from

[Lift] Re: CometListener

2009-11-13 Thread Jack Widman
is not correct. -Ross On Nov 13, 2009, at 12:09 AM, Jack Widman wrote: David, I'm using lift 1.1 and scala 2.5 now and the compiler says it cant find CometListener when I import net.liftweb.http._ Jack On Fri, Nov 13, 2009 at 12:01 AM, David Pollak feeder.of.the.be...@gmail.com wrote

[Lift] Re: CometListener

2009-11-13 Thread Jack Widman
Here is my pom.xml On Fri, Nov 13, 2009 at 12:09 PM, Jack Widman jack.wid...@gmail.com wrote: sure. Thanks Ross. I will send it tonight. Also what is the difference between the CometListener and the CometListenee? On Fri, Nov 13, 2009 at 11:14 AM, Ross Mellgren dri...@gmail.com wrote

[Lift] Re: CometListener

2009-11-13 Thread Jack Widman
version${lift.version}/version} /dependency (and so on, for each lift-* dependency) I'm not sure what would happen exactly if you have mixed versions of the lift modules, but It Can't Be Good. Hope that helps, -Ross On Nov 13, 2009, at 10:17 PM, Jack Widman wrote: Here is my pom.xml On Fri

[Lift] Re: CometActor and render

2009-11-12 Thread Jack Widman
looked at Databinder Dispatch http://databinder.net/dispatch/About for your url calls? On Nov 12, 3:26 pm, Jack Widman jack.wid...@gmail.com wrote: David, I have attached my code. It runs but does not behave as I intended it to. The code does a web search on the term scala and displays

[Lift] Re: CometActor and render

2009-11-12 Thread Jack Widman
Please also look at the Actor chapters in Beginning Scala or Programming in Scala. Thanks, David On Wed, Nov 11, 2009 at 8:26 PM, Jack Widman jack.wid...@gmail.comwrote: David, I have attached my code. It runs but does not behave as I intended it to. The code does a web search on the term

[Lift] Re: CometActor and render

2009-11-12 Thread Jack Widman
Thanks. On Thu, Nov 12, 2009 at 5:32 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Nov 12, 2009 at 2:16 PM, Jack Widman jack.wid...@gmail.comwrote: Will do. One more small question How do I send a message to the Comet Actor from another class? Can the CometActor

[Lift] Re: CometActor and render

2009-11-12 Thread Jack Widman
got it. I was mixing metaphors. On Thu, Nov 12, 2009 at 5:41 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Nov 12, 2009 at 2:25 PM, Jack Widman jack.wid...@gmail.comwrote: Is it that I am putting things on a Queue from within an the Calculator Actor and having

[Lift] Re: CometListener

2009-11-12 Thread Jack Widman
be found. Is this the wrong package? -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email

[Lift] Re: CometListener

2009-11-12 Thread Jack Widman
David, I'm using lift 1.1 and scala 2.5 now and the compiler says it cant find CometListener when I import net.liftweb.http._ Jack On Fri, Nov 13, 2009 at 12:01 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Nov 12, 2009 at 8:54 PM, Jack Widman jack.wid...@gmail.comwrote

[Lift] Re: CometActor and render

2009-11-10 Thread Jack Widman
Sorry. Just reread my past post and it is indeed unclear. I will post running code tonight. I very much appreciate your help. On Tue, Nov 10, 2009 at 1:27 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Nov 9, 2009 at 10:10 PM, Jack Widman jack.wid...@gmail.comwrote: The only

[Lift] Re: CometActor and render

2009-11-09 Thread Jack Widman
, Jack Widman jack.wid...@gmail.com wrote: Sorry. Here it is: As I said, I know that when render is called, foo.getValue has the right value. But it does not show on the screen, unless I refresh the browser. package com.foo.comet import net.liftweb._ import http._ import js._ import JsCmds

[Lift] Re: CometActor and render

2009-11-08 Thread Jack Widman
the changes. Any idea what might cause this? -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email

[Lift] Re: CometActor and render

2009-11-08 Thread Jack Widman
you'll starve your CPU. Further, having reRender on each loop through means that you're forcing a lot of bytes over the wire rather than only doing a reRender on changed values. Thanks, David On Sun, Nov 8, 2009 at 3:47 PM, Jack Widman jack.wid...@gmail.com wrote: Sorry. Here

[Lift] Re: using Dispatch library for Http

2009-11-05 Thread Jack Widman
} } } For some urls, e.g., http://bae.cf.huffingtonpost.com/ , an exception is thrown but the exception message is null. Any ideas? -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 --~--~-~--~~~---~--~~ You received

[Lift] Re: using Dispatch library for Http

2009-11-05 Thread Jack Widman
} catch { case ex: Exception = { Message: + ex.getMessage } } } For some urls, e.g., http://bae.cf.huffingtonpost.com/ , an exception is thrown but the exception message is null. Any ideas? -- Jack Widman co-founder / cto, Authoritude, Inc

[Lift] Re: regular expression

2009-11-02 Thread Jack Widman
but I can't find it. -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 --~--~-~--~~~---~--~~ 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

[Lift] Re: global exception page

2009-10-28 Thread Jack Widman
) // your LiftResponse here RedirectResponse(/error) } } Does that clear it up for you...? Cheers, Tim On 28 Oct 2009, at 13:17, jack wrote: I would like to have one error page that appears when any exception occurs. How would I do that? -- Jack Widman co

[Lift] Re: 1.1

2009-10-25 Thread Jack Widman
? -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 --~--~-~--~~~---~--~~ 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: html not being evalutated

2009-10-21 Thread Jack Widman
Oops. I just noticed I made source.body a String and not a NodeSeq. Sometimes source.body is text with html tags in it. Like - Hey dude, bwhat/b are you doing? I guess I should make it a NodeSeq. Sorry about that. Jack On Wed, Oct 21, 2009 at 9:33 AM, David Pollak feeder.of.the.be...@gmail.com

[Lift] Re: Newbie post: Where are the basics and best practices?

2009-10-21 Thread Jack Widman
Just wanted to say that I have never seen a community like this. Its fantastic! On Wed, Oct 21, 2009 at 11:05 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Oct 21, 2009 at 4:15 PM, Strom strommo...@gmail.com wrote: Hello everyone, I am pretty much brand new to lift and

[Lift] Re: does this look ok?

2009-10-18 Thread Jack Widman
yes. I think I found the problem elsewhere in the logic. thanks. On Sun, Oct 18, 2009 at 11:07 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: I think so... Does it compile? On Sun, Oct 18, 2009 at 7:13 PM, jack jack.wid...@gmail.com wrote: Does this code look ok? def

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

2009-10-14 Thread Jack Widman
The necessity of this kind of action (the banning) is absolutely no sign of anything having been done wrong. There will ALWAYS be people like that. On Wed, Oct 14, 2009 at 3:31 PM, koveen liep...@xs4all.nl wrote: I think that when someone enters a group, expecting to be shot, it is a very

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

2009-10-14 Thread Jack Widman
Not to harp on it but: *When some sycophants of Seaside got, nasty, I did not walk away from Seaside, warts and all. * suggests this person has had this problem elsewhere. On Wed, Oct 14, 2009 at 3:37 PM, Jack Widman jack.wid...@gmail.com wrote: The necessity of this kind of action

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

2009-10-14 Thread Jack Widman
fyi http://developers.curl.com/people/rshiplett On Wed, Oct 14, 2009 at 3:40 PM, Jack Widman jack.wid...@gmail.com wrote: Not to harp on it but: *When some sycophants of Seaside got, nasty, I did not walk away from Seaside, warts and all. * suggests this person has had this problem

[Lift] Re: Naming CometActors

2009-10-07 Thread Jack Widman
CometActor given type/name. The CometActor lives until the session ends or until it times out based on its lifespan. Derek On Tue, Oct 6, 2009 at 1:28 PM, Jack Widman jack.wid...@gmail.comwrote: So if give a CometActor a static name, say Other, then every request will get the same running

[Lift] Re: execute code when browser is closed

2009-10-06 Thread Jack Widman
, Tim Sent from my iPhone On 6 Oct 2009, at 05:25, Jack Widman jack.wid...@gmail.com wrote: So I am using a snippet like this def go:NodeSeq = { var term:String = S.param(term).openOr() lift:surround with=default at=content lift:comet type=JoopComet name={term} auth:joop

[Lift] Re: Help!

2009-10-06 Thread Jack Widman
: never mind. deploy-war, not run-war (been working too hard) On Oct 5, 11:09 pm, Jack Widman jack.wid...@gmail.com wrote: I meant to say jetty:run-war On Mon, Oct 5, 2009 at 10:52 PM, jack jack.wid...@gmail.com wrote: Is mvn jetty:run supposed to creat the war file? I want to upload

[Lift] Naming CometActors

2009-10-06 Thread Jack Widman
So if give a CometActor a static name, say Other, then every request will get the same running instance of the CometActor. But if I name it dynamically, say with a random string, each request will get its own instance of the CometActor. Right? -- Jack

[Lift] Re: maven and jetty

2009-10-06 Thread Jack Widman
restarts automatically. HTH, Mark On Oct 5, 8:44 pm, Jack Widman jack.wid...@gmail.com wrote: Well it seems that mvn run-war is creating the war and overriding the one I just uploaded. How do I just run with a given war and not create the war. -- Jack

[Lift] Re: maven and jetty

2009-10-06 Thread Jack Widman
the stuff under src/main/webapp vs :run-war that uses what is bundled in the war (surprise surprise!) This should all be explained in the maven-jetty-plugin docs as this is not something lift specific by any means. Cheers, Tim Sent from my iPhone On 6 Oct 2009, at 21:57, Jack Widman

[Lift] Re: ShutDown and CometActor

2009-10-05 Thread Jack Widman
Actually, this is working nicely now. Thanks. On Mon, Oct 5, 2009 at 11:46 AM, David Pollak feeder.of.the.be...@gmail.com wrote: When you send the shutdown message, oddly enough, the CometActor shuts down. You don't have to do this (in fact, don't do it). Lift will shut the CometActor down

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

2009-10-05 Thread Jack Widman
Why don't we make Esperanto the official Lift language? On Mon, Oct 5, 2009 at 11:52 AM, marius d. marius.dan...@gmail.com wrote: On Oct 5, 6:15 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Sun, Oct 4, 2009 at 2:41 AM, ishiijp yoshinori.is...@gmail.com wrote: Thank you

[Lift] Re: execute code when browser is closed

2009-10-05 Thread Jack Widman
termination does not equate with browser-close event. Br's, Marius On Oct 5, 3:22 pm, Jack Widman jack.wid...@gmail.com wrote: Yes, thats what I meant. Thanks On Mon, Oct 5, 2009 at 4:10 AM, Timothy Perrett timo...@getintheloop.eu wrote: But you can do it on session termination

[Lift] Re: execute code when browser is closed

2009-10-05 Thread Jack Widman
long it will take. Maybe I could just kill all the actors directly that are doing the processing. On Mon, Oct 5, 2009 at 2:40 PM, David Pollak feeder.of.the.be...@gmail.comwrote: On Mon, Oct 5, 2009 at 10:27 AM, Jack Widman jack.wid...@gmail.comwrote: Understood. My intention is to send

[Lift] Re: execute code when browser is closed

2009-10-05 Thread Jack Widman
, David Pollak feeder.of.the.be...@gmail.comwrote: On Mon, Oct 5, 2009 at 11:45 AM, Jack Widman jack.wid...@gmail.comwrote: Interesting. I will try that. And I won't send any more ShutDownMessages :) Though I should add that each CometActor is doing a lot of processing. So I it would be good

[Lift] Re: execute code when browser is closed

2009-10-05 Thread Jack Widman
feeder.of.the.be...@gmail.comwrote: On Mon, Oct 5, 2009 at 11:53 AM, Jack Widman jack.wid...@gmail.comwrote: In my app, when the user is done searching on one keyword, they click a link which takes them back to the main search page. Thats the time when I wanted the CometActor to stop

[Lift] Re: execute code when browser is closed

2009-10-05 Thread Jack Widman
. On the Comet alone it save me a LOT of time. Of course, I have a lot to learn. On Mon, Oct 5, 2009 at 3:08 PM, David Pollak feeder.of.the.be...@gmail.comwrote: On Mon, Oct 5, 2009 at 12:06 PM, Jack Widman jack.wid...@gmail.comwrote: Because when the users searches on a new keyword, the actors

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

2009-10-05 Thread Jack Widman
Well it is high enough level! [?] On Mon, Oct 5, 2009 at 3:49 PM, Viktor Klang viktor.kl...@gmail.com wrote: On Mon, Oct 5, 2009 at 6:02 PM, Jack Widman jack.wid...@gmail.com wrote: Why don't we make Esperanto the official Lift language? I'd say make Scala the official language

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

2009-10-05 Thread Jack Widman
, but good ol' English seems to be quite prevalent these days ;-) Is this the Queen's English? ;-) On 5 Oct 2009, at 17:02, Jack Widman wrote: Why don't we make Esperanto the official Lift language? -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http

[Lift] Re: maven and jetty

2009-10-05 Thread Jack Widman
Well it seems that mvn run-war is creating the war and overriding the one I just uploaded. How do I just run with a given war and not create the war. On Mon, Oct 5, 2009 at 10:37 PM, Ryan Stradling ryanstradl...@gmail.comwrote: Have you verified another server is not running on that port?

[Lift] Re: Help!

2009-10-05 Thread Jack Widman
I meant to say jetty:run-war On Mon, Oct 5, 2009 at 10:52 PM, jack jack.wid...@gmail.com wrote: Is mvn jetty:run supposed to creat the war file? I want to upload a war file and just run it, not create another one. How do I do that? -- Jack

[Lift] Re: execute code when browser is closed

2009-10-05 Thread Jack Widman
Sorry if this is a dumb question but in lift:comet type=Search name={searchString}/, what is searchString? This is in an html file. I am obviously missing something. On Mon, Oct 5, 2009 at 2:40 PM, David Pollak feeder.of.the.be...@gmail.comwrote: On Mon, Oct 5, 2009 at 10:27 AM, Jack Widman

[Lift] Re: execute code when browser is closed

2009-10-05 Thread Jack Widman
getting it. On Oct 5, 11:46 pm, Jack Widman jack.wid...@gmail.com wrote: Sorry if this is a dumb question but in lift:comet type=Search name={searchString}/, what is searchString? This is in an html file. I am obviously missing something. On Mon, Oct 5, 2009 at 2:40 PM

[Lift] Re: a very simple question

2009-10-04 Thread Jack Widman
Well my app is a search application. You search for certain web pages and I do some processing after the results are displayed. Thats why I am using Comet. Certain information is added to each result link. I want the user to be able to either hit the back button or click on alink that goes to the

[Lift] Re: CometActor timeout problem

2009-10-01 Thread Jack Widman
Thanks Atsuhiko very much. I really appreciate your effort and this helps alot. Jack On Thu, Oct 1, 2009 at 4:11 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Thu, Oct 1, 2009 at 1:11 PM, Jack Widman jack.wid...@gmail.com wrote: David, I have attached a (non) working

[Lift] Re: CometActor timeout problem

2009-10-01 Thread Jack Widman
, Oct 1, 2009 at 1:11 PM, Jack Widman jack.wid...@gmail.com wrote: David, I have attached a (non) working example. It compiles and runs and does a part of what I want it to do but not completely. It first displays a couple of links and the link body for both links is just 0. It then spawns

[Lift] Re: CometActor timeout problem

2009-10-01 Thread Jack Widman
Thanks so much Atsuhiko. You are very kind. On Thu, Oct 1, 2009 at 11:01 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Thu, Oct 1, 2009 at 9:42 PM, Jack Widman jack.wid...@gmail.com wrote: Atsuhiko, How would I make one small change? I would like each link to refresh

[Lift] Re: CometActor timeout problem

2009-09-18 Thread Jack Widman
Yes, the page never gets rendered. I am actually using Actors. I will post a code example tonight. Thanks for your response. On Fri, Sep 18, 2009 at 12:09 PM, marius d. marius.dan...@gmail.com wrote: On Sep 17, 11:09 pm, jack jack.wid...@gmail.com wrote: I have a CometActor which displays

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
The package is correct. Here is the error XML parsing failed: syntax error (Line: 13, Character: 4) Reparse document as HTML Error:undeclared XML namespace prefix used in attribute name Specification:http://www.w3.org/TR/xml-names11/#nsc-NSDeclared 10: body 11: 12: !--FIXME - comet type:

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
=Other clk:timeMissing Clock/clk:time /lift:comet /lift:surround On Tue, Sep 15, 2009 at 8:25 AM, Jack Widman jack.wid...@gmail.com wrote: The package is correct. Here is the error XML parsing failed: syntax error (Line: 13, Character: 4) Reparse document as HTML Error:undeclared XML

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
- comet type: Full(com.authoritude.snippet.Clock) name: Full(Other) Not Found -- 13: clk:timeMissing Clock/clk:time 14: 15: 16: script type=text/javascript On Tue, Sep 15, 2009 at 8:32 AM, Jack Widman jack.wid...@gmail.com wrote: Here is the complete code for my Clock example *class

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
, Jack Widman jack.wid...@gmail.comwrote: And here is the error again: Error! XML parsing failed XML parsing failed: syntax error (Line: 13, Character: 4) Reparse document as HTML Error:undeclared XML namespace prefix used in attribute name Specification:http://www.w3.org/TR/xml-names11/#nsc

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
: clk:timeMissing Clock/clk:time 14: 15: 16: script type=text/javascript On Tue, Sep 15, 2009 at 8:32 AM, Jack Widman jack.wid...@gmail.com wrote: Here is the complete code for my Clock example *class* import scala.xml._ import net.liftweb.http.S import net.liftweb.http.CometActor

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
: Full(Other) Not Found -- 13: clk:timeMissing Clock/clk:time 14: 15: 16: script type=text/javascript On Tue, Sep 15, 2009 at 8:32 AM, Jack Widman jack.wid...@gmail.com wrote: Here is the complete code for my Clock example *class* import scala.xml._ import

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
Ok Great. I will try this first thing when I get home tonight. On Tue, Sep 15, 2009 at 11:05 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Sep 15, 2009 at 7:18 AM, Jack Widman jack.wid...@gmail.comwrote: I did not try it without the package statement. The class is located

[Lift] Re: Ajax example from the book

2009-09-14 Thread Jack Widman
Thanks. Yes thats what I meant. On Mon, Sep 14, 2009 at 3:42 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I think that he's referring to the SetHtml, which is actually a JsExp that has to be returned from any Ajax functions (the javascript is returned to the client and executed). In the

[Lift] Re: Ajax example from the book

2009-09-14 Thread Jack Widman
I was referring to that book. Is there another? :) Thanks for your help Daniel. On Mon, Sep 14, 2009 at 9:52 AM, Daniel Nelson dpn53...@gmail.com wrote: If you're referring to the Exploring Lift book, have a look at Section 3.11.1 Binding Values in Snippets where it explains bind. (I'm new

[Lift] Re: what the difference between :: and :::

2009-09-09 Thread Jack Widman
:: is cons. It adds an element to a list. ::: concatentates two lists. On Wed, Sep 9, 2009 at 11:15 PM, surfman chinasmile...@gmail.com wrote: I am confused by :: and :::´╝îit seems they are doing concatenation job. but what they differ from each other? Thanks.

[Lift] Re: setting user-agent header with Databinder

2009-09-08 Thread Jack Widman
... Cheers, Tim On 8 Sep 2009, at 17:26, Jack Widman wrote: Right. I will try to keep to the topic :) I actually found him and he quickly answered me. On Tue, Sep 8, 2009 at 12:24 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Jack, I'm not sure where N8han (the author

[Lift] Re: setting user-agent header with Databinder

2009-09-08 Thread Jack Widman
Right. I will try to keep to the topic :) I actually found him and he quickly answered me. On Tue, Sep 8, 2009 at 12:24 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Jack, I'm not sure where N8han (the author of Databinder) hangs out, but it's not on the Lift list. :-( Sorry.

[Lift] Re: setting user-agent header with Databinder

2009-09-08 Thread Jack Widman
req_with_agent = req : Map(User-Agent - my user agent value) On Tue, Sep 8, 2009 at 5:17 PM, Randinn rand...@gmail.com wrote: What was the answer now that you have attained it? On Sep 9, 3:02 am, Jack Widman jack.wid...@gmail.com wrote: You are right. I will fine tune my determine which is a good

[Lift] Re: setting user-agent header

2009-09-08 Thread Jack Widman
Cool. Thanks. The useful things about Lift seem to never end. On Tue, Sep 8, 2009 at 6:51 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: S.setHeader can be used in Lift to set a response header. Derek On Tue, Sep 8, 2009 at 9:02 AM, jack jack.wid...@gmail.com wrote: Has anyone used

[Lift] Re: putting data in a session

2009-09-06 Thread Jack Widman
Thanks Indrajit for the quick response! On Sun, Sep 6, 2009 at 4:22 PM, Indrajit Raychaudhuri indraj...@gmail.comwrote: object FooVar extends SessionVar[Box[String]](Empty) // to set FooVar.set(Full(fooValToSet)) // to retreive val foo = FooVar.is.openOr(Not found) Cheers, Indrajit

[Lift] Re: putting data in a session

2009-09-06 Thread Jack Widman
I'm sorry for such an elementary question, but what is Empty here? On Sun, Sep 6, 2009 at 4:22 PM, Indrajit Raychaudhuri indraj...@gmail.comwrote: object FooVar extends SessionVar[Box[String]](Empty) // to set FooVar.set(Full(fooValToSet)) // to retreive val foo = FooVar.is.openOr(Not

[Lift] Re: putting data in a session

2009-09-06 Thread Jack Widman
I'm sorry. You probably meant 'None' On Sun, Sep 6, 2009 at 5:05 PM, Jack Widman jack.wid...@gmail.com wrote: I'm sorry for such an elementary question, but what is Empty here? On Sun, Sep 6, 2009 at 4:22 PM, Indrajit Raychaudhuri indraj...@gmail.com wrote: object FooVar extends

[Lift] stopping an Actor

2009-09-01 Thread Jack Widman
How does an Actor stop itself from running. That is to say, stop its act method as soon as possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Re: has anyone seen this exception?

2009-08-28 Thread Jack Widman
, 2009, at 7:28 PM, Jack Widman wrote: Here is the code I am using. The exception is happening at line 12, the line that goes line = br.readLine() The exception is happening alot. Any ideas? package com.authoritude.snippet import java.io

[Lift] Re: has anyone seen this exception?

2009-08-27 Thread Jack Widman
Here is the code I am using. The exception is happening at line 12, the line that goes line = br.readLine() The exception is happening alot. Any ideas? package com.authoritude.snippet import java.io.{InputStreamReader, BufferedInputStream,

[Lift] Re: has anyone seen this exception?

2009-08-27 Thread Jack Widman
better. On Thu, Aug 27, 2009 at 4:28 PM, Jack Widman jack.wid...@gmail.comwrote: Here is the code I am using. The exception is happening at line 12, the line that goes line = br.readLine() The exception is happening alot. Any ideas? package

[Lift] Re: Regarding my question about not showing the password in the querystring.

2009-08-26 Thread Jack Widman
Thanks Jeppe. I wasn't realizing that since it has to be done on the server, there's a chicken and egg problem with respect to getting it there encrypted. I just wasn't thinking. I will use a post. On Wed, Aug 26, 2009 at 6:45 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: jack

[Lift] Re: simple Ajax form

2009-08-24 Thread Jack Widman
Excellent. Thanks David. On Mon, Aug 24, 2009 at 8:08 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Sun, Aug 23, 2009 at 10:40 PM, jack jack.wid...@gmail.com wrote: I am trying to make a simple ajax form. The code is below. The Javascript error I am getting when I hit the send

[Lift] Re: Lift vs Rails

2009-08-23 Thread Jack Widman
Thanks Derek for the quick and helpful response. I am going to go with Lift. On Sun, Aug 23, 2009 at 12:49 PM, Derek Williams de...@nebvin.ca wrote: On Sun, Aug 23, 2009 at 8:45 AM, jack jack.wid...@gmail.com wrote: I really do want to use Lift instead of Rails. Could somebody please

[Lift] Re: Lift vs Rails

2009-08-23 Thread Jack Widman
Thanks Marius. I agree its a no brainer. Just wanted some independent confirmation!. On Sun, Aug 23, 2009 at 1:08 PM, marius d. marius.dan...@gmail.com wrote: Looks like you don't need to be convinced :) ... Scala with its features + Java compatibility + Lift's rich set of features +