• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT)


  • Subject: Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT)
  • From: Ramsey Gurley <email@hidden>
  • Date: Sat, 03 Mar 2012 17:25:05 -0700

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT) (From: Amy Worrall <email@hidden>)
 >Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT) (From: Ramsey Gurley <email@hidden>)
 >Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT) (From: Amy Worrall <email@hidden>)

  • Prev by Date: Re: 5.4 uploading large files
  • Next by Date: Re: 5.4 uploading large files
  • Previous by thread: Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT)
  • Next by thread: Funny WebObjects Adaptor
  • Index(es):
    • Date
    • Thread