Am 15.01.2013 um 14:19 schrieb Theodore Petrosky <[email protected]>:

> I successfully have my popup version updating the bound object().

Is your object() an EO?

> However, how do I tell it as an EO so that it is faulted and updates itself 
> on saveChanges().

You don’t. It knows.

> Meaning, the object() contains my new value, but when I press 'Save' there is 
> no update done. So, WO doesn't know that I changed something.

Is the editing context that you saveChanges() on the same as your objects()’s?

> How do I tell the object that the attribute has changed so do an update on 
> save?

Again: You don’t. It knows.

> I mean, there are somethings I can do in the constructor, however some of the 
> instance variables are not available yet. takeValuesFromRequest isn't called 
> until later (i don't know exactly when).

How should it be called before the constructor?
Just do your stuff in takeValuesFromRequest() not in the constructor.

> Is there a place that lists these methods and when they are called and when I 
> can use (override) them?

http://developer.apple.com/legacy/mac/library/documentation/LegacyTechnologies/WebObjects/WebObjects_3.1/DevGuide/HowWOWorks/PhasesRRLoop.html
Click on "next section" to step through the process.


        atze


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to