[Lift] jQuery - esp. datepicker

2009-08-03 Thread Java1Guy
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: div id=ui-datepicker-div class=ui-datepicker ui-widget ui-widget- content ui-helper-clearfix

[Lift] Re: jQuery - esp. datepicker

2009-08-04 Thread Java1Guy
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

[Lift] Page parsing error

2009-10-08 Thread Java1Guy
Hey! I'm quite baffled by this - Template flottest.html: lift:surround with=flotsupport at=content script type=text/javascript var i=0; while (i 14) { i = i + 5; }; /script h2H2/h2 /lift:surround Template flotsupport.html (in templates-hidden): html

[Lift] Caching Comet Actors

2009-12-15 Thread Java1Guy
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

[Lift] Re: Caching Comet Actors

2009-12-15 Thread Java1Guy
feeder.of.the.be...@gmail.com wrote: On Tue, Dec 15, 2009 at 9:54 AM, Java1Guy mark.cha...@gmail.com 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

[Lift] Re: Problem in Lift 1.1-SNAPSHOT ?

2009-12-31 Thread Java1Guy
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

[Lift] Re: Memory behavior in Jetty with CometActor

2010-01-18 Thread Java1Guy
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

[Lift] Re: Memory behavior in Jetty with CometActor - 25MB of scala.xml.Text!

2010-01-20 Thread Java1Guy
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 mark.cha...@gmail.com wrote: Thanks for the response.  I have created a small project here:http://drop.io/memtest(btw

[Lift] Re: Memory behavior in Jetty with CometActor - 25MB of scala.xml.Text!

2010-01-20 Thread Java1Guy
...@gmail.com wrote: I 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 mark.cha...@gmail.com wrote: Ok - i've left my Jetty

[Lift] Re: Memory behavior in Jetty with CometActor - 25MB of scala.xml.Text!

2010-01-21 Thread Java1Guy
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

[Lift] Re: How to make JsCmds.RedirectTo context path sensitive?

2010-02-04 Thread Java1Guy
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 -

[Lift] Re: How to make JsCmds.RedirectTo context path sensitive?

2010-02-04 Thread Java1Guy
FWIW, my Jetty config I tried to make as simple as possible: Set name=contextPath/mt/Set Set name=warSystemProperty name=jetty.home default=.// webapps/menutest-1.0-SNAPSHOT.war/Set Set name=extractWARfalse/Set Set name=copyWebDirfalse/Set Set name=defaultsDescriptorSystemProperty name=jetty.home

[Lift] Re: How to make JsCmds.RedirectTo context path sensitive?

2010-02-04 Thread Java1Guy
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 Mellgren

[Lift] Re: How to make JsCmds.RedirectTo context path sensitive?

2010-02-04 Thread Java1Guy
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 to