[Lift] Lift vs Rails

2009-08-23 Thread jack
I am doing a startup company that involves both a lot of processing on the backend (in the code) and a decent amount of comet/ajax in the frontend.It is very important that the code quickly on the server. I have seen the light with respect to Scala and Lift looks terrific. My only concern is

[Lift] simple Ajax form

2009-08-24 Thread jack
I am trying to make a simple ajax form. The code is below. The Javascript error I am getting when I hit the send button is: uncaught exception ReferenceError: F777221462447MPT is not defined Am I missing something? lift:surround with=default at=content h1Hello FormAjax/h1

[Lift] Looking for web hosting company for Lift

2009-08-24 Thread jack
I am looking for a web hosting company for my Lift project. I figure anyone who does Java would work. Is this true? Can anyone recommend a company? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post

[Lift] Lift on Tomcat

2009-08-25 Thread jack
I want to set up Lift with Tomcat. I set up lift on my local machine using Maven. Where are the Lift jars located? Are there any non- standard steps for setting up Lift on Tomcat? I am familiar with Tomcat. Thanks. --~--~-~--~~~---~--~~ You received this message

[Lift] simple question about a login form

2009-08-26 Thread jack
I have a template with username and password fields. I want to submit to another page where I will, among other things, encrypt the password. But I don't want to show the password in the querystring before I encrypt it. Where do I encrypt it before lift puts it into the querystring?

[Lift] has anyone seen this exception?

2009-08-27 Thread jack
Has anyone seen this error? I get it while transforming a Stream into a String. The stream is from an http request I just made. Message: java.io.IOException: Premature EOF sun.net.www.http.ChunkedInputStream.readAheadBlocking (ChunkedInputStream.java:556)

[Lift] Re: Question about Lift/Scala Lift Discussion Board

2009-08-30 Thread jack
I agree. I can't imagine starting something like this without first approaching David. Having said that, and pehaps contradictorily, I welcome any initiatives that will further Lift/Scala. On Aug 30, 9:20 am, Naftoli Gugenheim naftoli...@gmail.com wrote: Once again, I don't see how you can

[Lift] putting data in a session

2009-09-06 Thread jack
How do I put something in the session from one page and take it out from another page? --~--~-~--~~~---~--~~ 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

[Lift] setting user-agent header

2009-09-08 Thread jack
Has anyone used dispatch from databinder.net? Its an http library in Scala. I do not know how to set the User-Agent header. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

[Lift] setting user-agent header with Databinder

2009-09-08 Thread jack
Please forgive me for including so much code but I have an important demo fast approaching and I'm kind of in a bind. I am using Databinders Dispatch http library which is a wrapper around Javas HttpClient library. I have included the Http class below. Does anyone see how to set the user-agent

[Lift] never mind. I contacted the author of Databinder. But thanks

2009-09-08 Thread jack
setting user-agent header. My question is answered --~--~-~--~~~---~--~~ 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, send email

[Lift] configuring web application

2009-09-08 Thread jack
Simple, but appropriate, I think, question. I am using jetty on port 8080. How do configure my server so that when people just type in my domain name, they get the index.html of my application. Its been a few years since I did this. --~--~-~--~~~---~--~~ You

[Lift] Ajax example from the book

