I think David's analysis is exactly right: "CometActors do not run in
the scope of any HTTP requests. I'm guessing that
the context path is not getting to the CometActor."
As the button text I put S.contextPath+"/index" and sure enough, it
shows "/index" - even though the above output shows that
Ross: no, the opposite. in "mvn jetty:run" all is well since it is in
the root context. (?)
When I deploy the war to jetty and use the "/mt" context all the
ajaxButtons insist on going to the root.
PS - although i've had trouble before, 2.0-M1 seems *more* broken :(
On Feb 4, 3:37 pm, Ross Mellg
FWIW, my Jetty config I tried to make as simple as possible:
/mt
/
webapps/menutest-1.0-SNAPSHOT.war
false
false
/etc/webdefault.xml
--
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 unsubs
>From mvn jetty:run:
Here's request map: Full()Here's session map: Full()and finally
S.contextPath:
>From jetty
Here's request map: Full(/mt)Here's session map: Full(/mt)and finally
S.contextPath: /mt
WTF?
My actor code is:
bind("f", defaultXml,
"nakedHomeButton" ->
SHtml.a
This sure seems like it should be a simple problem, but I sure can't
find the answer.
I have a simple CometActor page with an ajaxButton on it. I want the
button to go to a different page. No problem - except when I deploy
it into a jetty container where it isn't in the root context, it
doesn't
David:
Thanks for having a look. Curious about that missing dependency - i
guess it's in the pom.xml but not really used.
Anyway, I'll digest your recommendations and have a go at it. The
scenario I have running right now is one page open (and therefore its
session) for a very long time. While
did post the project to drop.io -http://drop.io/memtest.
>
> This drop is empty
>
>
>
>
>
> > On Wed, Jan 20, 2010 at 10:06 PM, David Pollak <
> > feeder.of.the.be...@gmail.com> wrote:
>
> >> On Wed, Jan 20, 2010 at 9:03 PM, Java1Guy wrot
almost 80K displayList partial function objects in my
CometActor.
To me that sounds like a lot of functions!
Thanks in advance if you can have a look.
Mark
On Jan 18, 6:36 pm, Java1Guy wrote:
> Thanks for the response. I have created a small project
> here:http://drop.io/memtest(btw - the zi
Thanks for the response. I have created a small project here:
http://drop.io/memtest (btw - the zip file is so big because there are
3 heap dumps - before that it was only 21k!) which i believe does
exhibit the problem. One comet actor page which gets updated every 20
sec. via tick.
So to run thi
I'm not quite understanding... I just got the zip files from the
download page of the GitHub (http://github.com/dpp/liftweb/downloads)
for both 1.1-M7 and Lift-1.1-M8-release.
Both of them fail the build with the same error:
C:\Users\mark\Library\Lift-1.1-M7\lift-modules\lift-jta\src\main\scala
\ne
On Tue, Dec 15, 2009 at 9:54 AM, Java1Guy wrote:
> > Hey all!
> > I'm having great luck coding up my web site which consists of a
> > handful of pages each of which contains a Flot graph. Behind each
> > page is a CometActor which dynamically updates the graph.
>
Hey all!
I'm having great luck coding up my web site which consists of a
handful of pages each of which contains a Flot graph. Behind each
page is a CometActor which dynamically updates the graph.
Since appetite grows while dining, I'm now interested in optimizing a
bit. I presume I have the defa
I got it to run pretty easily by locally back porting to 1.1m4.
Just change back the one package name change, IIRC.
Otherwise it was becoming a big rat hole.
Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lif
FWIW - I went with choice #1.
Seems like CometActor name method doesn't really get the value of the
name parameter in the XML :(
Appended uniqueId on all the variables and functions - worked just
fine!
On Oct 15, 12:56 pm, Java1Guy wrote:
> Hey all!
> I have had some great success
Hey all!
I have had some great success in putting together a web page using
Flot for client-side JavaScript charting. I *even* generate said
JavaScript in my Scala code (well, the data and the call to the
appropriate function) - FTW!
Now my question is this: I need multiple graphs on a given pag
Hey! I'm quite baffled by this -
Template flottest.html:
var i=0;
while (i < 14) {
i = i + 5;
};
H2
Template flotsupport.html (in templates-hidden):
http://www.w3.org/1999/xhtml"; xmlns:lift="http://
liftweb.net/">
Flot Toolkit Test Page
Well... only sort-of :(
1) if you're using the id attribute, doesn't that mean i can only use
one per page?
2) i don't think it explains why is was getting the JavaScript
error...
In the meantime, I downloaded jQuery and include it explicitly on the
page and use style classes, so it seems to work
I'm trying to put a datepicker on some text fields on a page...
For a while there was missing stuff that was present in the
PocketChange app which works:
Looking at the DOM in firebug, I see this:
How did that get there?
Also in the date field itself:
How did 'hasDatepicker' get assigned as the
18 matches
Mail list logo