I like this idea a lot. And it seems Derek does, too. This will also work well as practice for a multi-page survey form I have to build later this month.
Thanks. Chas. Viktor Klang wrote: > Chas, > > this like that takes quite some forethought before implementing. > (holding on to entity in either transient, detached or persistent state. > And then you have the problem that if you try to save the transient > entity, and it fails, it still gets allocated an identifier, and then > you have a transient entity with an identifier) > > The simplest way around this is to save the object but have different > "statuses" (DRAFT,LIVE) etc. > > There are surely other ways of doing it aswell, this is just from the > top of my head. > > > Cheers, > Viktor > > On Sat, Oct 18, 2008 at 1:08 AM, Charles F. Munat <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Derek, > > Have you figured out how to keep the object in the continuation instead > of just the id? > > Also, I'm working on a form. I'd like it to have four "states": > > 1. Initial form is blank > a. Click Save to save the data > b. Click Preview to preview the data > > 2. Preview shows what it will look like > a. Click Save to save the data > b. Click Edit to edit the data > > 3. Edit shows the form with the previously entered values > (Same as add form, but preloaded) > a. Click Save to save the data > b. Click Preview to preview the data > > 4. Response shows the saved data > > Any ideas on how to do this? Anyone else? > > Chas. > > > > > > -- > Viktor Klang > Senior Systems Analyst > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
