On Thu, Oct 2, 2008 at 5:55 PM, Oliver <[EMAIL PROTECTED]> wrote: > Thanks for the answers > > Another related question - Is there any functionality in lift to prevent > multiple submits (e.g. the browser is slow for whatever reason and the user > presses the submit button multiple times)? >
I'll add this kind of functionality. I think the functions that Lift keeps track of will fall into one of the follow categories: - Fire-once... once the function has been called, it's removed from Lift. The use case is just as you've described... and we need to make sure we've got UI support (e.g., disabling submit buttons). - GC'ed... These will stay around for a period of time and a certain number of page requests. - Long-lived... JSON related and Comet related. > > > cheers > Oliver > > On Fri, Oct 3, 2008 at 10:15 AM, David Pollak < > [EMAIL PROTECTED]> wrote: > >> >> >> On Thu, Oct 2, 2008 at 5:13 PM, Oliver <[EMAIL PROTECTED]> wrote: >> >>> I'm writing a wizard-like process, where when they have finished the set >>> of forms and press submit I don't want the back button to take them back. Is >>> there any way I can clear out the history? >>> >> >> This is JavaScript magic and I'm not sure how to disable it. >> >> >>> >>> >>> I guess a related question is, Lift is holding references to objects in >>> its history that I would like to be made available to garbage collection. >>> For instance, I have a table of html links - once one is selected, I can set >>> the holding collection to null, but lift is still holding a reference for >>> its history. >>> >> >> I have a number of GC methodologies that I'm working one. Basically, Lift >> will hold certain references for a period of time (right now that period is >> the session, but it will get shorter). >> >> Thanks, >> >> David >> >> >>> >>> >>> cheers >>> Oliver >>> >>> >>> >> >> >> -- >> 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 -~----------~----~----~----~------~----~------~--~---