It has been a couple of years since I've last tackled this request so I would like to see if such a feature has been added to M2 before I roll my own.
I have to implement a multiple-step wizard, setting properties in an ORM object across multiple requests until a confirm screen, and then a final orm save to the database. How I've accomplished this in the past was to roll a small session persistence system into my session facade: persistID = sessionFacade.persist(object) object = sessionFacade.getPersisted(persistID) Then I have a M2 plugin which watches the event scope, and if it finds an event-arg named "persistId" then it will automatically pull the object with that ID into the event scope with the object's original name. The persistID is just a hidden field passed between form posts. Not the most complex solution, and it works, but wondering what else people are doing to solve this requirement. I know the M2 has redirect level persistence, but I am not doing a redirect. Thanks for the input! -Brian -- To post to this group, send email to [email protected] For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
