"Saving" changes to an object's variable(s) but not save changes to database.
Tony Hoffman <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
I have what may be such a profoundly stupid question that it may need to be ignored by all. I've gone through my books and the list and Google searches and I still can't find anything that gets me even close to the answer (also usually a big tip off that my question/and or thinking is deeply misguided). My problem is basically this: I want users of my web application to be able to make form input changes into the variable value of each instance of an object generated from an EOFetchspecification. And then I want to be able to save these values in the session so that I can move it between components, refer to it, and then have it disappear at the end of the session without ever bothering the database again. If I were to use the saveChanges method on the editingcontext for this NSMutableArray of objects and its input variables, everything works fine, but I don't want to save changes to the database, I want to save changes to the (temporary) values in the variable in the objects held in the session. I have the WOTextFields just sitting there. All I want to do is link them up with some kind of action method that will record the user input into the object variables in the session WITHOUT saving those changes to the database. It seems so basic that I have to ask, what am I missing?