or example, you just reference tham /img/{image file} ...
> these will not be served by Lift but by web container.
>
> There is no need for SiteMap when serving other resources.
>
>
>
> On Feb 27, 10:53 am, jack wrote:
> > I would like to access an image on the client
I would like to access an image on the client via a URL. How do I
generate that URL. Currently, I'm getting the error
The requested page was not defined in your SiteMap, so access was
blocked.
I understand what this error means for html pages. How does it work
for images?
Thanks.
--
You receiv
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,
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 subs
never mind :)
On Dec 16, 1:09 am, jack 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.V
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)
scala.
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 grou
gt; }
>
> You can then do things like this:
>
> val person = Person.find(1) // retrieve the person with id = 1 from
> the database
> val person = Person.find(By(Person.name, "Jack")) // retrieve the
> person with name = "Jack" from the database
> va
wow. thats impressive. But for this, what does the Person class have
to look like? Suppose I have the table but I don't have the Person
class written. What does it need to look like?
On Nov 26, 1:32 pm, harryh wrote:
> val people = Person.findAll()
>
> On Nov 26, 1:22 pm, 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.
--
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
liftweb+u
Just to clarify: the render function takes the list 'pages' and
transforms it into HTML.
On Nov 25, 11:25 am, jack wrote:
> I have the following method in a CometActor
>
> override def highPriority = {
> case Tick(page) => {
> pages = processPages(pages,
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 ho
Thanks Tim. I didn't know S.init has to be called explicitly. This can be
called from anywhere?
On Mon, Nov 23, 2009 at 8:19 AM, Timothy Perrett wrote:
> Jack,
>
> 1.
> object MyThing extends SessionVar[Box[String]](Empty)
>
> Im using Box[String] here, but you can use
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 wrote:
> I defined a session variable like t
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 missing
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
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...@googlegro
ed why "readWholeInputStream" was somehow not the obvious
> choice ;-)
>
> Cheers, Tim
>
> On Nov 21, 4:37 pm, Jack Widman wrote:
> > I kind of like it. Says exactly what it does :)
> >
> > On Sat, Nov 21, 2009 at 9:56 AM, David Pollak <
> feeder
I kind of like it. Says exactly what it does :)
On Sat, Nov 21, 2009 at 9:56 AM, David Pollak wrote:
> Helpers.readWholeThing(reader): String
>
> Yes... this method name is ripe for bettering.
>
>
> On Sat, Nov 21, 2009 at 6:47 AM, jack wrote:
>
>> I have seen this
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
ail to
>> liftweb+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/liftweb?hl=.
>>
>>
>>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.
web+unsubscr...@googlegroups.com
>
> >
> > .
> > For more options, visit this group at
> > http://groups.google.com/group/liftweb?hl=.
> >
> >
> > --
> >
> > You received this message because you are subscribed to the Google Groups
> >
uot;]
>> > > > // Do something with the cookie
>> >
>> > > > or ASP.NET:
>> > > > var c = Request.Cookies["CookieName"]
>> > > > if(c != null) {
>> > > > var v = c.Value
>> > > > // Do somet
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, Nov 13, 2009 at 12:09 PM, 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?
--
Here is my pom.xml
On Fri, Nov 13, 2009 at 12:09 PM, Jack Widman 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 wrote:
>
>> Could yo
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 G
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
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
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
ges, since scala implicitly imports superpackages).
>
> -Ross
>
> On Nov 12, 2009, at 11:38 PM, jack wrote:
>
> >
> > I also tried net.liftweb.http
> >
> > On Nov 12, 11:35 pm, jack wrote:
> >> I am trying to use CometListener. According tohttp://b
I also tried net.liftweb.http
On Nov 12, 11:35 pm, jack 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?
--~--~-~--~~~--
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
got it. I was mixing metaphors.
On Thu, Nov 12, 2009 at 5:41 PM, David Pollak wrote:
>
>
> On Thu, Nov 12, 2009 at 2:25 PM, Jack Widman wrote:
>
>> Is it that I am putting things on a Queue from within an the Calculator
>> Actor and having the CometActor retrieve them
Thanks.
On Thu, Nov 12, 2009 at 5:32 PM, David Pollak wrote:
>
>
> On Thu, Nov 12, 2009 at 2:16 PM, Jack Widman wrote:
>
>> Will do. One more small question How do I send a message to the Comet
>> Actor from another class? Can the CometActor be an object instead of
.
On Thu, Nov 12, 2009 at 5:12 PM, David Pollak wrote:
> Jack,
>
> The issues you're seeing are not Lift related. You are not using Actors
> correctly. Please see Philipp Haller's preso on Actors:
> http://lamp.epfl.ch/~phaller/doc/ScalaActors.pdf<http://lamp.epfl.ch/%7
12 PM, David Pollak wrote:
> Jack,
>
> The issues you're seeing are not Lift related. You are not using Actors
> correctly. Please see Philipp Haller's preso on Actors:
> http://lamp.epfl.ch/~phaller/doc/ScalaActors.pdf<http://lamp.epfl.ch/%7Ephaller/doc/ScalaActors
Ok. I actually had this problem before I upgraded to M6.
On Thu, Nov 12, 2009 at 5:03 PM, David Pollak wrote:
> Jack,
>
> Your pom.xml file mixes Scala 2.7.3, Lift 1.0 and Lift 1.1-M6... this
> doesn't work.
>
> You have to be running with the same version of Lift.
>
David,
I hope its clear from the code what the problem is. If you want me to,
I will give a more detailed description of how the code is supposed to
work.
Jack
On Nov 11, 11:26 pm, Jack Widman wrote:
> David,
>
> I have attached my code. It runs but does not behave as I intended it
looked
> at Databinder Dispatch http://databinder.net/dispatch/About for your
> url calls?
>
> On Nov 12, 3:26 pm, Jack Widman 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 te
ce is.
On Nov 11, 11:26 pm, Jack Widman 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 :
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 wrote:
>
>
> On Mon, Nov 9, 2009 at 10:10 PM, Jack Widman wrote:
>
>> The only difference between you
hings
off the queue and rerenders the page. I tried starting the process in its
own Actor that I start in localSetup but it seems somehow to be blocking the
lowPriority method from doing its thing.
On Sun, Nov 8, 2009 at 11:35 PM, David Pollak wrote:
> Jack,
>
> I reproduced your code a
Thanks David. This is a big help. Can you tell me exactly how lowPriority,
mediumPriorty and highPriority work? When are they called?
On Sun, Nov 8, 2009 at 11:35 PM, David Pollak wrote:
> Jack,
>
> I reproduced your code and it seems to work fine. I've enclosed a working
&g
One more thing. 'foo's get added to the FooQueue periodically.
On Nov 8, 6:47 pm, Jack Widman 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 b
case class Tick
On Sun, Nov 8, 2009 at 5:31 AM, Timothy Perrett wrote:
>
> Without posting your code it's going to be tough to help you.
>
> Cheers, Tim
>
> Sent from my iPhone
>
> On 8 Nov 2009, at 08:14, jack wrote:
>
> >
> > By the way, I know th
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 wrote:
> I have a CometActor. render is called when it is supposed to be but I
> don't see the changes. If I ref
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 Goo
Maybe:
>
> try {
> ...
> } catch {
> case ex: Exception if ex.getMessage == null => "Message: " +
> ex.toString
> case ex: Exception => "Message: " + ex.getMessage
> }
>
> -Ross
>
> On Nov 5, 2009, at 11:45 PM, jack wrote:
>
f ex.getMessage == null => "Message: " +
> ex.toString
> case ex: Exception => "Message: " + ex.getMessage
> }
>
> -Ross
>
> On Nov 5, 2009, at 11:45 PM, jack wrote:
>
> >
> > I'm using the Dispatch Databinder library for Http. h
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")
_CASE.
> See java.util.regex.Pattern javadoc for details.
>
> Probably better to ask Scala questions on the Scala list(s).
>
>
> On Mon, Nov 2, 2009 at 10:28 AM, jack wrote:
>
>>
>> I am using the findAllIn function for regular expressions. How do I
>> make it
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
Yes. Thanks alot Tim.
On Wed, Oct 28, 2009 at 9:32 AM, Timothy Perrett wrote:
>
> Jack,
>
> LiftRules.exceptionHandler.prepend {
> case (Props.RunModes.Production, r, e) => {
> Log.error("IMPORTANT IMPORTANT IMPORTANT: Unhandeled error
> occ
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 liftweb@googlegroups.
Thanks Tim. And next time I will search more before asking.
On Sun, Oct 25, 2009 at 2:26 PM, Timothy Perrett wrote:
>
> Jack,
>
> This question has been asked quite a number of times recently on list.
>
> Change:
>
> 1.0
>
> on the liftweb dependencies in your p
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
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 G
t; tutorials already exists for beginners before I send more messages for
>> the board, but my main issue is knowing whether or not I'm getting the
>> right information; most every lift example document/wiki/tutorial I've
>> seen is outdated code or incomplete. I'm looking f
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, what 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 wrote:
>
>
> On We
Let's say source.body is Search. If I put
source.body in a span like this -
{source.body}
source.body will be converted to text and the actual link tags will be
displayed. What is the right way to do this?
On Oct 21, 9:06 am, David Pollak
wrote:
> On Tue, Oct 20, 2009 at 10:16
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 and
intermediary string?
On Oct 21, 1:03 am, jack wrote:
> I have the following method disp
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 'Hey There' instead of 'Hey There' in bold.
This method is in a CometActor and is running when the page is
rendered. Am I missing something o
yes. I think I found the problem elsewhere in the logic. thanks.
On Sun, Oct 18, 2009 at 11:07 PM, Naftoli Gugenheim wrote:
> I think so... Does it compile?
>
>
> On Sun, Oct 18, 2009 at 7:13 PM, jack wrote:
>
>>
>> Does this code look ok?
>>
>>
>>
Does this code look ok?
def createDisplay(blogs:List[Blog]):NodeSeq = {
{
for {blog <- blogs} yield {blog.url} {blog.title}
}
}
def render = { bind("joop" -> createDisplay(blogs)) }
--~--~-~--~~~---~--~~
You received this message be
Does this code look ok?
def createDisplay(blogs:List[Blog]):NodeSeq = {
{
for {blog <- blogs} yield {blog.url} {blog.displayScore}
}
}
def render = { bind("joop" -> createDisplay(blogs)) }
--~--~-~--~~~---~--~~
You received this message
fyi
http://developers.curl.com/people/rshiplett
On Wed, Oct 14, 2009 at 3:40 PM, Jack Widman 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
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 wrote:
> The necessity of this kind of action (the banning) is absolut
te:
> > >> > Hi Aule,
> >
> > >> > > I am still looking to see if I over-looked somewhere on the web
> where
> > >> > > there is a 1.0.2 Boot.scala
> >
> > >> > > 1) showing unambiguously how to flip the default Content
;
> Multiple requests share the same 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 wrote:
>>
>&
nder 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 200
lly restarts
> automatically.
>
> HTH, Mark
>
> On Oct 5, 8:44 pm, Jack Widman 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
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
nal tweak the jetty configuration (read the jetty doc)
>
> FYI : Tim Perret is working on solution to create standalone jar with
> jetty embedded (search in the mailing-list)
>
> If you don't use Comet, you could try the winstone-maven-plugin to
> create a runnable jar
&
hy Perrett wrote:
> Hey jack,
>
> As I said before, I think the design you have is wrong if your needing to
> code in a hacky way such as this. The way you articulate the justification
> for using shutdown almost certianly clarifies an incorrect design.
>
> Personally I think
fying
> the comet actor be dynamic. So you need to have that xml be generated by a
> snippet. A snippet is an XML to XML function.
>
>
> -
> jack wrote:
>
>
> Let me start again. Maybe I am misunderstanding when Comet should be
. That is not
working, though maybe I am not doing it right.
On Oct 6, 12:01 am, Naftoli Gugenheim wrote:
> What do you mean?
>
> -
>
> jack wrote:
>
> i guess you meant put the snippet right in the CometActor. Ok. Now I'm
> getti
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 wrote:
> Sorry if this is a dumb question but in name={searchString}/>, what is searchString? This is in an html file. I am
> obviously missing something.
>
>
Sorry if this is a dumb question but in , 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
wrote:
>
>
> On Mon, Oct 5, 2009 at 10:27 AM, Jack Widman wrote:
>
>> Understood. My intention is to send a S
never mind.
deploy-war, not run-war
(been working too hard)
On Oct 5, 11:09 pm, Jack Widman wrote:
> I meant to say jetty:run-war
>
> On Mon, Oct 5, 2009 at 10:52 PM, jack wrote:
>
> > Is mvn jetty:run supposed to creat the war file? I want to upload a
> > war file and
I meant to say jetty:run-war
On Mon, Oct 5, 2009 at 10:52 PM, jack 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
--~--~-~--~~~--
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 gro
u tried http:/// Just to see if that works
>
> Sent from my iPhone
>
> On Oct 5, 2009, at 10:12 PM, jack 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
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?
--~--~-
od 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?
>>
>>
>>
Well it is high enough level! [?]
On Mon, Oct 5, 2009 at 3:49 PM, Viktor Klang wrote:
>
>
> On Mon, Oct 5, 2009 at 6:02 PM, Jack Widman wrote:
>
>> Why don't we make Esperanto the official Lift language?
>>
>>
> I'd say make Scala the official languag
glad to be using Lift. 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
wrote:
>
>
> On Mon, Oct 5, 2009 at 12:06 PM, Jack Widman wrote:
>
>> Because when the users searches on a new keyword, the actors
wrote:
>
>
> On Mon, Oct 5, 2009 at 11:53 AM, Jack Widman wrote:
>
>> 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. Otherwise
, David Pollak
wrote:
>
>
> On Mon, Oct 5, 2009 at 11:45 AM, Jack Widman wrote:
>
>> 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 g
o know how 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
wrote:
>
>
> On Mon, Oct 5, 2009 at 10:27 AM, Jack Widman wrote:
>
>> Understood. My intention is to send a ShutDown messa
does not equate with browser-close event.
>
> Br's,
> Marius
>
> On Oct 5, 3:22 pm, Jack Widman wrote:
> > Yes, thats what I meant. Thanks
> >
> > On Mon, Oct 5, 2009 at 4:10 AM, Timothy Perrett >wrote:
> >
> >
> >
> >
> >
gt;
> > > > > 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 inside one snippet, I m
utomatically.
>
>
> On Sun, Oct 4, 2009 at 7:32 PM, jack 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
l
>
> Checkout the method:
>
> registerCleanupFunc
>
> Cheers, Tim
>
> On Oct 5, 8:54 am, Viktor Klang wrote:
> > On Mon, Oct 5, 2009 at 6:50 AM, jack wrote:
> >
> > > I would like to call a function when the browser is clos
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
Excellent. Thanks.
On Oct 5, 12:14 am, Atsuhiko Yamanaka
wrote:
> Hi,
>
> On Mon, Oct 5, 2009 at 8:16 AM, jack 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 itsel
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
shutting down the session, or should it just work when I load the
CometActor again?
--~--~
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
wrote:
> Hi,
>
> On Sat, Oct 3, 2009 at 1:05 PM, jack wrote:
>
> > Atsuhiko,
>
> > The w
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 wrote:
>
> If memory serves, the comet actor lives on in the session scope until
> its either sent the ShutDown message expli
1 - 100 of 157 matches
Mail list logo