2009-09-13 Thread jack
Could somebody please explain to me how this example from the book works. def myFunc(html:NodeSeq):NodeSeq = { bind(hello,html,button - ajaxButton(Text(Press me), { () = println(Got an Ajax call.) SetHtml(my-div,

[Lift] Using Ajax to send text to browser as it is generated.

2009-09-13 Thread jack
I have some code that generates a list of urls but it takes awhile to generate all of them. I would like to send them to the browser as they are generated. How do I use Ajax to accomplish this. I can put the urls in a List as they are generated if that works. But how do I hook up the List to the

[Lift] trouble with comet Clock example

2009-09-14 Thread jack
I compiled the comet Clock app and used the following markup lift:surround with=default at=content lift:comet type=Clock name=Other clk:timeMissing Clock/clk:time /lift:comet /lift:surround I also used the standard default.html When I ran it, I got the error XML parsing failed: syntax

[Lift] CometActor timeout problem

2009-09-17 Thread jack
I have a CometActor which displays a list of urls and at the same time launches a bunch of threads each of which gets information about the urls and then puts messages about that information in a Queue. On each new tick, the CometActor checks the queue and updates its urls. The problem is that I

[Lift] Re: CometActor timeout problem

2009-09-27 Thread jack
I am still having this problem so I will post a simple example. Say I want to display a list of the numbers 1 to 100. And suppose I have an object Foo and a method bar, which takes an integer and returns an integer. And bar takes about 10 seconds to return. So I want to display the numbers, run

[Lift] Re: CometActor timeout problem

2009-10-02 Thread jack
Atsuhiko, The way I have modified the code, each thread is returning its Package object at different times. But its seems the screen updates only when they all have completed. Could you tell me what piece of the code makes the screen update? Thanks. Jack On Oct 1, 11:19 am, David Pollak

[Lift] Re: CometActor timeout problem

2009-10-03 Thread jack
Yes, I will send you this. In the mean time, could you at least tell me how to reset the code. I.E. I would like that everytime you refresh the page, it starts again. On Oct 3, 12:47 am, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Sat, Oct 3, 2009 at 1:05 PM, jack jack.wid

[Lift] comet

2009-10-04 Thread jack
How can assure that every time a comet page is loaded, it starts again fresh? I.e. as if the page were being loaded for the first time? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this

[Lift] Re: comet

2009-10-04 Thread jack
unless something escapes me :) Br's, Marius On Oct 4, 6:12 pm, jack jack.wid...@gmail.com wrote: How can assure that every time a comet page is loaded, it starts again fresh? I.e. as if the page were being loaded for the first time

[Lift] a very simple question

2009-10-04 Thread jack
I put the line println(dude) in a Comet class write under the class declaration. i.e. class JoopComet extends CometActor with CometListenee { println(INSIDE COMET CLASS) When the class runs and all the activity is complete, I hit the back button and that loads the JoopComet class again.

[Lift] Re: CometActor timeout problem

2009-10-04 Thread jack
Atsuhiko, With the code exactly as you wrote it, how would you modify it to do this? Whenver the Comet Page gets loaded, it resets itself. On Oct 3, 12:47 am, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Sat, Oct 3, 2009 at 1:05 PM, jack jack.wid...@gmail.com wrote

[Lift] Re: CometActor timeout problem

2009-10-04 Thread jack
Excellent. Thanks. On Oct 5, 12:14 am, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Mon, Oct 5, 2009 at 8:16 AM, jack jack.wid...@gmail.com wrote: With the code exactly as you wrote it, how would you modify it to do this? Whenver the Comet Page gets loaded, it resets

[Lift] execute code when browser is closed

2009-10-04 Thread jack
I would like to call a function when the browser is closed. How do I do this? --~--~-~--~~~---~--~~ 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

[Lift] maven and jetty

2009-10-05 Thread jack
I have been working locally for a long time and I seem to have forgotten how to deploy and run a war on Jetty! I am ftping the war to my server and putting it in the target directory. I then run mvn jetty:run-war -Djetty.port=80 and I keep getting the default app. What am I doing wrong?

[Lift] Help!

2009-10-05 Thread jack
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? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this

[Lift] Re: Help!

2009-10-05 Thread jack
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 a war

[Lift] Re: execute code when browser is closed

2009-10-05 Thread jack
i guess you meant put the snippet right in the CometActor. Ok. Now I'm 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

[Lift] Re: execute code when browser is closed

2009-10-05 Thread jack
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, David Pollak

[Lift] html not being evalutated

2009-10-20 Thread jack
I have the following method display. source.body has html tags in it but the actual tags are showing instead of being evaluated. e.g. I'm seeing things like 'bHey There/b' instead of 'Hey There' in bold. This method is in a CometActor and is running when the page is rendered. Am I missing

[Lift] Re: html not being evalutated

2009-10-21 Thread jack
...@gmail.com wrote: On Tue, Oct 20, 2009 at 10:16 PM, jack jack.wid...@gmail.com wrote: OK, I see why this is happening. the {exp} in the NodeSeq convert exp to a String. So I did by creating a string and then converting it to a NodeSeq at the end. Is there a way to do this without using

[Lift] TextileParser

2009-10-25 Thread jack
I am trying to use TextileParser and so I am importing it but I'm getting the error. value textile is not a member of package net.liftweb What am I missing? Jack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Lift] 1.1

2009-10-25 Thread jack
I have been using lift 1.0. What is the best way to upgrade to 1.1? --~--~-~--~~~---~--~~ 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

[Lift] global exception page

2009-10-28 Thread jack
I would like to have one error page that appears when any exception occurs. How would I do that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] regular expression

2009-11-02 Thread jack
I am using the findAllIn function for regular expressions. How do I make it ignore case? I know its simple but I can't find it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

[Lift] using Dispatch library for Http

2009-11-05 Thread jack
I'm using the Dispatch Databinder library for Http. http://bit.ly/NPWcW My code is this simple method. def testCheckPage(url:String):String = { try { var http = new Http var request = new Request (url) val req_with_agent = request : Map(User-Agent - Mozilla/ 5.0)

[Lift] CometActor and render

2009-11-08 Thread jack
I have a CometActor. render is called when it is supposed to be but I don't see the changes. If I refresh the page at anytime, I do see the changes. Any idea what might cause this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Lift] Re: CometActor and render

2009-11-08 Thread jack
By the way, I know that when render is called, all the variables have the right values. I just don't see it on the screen unless I refresh it. On Nov 8, 3:12 am, jack jack.wid...@gmail.com wrote: I have a CometActor. render is called when it is supposed to be but I don't see the changes. If I

[Lift] Re: CometActor and render

2009-11-08 Thread jack
One more thing. 'foo's get added to the FooQueue periodically. On Nov 8, 6:47 pm, 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

[Lift] Re: CometActor and render

2009-11-11 Thread jack
is. On Nov 11, 11: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 a list of URLs of the results. Next to each URL it says Page Length : -1. A process

[Lift] CometListener

2009-11-12 Thread jack
I am trying to use CometListener. According to http://bit.ly/1Wnxt4 , it is in the package net.liftweb._ but compiler says it can't be found. Is this the wrong package? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Lift] Re: CometListener

2009-11-12 Thread jack
I also tried net.liftweb.http On Nov 12, 11:35 pm, jack jack.wid...@gmail.com wrote: I am trying to use CometListener. According tohttp://bit.ly/1Wnxt4, it is in the package net.liftweb._ but compiler says it can't be found. Is this the wrong package

[Lift] scala version

2009-11-12 Thread jack
I'm using lift version 1.1-M6. Which version of scala do I need? In general, how do I know which version of Scala to use? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email

[Lift] priority of events

2009-11-13 Thread jack
What is the order that the following three things happen in? 1)localSetup 2)the first time render is called 3)a piece of code in the CometActor that is not inside any method. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Lift] Comet Actor

