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
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 +
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
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
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,
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
, 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
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
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
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
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
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.
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
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
:: 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.
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
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
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:
=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
- 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
, 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
: 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
:
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
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
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
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
, 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
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
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
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
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
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
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
, 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
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
. 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
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
, 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
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?
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
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
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
, 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
:
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
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
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
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
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
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
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
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
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
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
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
?
--
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
)
// 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
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
}
}
}
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
} 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
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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
...@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
/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
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
...@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
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 /
79 matches
Mail list logo