That just creates the edit page. I believe you still need to epi.setObject().
On May 29, 2012, at 3:30 PM, Paul Hoadley wrote: > Hi Ramsey, > > On 30/05/2012, at 1:10 AM, Ramsey Gurley wrote: > >> A create page should have an object. Depending on how you created the page, >> you may have forgotten to set the object though. > > I've just modified the MainNavigationController class that ships with the > ModernLook template. Eventually this gets called: > > EditPageInterface epi = > D2W.factory().editPageForNewObjectWithEntityNamed(entityName, session()); > > That should do it, shouldn't it? > > > -- > Paul Hoadley > http://logicsquad.net/ > > > > _______________________________________________ > 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/rgurley%40smarthealth.com > > This email sent to [email protected]
_______________________________________________ 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]