2009-11-13 Thread jack
I have a some code in a CometActor that I want to run right after render is called for the first time. What is the best way to do this? I could set a boolean variable in the render method and then send a message back to the CometActor to tell it to run the code. I suspect there is a better way?

[Lift] InputStream to String

2009-11-21 Thread jack
I have seen this problem around and it seems basic but I haven't found a solution. I need to turn an InputStream into a String. There seems to be a bug in the Source class that fails for large files so I don't want to use that (though it is an elegant approach). The following doesn't work because

[Lift] input box in comet actor page resetting.

2009-11-22 Thread jack
I have a comet actor page with an html input box. When ever the comet page gets rerendered, the contents of the input box disappear. What should I do? -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] opening new window from snippet.

2009-11-22 Thread jack
I want to put a link in a snippet that opens up a web page in a new browser window. What is the best way to do this? -- 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

[Lift] session variable question

2009-11-22 Thread jack
I defined a session variable like this object isAdminVar extends SessionVar[Box[Boolean]](Empty) in a class. I set it to true in that same class upon successful login and then access it in another class but it is coming out false. I am accessing it with isAdminVar.is.openOr(false) Am I

[Lift] Re: session variable question

2009-11-23 Thread jack
To give more information, I have two questions. 1) I want to define and set a session variable in Class A and read it in Class B. What is the code? 2) Can A and B be arbitrary classes or do they have to be snippets? On Nov 22, 9:14 pm, jack jack.wid...@gmail.com wrote: I defined a session

[Lift] partialUpdate

2009-11-25 Thread jack
I have the following method in a CometActor override def highPriority = { case Tick(page) = { pages = processPages(pages,page) reRender(false) } } where pages is a list of Page objects. How do I make this into a partialUpdate. I looked at the chat example but do not see

[Lift] Re: partialUpdate

