On Mar 3, 2012, at 11:46 AM, Amy Worrall wrote:

> Thanks Ramsey, that's very helpful.
> 
> So in this code:
> 
> 
> EditPageInterface ep =
> D2W.factory().editPageForEntityNamed(entityName, session());
> ep.setObject(eo);
> 
> 
> Then the D2W factory will have created the D2WContext and pushed
> entityName onto it, before handing it to the page?
> 
> And since setObject is called directly on the page, the D2WContext
> never has anything to do with the object?
> 
> 
> Thanks,
> 
> Amy

In that specific case, the ERD2WFactory pushes the pageConfiguration, and the 
ERD2WPage pushes the object.  You can see what's going on in the source of 
those two classes.

Ramsey


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

This email sent to arch...@mail-archive.com

Reply via email to