[Lift] Re: Db4o Integration

2008-10-05 Thread efleming969

@bjarte and @charles

Sure, I've been learning Scala for a few months now and was trying to
create a wicket application with db4o and kept running into problems
that I did not know how to solve in Scala.  Since Lift is witten in
Scala, I thought my learning curve could be about the same, so here I
am.  I will definitely post any experiences I come accross and I'll
start a sample project in github, for anyone interested.  Keep in mind
that I don't know Scala or Lift very well and therefore cannot be
trusted with correct implementations.

On Oct 5, 10:16 am, efleming969 [EMAIL PROTECTED] wrote:
 @david

 thanks, that did the trick.

 On Oct 3, 12:51 pm, David Pollak [EMAIL PROTECTED]
 wrote:

  def myUnloader(): Unit = {
    ... run when Lift is being unloaded

  }

  LiftRules.unloadHooks += myUnloader _

  On Fri, Oct 3, 2008 at 8:56 AM, efleming969 [EMAIL PROTECTED] wrote:

   I'm trying to convert a scala + wicket + db4o application to Lift +
   db4o.  I'm using a standard ServletContextListener to shutdown my
   database file.

   What is the recommended method for ContextListener type code in Lift.
   Should I just configure my ContextListener as normal or is there a
   special place for this type of code?

   Thanks

  --
  Lift, the simply functional web frameworkhttp://liftweb.net
  Collaborative Task Managementhttp://much4.us
  Follow me:http://twitter.com/dpp
  Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Simple Build Tool

2008-10-05 Thread Tim Perrett

Guys,

Check this out:

http://code.google.com/p/simple-build-tool/

It appeared a couple of days ago - im wondering if its something we
could customize to make starting lift projects easier? Its all written
in scala so should be easily extendable.

I need to take a better look, but thought id float the idea

Cheers

Tim


--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] expired sessions and log in

2008-10-05 Thread Charles F. Munat

I'm working on an app in which users may spend significant time editing 
a form before submitting it. It's possible during this time that their 
session could time out. My concern is that they might submit a long 
edit, discover that their session has timed out, log in, and lose the 
edit. (They can probably back up and resubmit, but these are not very 
savvy users.)

I'd like it to remember their update, hold it until they log back in, 
then send them a prompt to ask if they want to:

a) complete the update,
b) cancel the update,
c) return to the edit form (with their recent edits included, though not 
yet saved).

Any ideas for how to go about this?

Thanks,
Chas.

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Simple Build Tool

2008-10-05 Thread TylerWeir

Looks interesting.  I subscribed to the list to keep an eye on it.

Ty

On Oct 5, 1:59 pm, Tim Perrett [EMAIL PROTECTED] wrote:
 Guys,

 Check this out:

 http://code.google.com/p/simple-build-tool/

 It appeared a couple of days ago - im wondering if its something we
 could customize to make starting lift projects easier? Its all written
 in scala so should be easily extendable.

 I need to take a better look, but thought id float the idea

 Cheers

 Tim
--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Simple Build Tool