2009-11-25 Thread jack
Just to clarify: the render function takes the list 'pages' and transforms it into HTML. On Nov 25, 11:25 am, jack jack.wid...@gmail.com wrote: I have the following method in a CometActor override def highPriority = {     case Tick(page) = {       pages = processPages(pages,page

[Lift] derby

2009-11-25 Thread jack
Could somebody point me to a quickstart or tutorial about how to use Derby with Lift? -- 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 to

[Lift] simple database question

2009-11-26 Thread jack
I have my database configured properly in Boot.scala and in my pom.xml. Suppose I have a table name person with a field called name. What is the simple code to return all rows of this table using Mapper. I want to understand the essence of how lift ties tables to objects with a simple example. --

[Lift] fsc and Lift

2009-11-27 Thread jack
Does anybody use fsc instead of scalac? I find scalac slow. Are there any known issues with using fsc with Lift? -- 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

[Lift] error locating template/main

2009-12-15 Thread jack
Without changing any code, I just got this error. The template main is where it always was. Any ideas? Error locating template/main. Message::1:6: expected scala.xml.dtd.ValidationException: :1:6: expectednet.liftweb.util.PCDataXmlParser.reportSyntaxError (PCDataMarkupParser.scala:169)

[Lift] Re: error locating template/main

2009-12-15 Thread jack
never mind :) On Dec 16, 1:09 am, jack jack.wid...@gmail.com wrote: Without changing any code, I just got this error. The template main is where it always was. Any ideas? Error locating template/main. Message::1:6: expected scala.xml.dtd.ValidationException: :1:6

[Lift] load testing a lift application

2009-12-15 Thread jack
I need to load test my site. It uses Comet. I am trying JMeter but I'm not sure if it will work with Comet. The application I am testing is basically a search engine that returns results via Comet. What is a good tool to load and stress test this? -- You received this message because you are

[Lift] heapsize

2009-12-17 Thread jack
How do I increase the heapsize in Lift? -- 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 to liftweb+unsubscr...@googlegroups.com. For more options,

[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
+ performance of Scala Lift makes it a no brainer. Enumerating all the pros of Scala and Lift would just take way to long. The list of Scala books and the Lift book are enlisted here http://www.scala-lang.org/node/959 Br's, Marius On Aug 23, 5:45 pm, jack jack.wid...@gmail.com wrote: I am doing

[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: 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 jack.wid

[Lift] Re: has anyone seen this exception?

2009-08-27 Thread Jack Widman
see them from time to time and they indicate to me that the Internet is a random place. On Thu, Aug 27, 2009 at 12:06 PM, jack jack.wid...@gmail.com wrote: Has anyone seen this error? I get it while transforming a Stream into a String. The stream is from an http request I just made. Message

[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: 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] 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: putting data in a session

2009-09-06 Thread Jack Widman
On Sep 7, 12:36 am, jack jack.wid...@gmail.com wrote: How do I put something in the session from one page and take it out from another page? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post

[Lift] Re: putting data in a session

2009-09-06 Thread Jack Widman
(Not found) Cheers, Indrajit On Sep 7, 12:36 am, jack jack.wid...@gmail.com wrote: How do I put something in the session from one page and take it out from another page? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[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] 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: 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: Ajax example from the book

2009-09-14 Thread Jack Widman
. The HTML Lift template should have some like hello:button / which will get replaced by the evaluation after - within bind(). 3. I'm not sure what you mean How does the div work. On Sep 13, 10:24 pm, jack jack.wid...@gmail.com wrote: Could somebody please explain to me how this example from

[Lift] Re: Ajax example from the book

2009-09-14 Thread Jack Widman
hello:button / which will get replaced by the evaluation after - within bind(). 3. I'm not sure what you mean How does the div work. On Sep 13, 10:24 pm, jack jack.wid...@gmail.com wrote: Could somebody please explain to me how this example from the book works. def myFunc(html:NodeSeq

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
? On Tue, Sep 15, 2009 at 4:46 AM, Timothy Perrett timo...@getintheloop.euwrote: Its telling you that the class Clock could not be found - if i were you, check the package definitions on the clock class to make sure its in the right namespace. Cheers, Tim On Sep 15, 3:38 am, jack jack.wid

[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
is the .class file outputted? I think the browser is complaining that the error message xml has an unbound prefix. - Jack Widmanjack.wid...@gmail.com wrote: And here is the error again: Error! XML parsing failed XML parsing failed: syntax error (Line: 13

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
times that I tracked down errors to an incorrect package statement. In Java, if a package statement doesn't correspond to a file's containing folder it's an error, but in Scala it just compiles into a different package/output folder. - Jack Widmanjack.wid

[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: 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: 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
Atsuhiko, How would I make one small change? I would like each link to refresh only once and I would like that to happen as soon as the TSCatcher objects catch a package. Thanks in advance. Jack On Thu, Oct 1, 2009 at 4:11 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Thu

[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: a very simple question

2009-10-04 Thread Jack Widman
to the page? I am just not comfortable yet with the mechanics of how Lift handles comet. Thanks in advance. Jack On Sun, Oct 4, 2009 at 6:50 PM, Timothy Perrett timo...@getintheloop.euwrote: If memory serves, the comet actor lives on in the session scope until its either sent the ShutDown

[Lift] Re: ShutDown and CometActor

2009-10-05 Thread Jack Widman
automatically. On Sun, Oct 4, 2009 at 7:32 PM, jack jack.wid...@gmail.com wrote: I am sending a ShutDown message to my CometActor to end the session. WHen I then go back to the CometActor, it is not working properly the way it did the first time. Is there anything I have to do after

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

2009-10-05 Thread Jack Widman
://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Surf the harmonics -- Jack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb

[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
? Have you tried http://url:80/name of app Just to see if that works Sent from my iPhone On Oct 5, 2009, at 10:12 PM, jack jack.wid...@gmail.com wrote: I have been working locally for a long time and I seem to have forgotten how to deploy and run a war on Jetty! I am ftping the war

  1   2   >