[Lift] JsonHandler stops working

2009-09-08 Thread dave
. Is there a way I prevent my json handler from being garbage collected or a way to touch it periodically so that it does not expire? I am using liftweb-1.1m4 and jetty 6.1.20. In the time I wrote this, I was able to reproduce the problem on demo.liftweb.net. Thanks, Dave

[Lift] Need two classes to inherit from one model, database design and view issues

2009-10-02 Thread Dave
Hi all- I posted this on stackoverflow but I figure its probably relevant here too. I checked out the post with David and Steve Yen corresponding but I am still at a loss and am curious if any progress has been made in this direction. So, here goes. I am creating a website which will need

[Lift] Basic Theory Question: User Management and Access Controls

2009-10-10 Thread Dave
(providerHome) } ) // Build SiteMap val entries = ... Menu(Loc(loginBase, (loginNil)-true, Login Base, Hidden, anyLoggedIn)):: What say you assembled lifters? Thanks, Dave --~--~-~--~~~---~--~~ You received this message because

[Lift] Re: Dynamic SiteMap

2009-10-10 Thread Dave
from Markus' question, but if someone could address this more concrete scenario, it would be much appreciated. Thanks, Dave On Oct 10, 5:09 pm, marius d. marius.dan...@gmail.com wrote: Well SiteMap is per LiftRules which means it's per application runtime. One approach would be to define

[Lift] Re: Dynamic SiteMap

2009-10-11 Thread Dave
Oh I should have read more carefully. Sorry Marius. Do you think you could provide an example with dummy's as to how one of these CondHidden and If's might work in conjunction? Thanks, Dave On Oct 11, 2:54 am, marius d. marius.dan...@gmail.com wrote: So doesn't what I described about help

[Lift] Re: Dynamic SiteMap

2009-10-11 Thread Dave
an If() val to determine what type of user it is, and then funnel accordingly. I assume i can just include both the if (to determine access/where to send) and then the conditional hider LocParam if necessary. But can I bundle both into a more DRY solution? Thanks, Dave On Oct 11, 2:54 am, marius d

[Lift] Re: Dynamic SiteMap

2009-10-11 Thread Dave
, but has been pretty slow going so far). Thanks Dave On Oct 11, 12:36 pm, marius d. marius.dan...@gmail.com wrote: Yes, a Loc accepts many LocParams ... as I said above If/Unless/Test would be used in conjunction with CondHidden to also provide accessibility constraints. Here is the definition

[Lift] Using CalendarMonthView for an Appointment System

2009-10-15 Thread Dave
Hi all- I am currently attempting to build an appointment calendar in Lift. I'm having a lot of trouble getting everything working correctly (partially i think because of my ignorance of what functionality is available through the js and widgets packages. Currently, on cell click, I open a new

[Lift] Re: Using CalendarMonthView for an Appointment System

2009-10-15 Thread Dave
Marius, I have looked at the docs, and the method I described seemed the best way to do it. I was just curious if there were any other ideas out there. Thanks for the reply. Dave On Oct 15, 12:22 pm, Marius marius.dan...@gmail.com wrote: Calendar Widgets work with JQuery. You can see

[Lift] Another Newbie Question (Last one for a while, Promise!)

2009-10-15 Thread Dave
(to include the currentUserId) in the ItemList implementation, but then I'm having trouble conceptually figuring out how to inject my new extended type back into the TableEditor code, or if this is possible at all. Any help would be much appreciated. Thanks in advance. Dave

[Lift] Hooking up custom login logic with ProtoUser's logUserIn and actionsAfterSignup