2008-10-05 Thread Jorge Ortiz
I don't see a downside to providing an alternative build system to people
who are very Maven-averse (as long as I don't have to maintain it!, heh)

But yeah, replacing Maven at this point seems unwise, unless there are very
compelling reasons.

--j

On Sun, Oct 5, 2008 at 12:15 PM, David Pollak [EMAIL PROTECTED]
 wrote:



 On Sun, Oct 5, 2008 at 10:59 AM, Tim Perrett [EMAIL PROTECTED] wrote:


 Guys,

 Check this out:

 http://code.google.com/p/simple-build-tool/

 It appeared a couple of days ago - im wondering if its something we
 could customize to make starting lift projects easier? Its all written
 in scala so should be easily extendable.


 I am very reluctant to introduce an additional build system to Lift.  If
 this tool is built on top of the Maven infrastructure but uses Scala files
 to define build rules rather than using XML, I'm interested in learning
 more.  If it's yet another build tool... well...




 I need to take a better look, but thought id float the idea

 Cheers

 Tim






 --
 Lift, the simply functional web framework http://liftweb.net
 Collaborative Task Management http://much4.us
 Follow me: http://twitter.com/dpp
 Git some: http://github.com/dpp

 


--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Simple Build Tool

2008-10-05 Thread David Pollak
On Sun, Oct 5, 2008 at 10:59 AM, Tim Perrett [EMAIL PROTECTED] wrote:


 Guys,

 Check this out:

 http://code.google.com/p/simple-build-tool/

 It appeared a couple of days ago - im wondering if its something we
 could customize to make starting lift projects easier? Its all written
 in scala so should be easily extendable.


I am very reluctant to introduce an additional build system to Lift.  If
this tool is built on top of the Maven infrastructure but uses Scala files
to define build rules rather than using XML, I'm interested in learning
more.  If it's yet another build tool... well...




 I need to take a better look, but thought id float the idea

 Cheers

 Tim


 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: expired sessions and log in

2008-10-05 Thread Martin Ellis

On Sun, Oct 5, 2008 at 7:28 PM, Charles F. Munat [EMAIL PROTECTED] wrote:

 I'm working on an app in which users may spend significant time editing
 a form before submitting it. It's possible during this time that their
 session could time out. My concern is that they might submit a long
 edit, discover that their session has timed out, log in, and lose the
 edit. (They can probably back up and resubmit, but these are not very
 savvy users.)

 I'd like it to remember their update, hold it until they log back in,
 then send them a prompt to ask if they want to:

 a) complete the update,
 b) cancel the update,
 c) return to the edit form (with their recent edits included, though not
 yet saved).

 Any ideas for how to go about this?

I guess it's still true that:

  The best way to deal with the particular situation (browser
  open, don't want the session to disappear), is to put a hidden
  CometActor on the page that does nothing other than keep
  the session alive. - David Pollack
  
http://groups.google.com/group/liftweb/browse_thread/thread/e98f2f75cc4461e4/10a16b586e879b11


Martin

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Simple Build Tool

2008-10-05 Thread Tim Perrett

god no, I dont want to replace maven :-)

There is talk of SBT having rake type functionality in the not too
distant future, so that was more what I was thinking. I appreciate
that maven can do all that stuff but from a beginer perspective its
pretty difficult for them to learn.

I recently persuaded my best friend to take up lift, and one of the
things he just couldnt understand was all the -D stuff he needed to do
when getting started. So my intention here was more thinking that
perhaps its something we could leverage to simply our project creation
needs etc

Like I said, just floating the idea :-)

Cheers

Tim

On Oct 5, 8:22 pm, Jorge Ortiz [EMAIL PROTECTED] wrote:
 I don't see a downside to providing an alternative build system to people
 who are very Maven-averse (as long as I don't have to maintain it!, heh)

 But yeah, replacing Maven at this point seems unwise, unless there are very
 compelling reasons.

 --j

 On Sun, Oct 5, 2008 at 12:15 PM, David Pollak [EMAIL PROTECTED]

  wrote:

  On Sun, Oct 5, 2008 at 10:59 AM, Tim Perrett [EMAIL PROTECTED] wrote:

  Guys,

  Check this out:

 http://code.google.com/p/simple-build-tool/

  It appeared a couple of days ago - im wondering if its something we
  could customize to make starting lift projects easier? Its all written
  in scala so should be easily extendable.

  I am very reluctant to introduce an additional build system to Lift.  If
  this tool is built on top of the Maven infrastructure but uses Scala files
  to define build rules rather than using XML, I'm interested in learning
  more.  If it's yet another build tool... well...

  I need to take a better look, but thought id float the idea

  Cheers

  Tim

  --
  Lift, the simply functional web frameworkhttp://liftweb.net
  Collaborative Task Managementhttp://much4.us
  Follow me:http://twitter.com/dpp
  Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Simple Build Tool

2008-10-05 Thread David Bernard

I took a quick look at it. like make, ant, builr the main issue I've
got with it's it require scala to be installed and to don't manage the
version of scala use to build you're project. And I suspect it could
only build scala-project that used the same version as the tools
itself.

But I pro a new build tool (it has some nice feature), maven is not
perfect (I'll also keep an eye on maven 2.1 and 3.0)

/davidB

On Sun, Oct 5, 2008 at 9:22 PM, Jorge Ortiz [EMAIL PROTECTED] wrote:
 I don't see a downside to providing an alternative build system to people
 who are very Maven-averse (as long as I don't have to maintain it!, heh)

 But yeah, replacing Maven at this point seems unwise, unless there are very
 compelling reasons.

 --j

 On Sun, Oct 5, 2008 at 12:15 PM, David Pollak
 [EMAIL PROTECTED] wrote:


 On Sun, Oct 5, 2008 at 10:59 AM, Tim Perrett [EMAIL PROTECTED] wrote:

 Guys,

 Check this out:

 http://code.google.com/p/simple-build-tool/

 It appeared a couple of days ago - im wondering if its something we
 could customize to make starting lift projects easier? Its all written
 in scala so should be easily extendable.

 I am very reluctant to introduce an additional build system to Lift.  If
 this tool is built on top of the Maven infrastructure but uses Scala files
 to define build rules rather than using XML, I'm interested in learning
 more.  If it's yet another build tool... well...


 I need to take a better look, but thought id float the idea

 Cheers

 Tim






 --
 Lift, the simply functional web framework http://liftweb.net
 Collaborative Task Management http://much4.us
 Follow me: http://twitter.com/dpp
 Git some: http://github.com/dpp




 


--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: expired sessions and log in

2008-10-05 Thread David Pollak
See net.liftweb.mapper.ProtoExtendedSession

This does not address the issue of the opaque identifiers used to map from
form fields to functions.

On Sun, Oct 5, 2008 at 1:02 PM, Tim Perrett [EMAIL PROTECTED] wrote:


 Indeed - me and Ty were just talking about this incidentally, and
 there is no easy way to implement this.
 Its a bit messy granted, but sure, the comet actor appears to be the
 only way to do it.


 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Db4o Integration

2008-10-05 Thread David Pollak
On Sun, Oct 5, 2008 at 8:27 AM, efleming969 [EMAIL PROTECTED] wrote:


 @bjarte and @charles

 Sure, I've been learning Scala for a few months now and was trying to
 create a wicket application with db4o and kept running into problems
 that I did not know how to solve in Scala.  Since Lift is witten in
 Scala, I thought my learning curve could be about the same, so here I
 am.  I will definitely post any experiences I come accross and I'll
 start a sample project in github, for anyone interested.  Keep in mind
 that I don't know Scala or Lift very well and therefore cannot be
 trusted with correct implementations.


Looking at how newbies approach Lift will help us make Lift more
approachable.




 On Oct 5, 10:16 am, efleming969 [EMAIL PROTECTED] wrote:
  @david
 
  thanks, that did the trick.
 
  On Oct 3, 12:51 pm, David Pollak [EMAIL PROTECTED]
  wrote:
 
   def myUnloader(): Unit = {
 ... run when Lift is being unloaded
 
   }
 
   LiftRules.unloadHooks += myUnloader _
 
   On Fri, Oct 3, 2008 at 8:56 AM, efleming969 [EMAIL PROTECTED]
 wrote:
 
I'm trying to convert a scala + wicket + db4o application to Lift +
db4o.  I'm using a standard ServletContextListener to shutdown my
database file.
 
What is the recommended method for ContextListener type code in Lift.
Should I just configure my ContextListener as normal or is there a
special place for this type of code?
 
Thanks
 
   --
   Lift, the simply functional web frameworkhttp://liftweb.net
   Collaborative Task Managementhttp://much4.us
   Follow me:http://twitter.com/dpp
   Git some:http://github.com/dpp
 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Db4o Integration

2008-10-05 Thread David Pollak
On Sun, Oct 5, 2008 at 8:16 AM, efleming969 [EMAIL PROTECTED] wrote:


 @david

 thanks, that did the trick.


Great... did you add this to the Lift wiki? :-)




 On Oct 3, 12:51 pm, David Pollak [EMAIL PROTECTED]
 wrote:
  def myUnloader(): Unit = {
... run when Lift is being unloaded
 
  }
 
  LiftRules.unloadHooks += myUnloader _
 
  On Fri, Oct 3, 2008 at 8:56 AM, efleming969 [EMAIL PROTECTED]
 wrote:
 
   I'm trying to convert a scala + wicket + db4o application to Lift +
   db4o.  I'm using a standard ServletContextListener to shutdown my
   database file.
 
   What is the recommended method for ContextListener type code in Lift.
   Should I just configure my ContextListener as normal or is there a
   special place for this type of code?
 
   Thanks
 
  --
  Lift, the simply functional web frameworkhttp://liftweb.net
  Collaborative Task Managementhttp://much4.us
  Follow me:http://twitter.com/dpp
  Git some:http://github.com/dpp
 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Simple Build Tool

2008-10-05 Thread Derek Chen-Becker
There's no *requirement* to use all of the -D stuff. If you just do

mvn -U archetype:generate

you actually get a nice list of archetypes, two of which are:

31: internal - lift-archetype-blank (A blank/empty liftweb project)
32: internal - lift-archetype-basic (The basic (liftweb) project)

If you just pick the number it prompts you for the necessary info.

Derek

On Sun, Oct 5, 2008 at 1:58 PM, Tim Perrett [EMAIL PROTECTED] wrote:


 god no, I dont want to replace maven :-)

 There is talk of SBT having rake type functionality in the not too
 distant future, so that was more what I was thinking. I appreciate
 that maven can do all that stuff but from a beginer perspective its
 pretty difficult for them to learn.

 I recently persuaded my best friend to take up lift, and one of the
 things he just couldnt understand was all the -D stuff he needed to do
 when getting started. So my intention here was more thinking that
 perhaps its something we could leverage to simply our project creation
 needs etc

 Like I said, just floating the idea :-)

 Cheers

 Tim

 On Oct 5, 8:22 pm, Jorge Ortiz [EMAIL PROTECTED] wrote:
  I don't see a downside to providing an alternative build system to people
  who are very Maven-averse (as long as I don't have to maintain it!,
 heh)
 
  But yeah, replacing Maven at this point seems unwise, unless there are
 very
  compelling reasons.
 
  --j
 
  On Sun, Oct 5, 2008 at 12:15 PM, David Pollak 
 [EMAIL PROTECTED]
 
   wrote:
 
   On Sun, Oct 5, 2008 at 10:59 AM, Tim Perrett [EMAIL PROTECTED]
 wrote:
 
   Guys,
 
   Check this out:
 
  http://code.google.com/p/simple-build-tool/
 
   It appeared a couple of days ago - im wondering if its something we
   could customize to make starting lift projects easier? Its all written
   in scala so should be easily extendable.
 
   I am very reluctant to introduce an additional build system to Lift.
  If
   this tool is built on top of the Maven infrastructure but uses Scala
 files
   to define build rules rather than using XML, I'm interested in learning
   more.  If it's yet another build tool... well...
 
   I need to take a better look, but thought id float the idea
 
   Cheers
 
   Tim
 
   --
   Lift, the simply functional web frameworkhttp://liftweb.net
   Collaborative Task Managementhttp://much4.us
   Follow me:http://twitter.com/dpp
   Git some:http://github.com/dpp
 