2010-02-23 Thread dave
/signin logic up to be in sync with the ProtoUser functionality? Thanks for any pointers!! dave For example, our signup/signin service methods went something like (simplified): def signUp(...) = { val user = User.create.email(email).password(password) user.validate match { // ok to save

Re: [Lift] Hooking up custom login logic with ProtoUser's logUserIn and actionsAfterSignup

2010-02-24 Thread dave
newbie, any pointers or tips to speed me along would be appreciated. Thanks! dave On Feb 23, 2:47 pm, dave dpdear...@gmail.com wrote: Hello, I'm working on an application that has until now primarily used Lift for the mapper framework (1.1-M8).  This includes us extending Meta/ MegaProtoUser

Re: [Lift] Hooking up custom login logic with ProtoUser's logUserIn and actionsAfterSignup

2010-02-24 Thread dave
On Feb 24, 11:09 am, dave dpdear...@gmail.com wrote: On Feb 24, 10:33 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Wed, Feb 24, 2010 at 7:21 PM, dave dpdear...@gmail.com wrote: Further investigation leads me to believe that each pathway is either working in a different session

[Lift] Please review a simple app for displaying Flickr pictures

2009-12-13 Thread Dave Briccetti
For a lightning talk at Bay Area Scala Enthusiasts at Twitter HQ Monday, I will show BirdShow, a Lift application that shows photos from Flickr. The current instantiation is a nature photography Web site. Would some of you Lift experts be willing to review the code and comment on the application?

[Lift] Re: Please review a simple app for displaying Flickr pictures

2009-12-13 Thread Dave Briccetti
Thank you, Tim and Indrajit! I changed the logging, pulled and pushed Indrajit’s changes, and I’m now studying the rest of the suggestions. I set LiftRules.enableLiftGC = false, simply to avoid the client- server interactions that from the point of view of a user don’t seem necessary, and, in

[Lift] Re: Please review a simple app for displaying Flickr pictures

2009-12-13 Thread Dave Briccetti
I discovered I need a way to perodically reload certain cached data from Flickr. What sort of timer/actor/thread should I use. Every hour or so I want to call a method from Flickr.scala on each FlickrUser object. -- You received this message because you are subscribed to the Google Groups Lift

[Lift] Re: Please review a simple app for displaying Flickr pictures

2009-12-13 Thread Dave Briccetti
Very helpful suggestions. Thanks. How can I hook into Web app shutdown/undeployment so I can shut down the thread pool? -- 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

[Lift] Re: Please review a simple app for displaying Flickr pictures

2009-12-13 Thread Dave Briccetti
Great. Changes made to Parallelizer to use a single thread pool. Thanks, and hope to see you Monday. -- 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

[Lift] Re: Please review a simple app for displaying Flickr pictures

2009-12-15 Thread Dave Briccetti
Thanks again for the help. Here are tho talk slides: http://www.slideshare.net/dcbriccetti/birdshow-a-lift-app-for-showing-flickr-photos-2720594 -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Paranamer? Missing com.thoughtworks.paranamer:paranamer:jar:2.0

2009-12-20 Thread Dave Briccetti
Say, what’s this paranamer? Are we meant to build it and manually install it in our local repositories? Missing: -- 1) com.thoughtworks.paranamer:paranamer:jar:2.0 Try downloading the file manually from the project website. Then, install it using the command: mvn

[Lift] Re: Paranamer? Missing com.thoughtworks.paranamer:paranamer:jar:2.0

2009-12-21 Thread Dave Briccetti
Thanks for confirming that it is indeed there. The problem was my thoughtworks directory in my local repository was owned by root, for some reason. Problem solved. -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Make Doing Good Easy with your Scala/Lift skills

2010-02-02 Thread Dave Angulo
leverage any interest from this community to make the project successful. Thanks for your time, Dave Dave Angulo Co-founder SnapImpact daveang...@snapimpact.org @daveangulo @snapimpact -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group

[Lift] Re: Make Doing Good Easy with your Scala/Lift skills

2010-02-02 Thread Dave Angulo
a rewarding experience and Make Doing Good Easy. Bottom line, SnapCamp is just the beginning. We have a massive opportunity to do good, but its going to require a lot of work. Dave On Feb 2, 1:32 pm, cody koeninger c...@koeninger.org wrote: On Feb 2, 1:19 pm, Dave Angulo daveang...@gmail.com wrote

Re: [Lift] Newbie Q: can I manually create a LiftSession?

2010-03-04 Thread dave dearing
with: LiftRules.liftRequest.append { case Req(myapp :: user_mgt :: _, _, _) = true case _ = false } and I am NOT setting *passNotFoundToChain *to true because that gives me Client did not send n bytes as expected errors So, not currently possible? dave On Thu, Mar 4, 2010 at 10:30 AM, David Pollak

Re: [Lift] Newbie Q: can I manually create a LiftSession?

2010-03-06 Thread dave dearing
I opened a ticket (#406) in response to this and attached a modified version of the hello world archetype. https://liftweb.assembla.com/spaces/liftweb/tickets/406-create-init-a-liftsession-from-outside-a-lift-handled-request Just let me know if anything is unclear! dave On Thu, Mar 4, 2010