--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: expired sessions and log in

2008-10-05 Thread Charles F. Munat

I don't want to keep the session alive. I know how to do that. I want it 
to time out and force them to log in again. I just want it to remember 
what they were doing. Does that make sense?

Thanks,
Chas.

Martin Ellis wrote:
 On Sun, Oct 5, 2008 at 7:28 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
 I'm working on an app in which users may spend significant time editing
 a form before submitting it. It's possible during this time that their
 session could time out. My concern is that they might submit a long
 edit, discover that their session has timed out, log in, and lose the
 edit. (They can probably back up and resubmit, but these are not very
 savvy users.)

 I'd like it to remember their update, hold it until they log back in,
 then send them a prompt to ask if they want to:

 a) complete the update,
 b) cancel the update,
 c) return to the edit form (with their recent edits included, though not
 yet saved).

 Any ideas for how to go about this?
 
 I guess it's still true that:
 
   The best way to deal with the particular situation (browser
   open, don't want the session to disappear), is to put a hidden
   CometActor on the page that does nothing other than keep
   the session alive. - David Pollack
   
 http://groups.google.com/group/liftweb/browse_thread/thread/e98f2f75cc4461e4/10a16b586e879b11
 
 
 Martin
 
  

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: expired sessions and log in

2008-10-05 Thread David Pollak
On Sun, Oct 5, 2008 at 3:57 PM, Charles F. Munat [EMAIL PROTECTED] wrote:


 So if I understand you correctly, I would keep the session open
 indefinitely, but implement a time-out that forced the user to log in
 again after a certain period of inactivity?

 I see how that way I could maintain the update on the server while
 handling the log in -- is this the recommended method?

 When the session expires, are continuations lost? I guess I really need
 to dig into this code a bit more.


I think you're going to have to go back to traditional methods of setting
up your form with stable field names and using S.param to decode the
incoming POST. :-(




 Chas.

 David Pollak wrote:
  See net.liftweb.mapper.ProtoExtendedSession
 
  This does not address the issue of the opaque identifiers used to map
  from form fields to functions.
 
  On Sun, Oct 5, 2008 at 1:02 PM, Tim Perrett [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
 
  Indeed - me and Ty were just talking about this incidentally, and
  there is no easy way to implement this.
  Its a bit messy granted, but sure, the comet actor appears to be the
  only way to do it.
 
 
 
 
 
 
  --
  Lift, the simply functional web framework http://liftweb.net
  Collaborative Task Management http://much4.us
  Follow me: http://twitter.com/dpp
  Git some: http://github.com/dpp
 
  

 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: expired sessions and log in

2008-10-05 Thread Charles F. Munat

So if I understand you correctly, I would keep the session open 
indefinitely, but implement a time-out that forced the user to log in 
again after a certain period of inactivity?

I see how that way I could maintain the update on the server while 
handling the log in -- is this the recommended method?

When the session expires, are continuations lost? I guess I really need 
to dig into this code a bit more.

Chas.

David Pollak wrote:
 See net.liftweb.mapper.ProtoExtendedSession
 
 This does not address the issue of the opaque identifiers used to map 
 from form fields to functions.
 
 On Sun, Oct 5, 2008 at 1:02 PM, Tim Perrett [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 
 Indeed - me and Ty were just talking about this incidentally, and
 there is no easy way to implement this.
 Its a bit messy granted, but sure, the comet actor appears to be the
 only way to do it.
 
 
 
 
 
 
 -- 
 Lift, the simply functional web framework http://liftweb.net
 Collaborative Task Management http://much4.us
 Follow me: http://twitter.com/dpp
 Git some: http://github.com/dpp
 
  

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: expired sessions and log in

2008-10-05 Thread Charles F. Munat

Hmmm. That's an idea and I'm not averse to it. I'll think about it some 
more.

Thanks,
Chas.

David Pollak wrote:
 
 
 On Sun, Oct 5, 2008 at 3:57 PM, Charles F. Munat [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 
 So if I understand you correctly, I would keep the session open
 indefinitely, but implement a time-out that forced the user to log in
 again after a certain period of inactivity?
 
 I see how that way I could maintain the update on the server while
 handling the log in -- is this the recommended method?
 
 When the session expires, are continuations lost? I guess I really need
 to dig into this code a bit more.
 
 
 I think you're going to have to go back to traditional methods of 
 setting up your form with stable field names and using S.param to decode 
 the incoming POST. :-(
  
 
 
 
 Chas.
 
 David Pollak wrote:
   See net.liftweb.mapper.ProtoExtendedSession
  
   This does not address the issue of the opaque identifiers used to map
   from form fields to functions.
  
   On Sun, Oct 5, 2008 at 1:02 PM, Tim Perrett [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
  
  
   Indeed - me and Ty were just talking about this incidentally, and
   there is no easy way to implement this.
   Its a bit messy granted, but sure, the comet actor appears to
 be the
   only way to do it.
  
  
  
  
  
  
   --
   Lift, the simply functional web framework http://liftweb.net
   Collaborative Task Management http://much4.us
   Follow me: http://twitter.com/dpp
   Git some: http://github.com/dpp
  
   
 
 
 
 
 
 -- 
 Lift, the simply functional web framework http://liftweb.net
 Collaborative Task Management http://much4.us
 Follow me: http://twitter.com/dpp
 Git some: http://github.com/dpp
 
  

--~--~-~--~~~---~--~~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---